Changes between Initial Version and Version 1 of Ticket #29026, comment 1


Ignore:
Timestamp:
Jan 18, 2018, 1:31:44 AM (7 years ago)
Author:
astandley

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #29026, comment 1

    initial v1  
    22
    33{{{
     4# Define People and Poll models
    45>> python -m manage makemigrations
    56Migrations for 'newspaper':
    67  newspaper\migrations\0001_initial.py
    78    - Create model People
     9Migrations for 'polls':
     10  polls\migrations\0001_initial.py
     11    - Create model Poll
     12
     13# Add new_field to People Model
    814>> python -m manage makemigrations
    915Migrations for 'newspaper':
    10   newspaper\migrations\0001_initial.py
    11     - Create model People
     16  newspaper\migrations\0002_people_new_field.py
     17    - Add field new_field to people
    1218}}}
    1319
Back to Top