try-django-admin-cookbook

A Django project which deals with customizing Django Admin Interface. It is impressed from https://books.agiliq.com/projects/django-admin-cookbook/en/latest/ and uses similar/different kind of examples.

View on GitHub

makemigrations & migrate (users & posts with 2 models each)

Back to home

(venv3.6.7) ➜  src git:(master) ✗ python manage.py makemigrations
Migrations for 'users':
  users/migrations/0001_initial.py
    - Create model Address
    - Create model User
Migrations for 'posts':
  posts/migrations/0001_initial.py
    - Create model Category
    - Create model Post
(venv3.6.7) ➜  src git:(master) ✗ python manage.py migrate       
Operations to perform:
  Apply all migrations: admin, auth, contenttypes, posts, sessions, users
Running migrations:
  Applying users.0001_initial... OK
  Applying posts.0001_initial... OK
(venv3.6.7) ➜  src git:(master)