Opened 10 years ago

Last modified 10 years ago

#23456 closed Uncategorized

requires_system_checks and requires_model_validation — at Initial Version

Reported by: Pablo Flores Owned by: nobody
Component: Uncategorized Version: 1.7
Severity: Normal Keywords:
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: no UI/UX: no

Description

I've uploaded from django 1.6 to django 1.7 and from python 3.2.3 to python 3.4.1.

Suddenly when I try to run the makemessages command to catch the translating messages I find this error:

django.core.exceptions.ImproperlyConfigured: Command Command defines both "requires_model_validation" and "requires_system_checks", which is illegal. Use only "requires_system_checks".

I've uploaded from django 1.6 to django 1.7 and from python 3.2.3 to python 3.4.1.

Suddenly when I try to run the makemessages command to catch the translating messages I find this error:

django.core.exceptions.ImproperlyConfigured: Command Command defines both "requires_model_validation" and "requires_system_checks", which is illegal. Use only "requires_system_checks".

I've googled it and I don't find where or what I should edit. In fact I've never used this parameter so...

Any idea?

The traceback

Traceback (most recent call last):

File "manage.py", line 10, in <module>

execute_from_command_line(sys.argv)

File "/home/pablo/Workspaces/milao/lib/python3.4/site-packages/django/core/management/init.py", line 385, in execute_from_command_line

utility.execute()

File "/home/pablo/Workspaces/milao/lib/python3.4/site-packages/django/core/management/init.py", line 377, in execute

self.fetch_command(subcommand).run_from_argv(self.argv)

File "/home/pablo/Workspaces/milao/lib/python3.4/site-packages/django/core/management/init.py", line 238, in fetch_command

klass = load_command_class(app_name, subcommand)

File "/home/pablo/Workspaces/milao/lib/python3.4/site-packages/django/core/management/init.py", line 42, in load_command_class

return module.Command()

File "/home/pablo/Workspaces/milao/lib/python3.4/site-packages/django/core/management/base.py", line 228, in init

'"requires_system_checks".' % self.class.name)
django.core.exceptions.ImproperlyConfigured: Command Command defines both "requires_model_validation" and "requires_system_checks", which is illegal. Use only "requires_system_checks".

Change History (0)

Note: See TracTickets for help on using tickets.
Back to Top