Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

getting asked to run 'manage.py makemigrations' when trying to run migrate #101

Open
rabueker opened this issue Jun 28, 2019 · 0 comments
Open

Comments

@rabueker
Copy link

rabueker commented Jun 28, 2019

b"WARNING!!! You are using a 'locmem' (local memory) caching backend,\nwhich is OK for a low volume site running on a single-process server.\nFor a multi-process configuration it is neccessary to have a production\ncache system, such as redis or memcached.\n\nWith local memory caching and multi-process setup you might intermittently\nsee outdated content on your site.\n"
System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^robots.txt$' uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
django_authopenid.UserPasswordQueue.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
group_messaging.SenderList.recipient: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Operations to perform:
  Apply all migrations: admin, askbot, auth, avatar, contenttypes, django_authopenid, followit, group_messaging, livesettings, robots, sessions, sites
Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.


(py3.6) ralf@os-dev:~/proj/askbot-devel/testproject> DJANGO_SETTINGS_MODULE=testproject.settings  python manage.py makemigrations
b"WARNING!!! You are using a 'locmem' (local memory) caching backend,\nwhich is OK for a low volume site running on a single-process server.\nFor a multi-process configuration it is neccessary to have a production\ncache system, such as redis or memcached.\n\nWith local memory caching and multi-process setup you might intermittently\nsee outdated content on your site.\n"
System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^robots.txt$' uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
django_authopenid.UserPasswordQueue.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
group_messaging.SenderList.recipient: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Migrations for 'askbot':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/migrations/0015_auto_20190628_0744.py
    - Change Meta options on post
    - Alter field activity_type on activity
    - Alter field summary on activity
    - Alter field status on activityauditstatus
    - Alter field include_text_field on askwidget
    - Alter field feed_type on emailfeedsetting
    - Alter field frequency on emailfeedsetting
    - Alter field is_vip on group
    - Alter field moderate_answers_to_enquirers on group
    - Alter field openness on group
    - Alter field preapproved_email_domains on group
    - Alter field preapproved_emails on group
    - Alter field level on groupmembership
    - Alter field extra_info on importedobjectinfo
    - Alter field model on importedobjectinfo
    - Alter field new_id on importedobjectinfo
    - Alter field old_id on importedobjectinfo
    - Alter field command on importrun
    - Alter field is_claimed on localizeduserprofile
    - Alter field reason on markedtag
    - Alter field ip_addr on postrevision
    - Alter field tagnames on postrevision
    - Alter field title on postrevision
    - Alter field order_by on questionwidgetDJANGO_SETTINGS_MODULE=testproject.settings  python manage.py migrate
b"WARNING!!! You are using a 'locmem' (local memory) caching backend,\nwhich is OK for a low volume site running on a single-process server.\nFor a multi-process configuration it is neccessary to have a production\ncache system, such as redis or memcached.\n\nWith local memory caching and multi-process setup you might intermittently\nsee outdated content on your site.\n"
System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^robots.txt$' uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
django_authopenid.UserPasswordQueue.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
group_messaging.SenderList.recipient: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Operations to perform:
  Apply all migrations: admin, askbot, auth, avatar, contenttypes, django_authopenid, followit, group_messaging, livesettings, robots, sessions, sites
Running migrations:
  No migrations to apply.
  Your models have changes that are not yet reflected in a migration, and so won't be applied.
  Run 'manage.py makemigrations' to make new migrations, and then re-run 'manage.py migrate' to apply them.



(py3.6) ralf@os-dev:~/proj/askbot-devel/testproject> DJANGO_SETTINGS_MODULE=testproject.settings  python manage.py makemigrations
b"WARNING!!! You are using a 'locmem' (local memory) caching backend,\nwhich is OK for a low volume site running on a single-process server.\nFor a multi-process configuration it is neccessary to have a production\ncache system, such as redis or memcached.\n\nWith local memory caching and multi-process setup you might intermittently\nsee outdated content on your site.\n"
System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^robots.txt$' uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
django_authopenid.UserPasswordQueue.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
group_messaging.SenderList.recipient: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Migrations for 'askbot':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/migrations/0015_auto_20190628_0744.py
    - Change Meta options on post
    - Alter field activity_type on activity
    - Alter field summary on activity
    - Alter field status on activityauditstatus
    - Alter field include_text_field on askwidget
    - Alter field feed_type on emailfeedsetting
    - Alter field frequency on emailfeedsetting
    - Alter field is_vip on group
    - Alter field moderate_answers_to_enquirers on group
    - Alter field openness on group
    - Alter field preapproved_email_domains on group
    - Alter field preapproved_emails on group
    - Alter field level on groupmembership
    - Alter field extra_info on importedobjectinfo
    - Alter field model on importedobjectinfo
    - Alter field new_id on importedobjectinfo
    - Alter field old_id on importedobjectinfo
    - Alter field command on importrun
    - Alter field is_claimed on localizeduserprofile
    - Alter field search_query on questionwidget
    - Alter field style on questionwidget
    - Alter field reply_action on replyaddress
    - Alter field reputation_type on repute
    - Alter field role on role
    - Alter field suggested_by on tag
    - Alter field visibility on threadtogroup
    - Alter field avatar_type on userprofile
    - Alter field languages on userprofile
    - Alter field primary_language on userprofile
    - Alter field status on userprofile
    - Alter field twitter_access_token on userprofile
    - Alter field twitter_handle on userprofile
Migrations for 'django_authopenid':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/deps/django_authopenid/migrations/0002_auto_20190628_0744.py
    - Alter field provider_name on userassociation
Migrations for 'group_messaging':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/deps/group_messaging/migrations/0002_auto_20190628_0744.py
    - Alter field html on message
    - Alter field message_type on message
    - Alter field senders_info on messageg unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Migrations for 'askbot':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/migrations/0015_auto_20190628_0744.py
    - Change Meta options on post
    - Alter field activity_type on activity
    - Alter field summary on activity
    - Alter field status on activityauditstatus
    - Alter field include_text_field on askwidget
    - Alter field feed_type on emailfeedsettingg unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Migrations for 'askbot':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/migrations/0015_auto_20190628_0744.py
    - Change Meta options on post
    - Alter field activity_type on activity
    - Alter field summary on activity
    - Alter field status on activityauditstatus
    - Alter field include_text_field on askwidget
    - Alter field feed_type on emailfeedsetting
    - Alter field frequency on emailfeedsetting
    - Alter field is_vip on group
    - Alter field moderate_answers_to_enquirers on group
    - Alter field openness on group
    - Alter field preapproved_email_domains on group
    - Alter field preapproved_emails on group
    - Alter field level on groupmembership
    - Alter field extra_info on importedobjectinfo
    - Alter field model on importedobjectinfo
    - Alter field new_id on importedobjectinfo
    - Alter field old_id on importedobjectinfo
    - Alter field command on importrun
    - Alter field is_claimed on localizeduserprofile
    - Alter field search_query on questionwidget
    - Alter field style on questionwidget
    - Alter field reply_action on replyaddress
    - Alter field reputation_type on repute
    - Alter field role on role
    - Alter field suggested_by on tag
    - Alter field visibility on threadtogroup
    - Alter field avatar_type on userprofile
    - Alter field languages on userprofile
    - Alter field primary_language on userprofile
    - Alter field status on userprofile
    - Alter field twitter_access_token on userprofile
    - Alter field twitter_handle on userprofile
Migrations for 'django_authopenid':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/deps/django_authopenid/migrations/0002_auto_20190628_0744.py
    - Alter field provider_name on userassociation
Migrations for 'group_messaging':
    - Alter field frequency on emailfeedsetting
    - Alter field is_vip on group
    - Alter field moderate_answers_to_enquirers on group
    - Alter field openness on group
    - Alter field preapproved_email_domains on group
    - Alter field preapproved_emails on group
    - Alter field level on groupmembership
    - Alter field extra_info on importedobjectinfo
    - Alter field model on importedobjectinfo
    - Alter field new_id on importedobjectinfo
    - Alter field old_id on importedobjectinfo
    - Alter field command on importrun
    - Alter field is_claimed on localizeduserprofile
    - Alter field search_query on questionwidget
    - Alter field style on questionwidget
    - Alter field reply_action on replyaddress
    - Alter field reputation_type on repute
    - Alter field role on role
    - Alter field suggested_by on tag
    - Alter field visibility on threadtogroup
    - Alter field avatar_type on userprofile
    - Alter field languages on userprofile
    - Alter field primary_language on userprofile
    - Alter field status on userprofile
    - Alter field twitter_access_token on userprofile
    - Alter field twitter_handle on userprofile
Migrations for 'django_authopenid':
  /home/ralf/proj/askbot-devel/.tox/py3.6/lib/python3.6/site-packages/askbot/deps/django_authopenid/migrations/0002_auto_20190628_0744.py
    - Alter field provider_name on userassociation
Migrations for 'group_messaging':
    - Alter field text on message
    - Alter field status on messagememo


(py3.6) ralf@os-dev:~/proj/askbot-devel/testproject> DJANGO_SETTINGS_MODULE=testproject.settings  python manage.py migrate       
b"WARNING!!! You are using a 'locmem' (local memory) caching backend,\nwhich is OK for a low volume site running on a single-process server.\nFor a multi-process configuration it is neccessary to have a production\ncache system, such as redis or memcached.\n\nWith local memory caching and multi-process setup you might intermittently\nsee outdated content on your site.\n"
System check identified some issues:

WARNINGS:
?: (urls.W001) Your URL pattern '^robots.txt$' uses include with a route ending with a '$'. Remove the dollar from the route to avoid problems including URLs.
django_authopenid.UserPasswordQueue.user: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
group_messaging.SenderList.recipient: (fields.W342) Setting unique=True on a ForeignKey has the same effect as using a OneToOneField.
        HINT: ForeignKey(unique=True) is usually better served by a OneToOneField.
Operations to perform:
  Apply all migrations: admin, askbot, auth, avatar, contenttypes, django_authopenid, followit, group_messaging, livesettings, robots, sessions, sites
Running migrations:
  Applying askbot.0015_auto_20190628_0744... OK
  Applying django_authopenid.0002_auto_20190628_0744... OK
  Applying group_messaging.0002_auto_20190628_0744... OK

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant