using django on ubuntu 16.04
python 3.5.2
django.VERSION =
(2, 0, 0, 'final', 0)
Working from the Django Core book by Nigel George.
When launching
(djenv) tim@linus:~/prj/cgi/djenv/djtest$ ./manage.py runserver
Performing system checks...
System check identified no issues (0 silenced).
# the following is a matter of concern:
You have 1 unapplied migration(s). Your project may not work
properly until you apply the migrations for app(s): admin.
Run 'python manage.py migrate' to apply them.
November 19, 2018 - 23:05:05
Django version 2.1.3, using settings 'djtest.settings'
Starting development server at
http://127.0.0.1:8000/
# Listing migrations shows:
(djenv) tim@linus:~/prj/cgi/djenv/djtest$ python manage.py showmigrations --list
admin
[X] 0001_initial
[X] 0002_logentry_remove_auto_add
[ ] 0003_logentry_add_action_flag_choices
auth
[X] 0001_initial
[X] 0002_alter_permission_name_max_length
[X] 0003_alter_user_email_max_length
[X] 0004_alter_user_username_opts
[X] 0005_alter_user_last_login_null
[X] 0006_require_contenttypes_0002
[X] 0007_alter_validators_add_error_messages
[X] 0008_alter_user_username_max_length
[X] 0009_alter_user_last_name_max_length
contenttypes
[X] 0001_initial
[X] 0002_remove_content_type_name
sessions
[X] 0001_initial
# It appears that 0003_logentry_add_action_flag_choices
# is not applied
Questions:
1) How do I apply this feature?
2) Where is further relevant discussions or documentation on this
issue? (I've so far not found anything to clarify)
3) How do the migrations above correspond to DB tables (I'm using
the default sqlite3 configuration)?
Thanks
--
Tim Johnson
http://www.tj49.com