mirror of
https://github.com/encode/django-rest-framework.git
synced 2025-08-04 12:30:11 +03:00
Merge 1de1185a1f
into 08ec276850
This commit is contained in:
commit
b1b0e8be7d
|
@ -48,6 +48,8 @@ Normally we'd create a database migration in order to do that, but for the purpo
|
|||
python manage.py makemigrations snippets
|
||||
python manage.py migrate
|
||||
|
||||
Note: If you're using PostgreSQL, you should drop your database with the `DROP DATABASE your_db_name` SQL command instead of deleting the db.sqlite3 file.
|
||||
|
||||
You might also want to create a few different users, to use for testing the API. The quickest way to do this will be with the `createsuperuser` command.
|
||||
|
||||
python manage.py createsuperuser
|
||||
|
|
Loading…
Reference in New Issue
Block a user