This document provides guidelines for maintaining high-quality Rust code. These rules MUST be followed by all AI coding agents and contributors.
All code you write MUST be fully optimized.
"Fully optimized" includes:
| # The simplest solution I found is to set up an event for each table that executes a method after the table is created. | |
| # Database initial data | |
| INITIAL_DATA = { | |
| 'users': [ | |
| { | |
| 'username': 'superuser', | |
| 'email': 'superuser@example.com', | |
| 'hashed_password': hash_password('123') |