I am relatively new to Mezzanine/Django, and I'm merely trying to upgrade
an existing application to Django 1.10.0 and Mezzanine 4.2.2. I try to run
the Django server with the usual command and receive this error.
.....
_d^^^^^^^^^b_
.d'' ``b.
.p' `q.
.d' `b.
.d' `b. * Mezzanine 4.2.2
:: :: * Django 1.10
:: M E Z Z A N I N E :: * Python 2.7.11
:: :: * SQLite 3.6.21
`p. .q' * Windows 7
`p. .q'
`b. .d'
`q.. ..p'
^q........p^
''''
Performing system checks...
Unhandled exception in thread started by <function wrapper at 0x03262130>
Traceback (most recent call last):
File "C:\Users\...\lib\site-packages\django\utils\
autoreload.py", line 226, in wrapper
fn(*args, **kwargs)
File "C:\Users\...\lib\site-packages\mezzanine\cor
e\management\commands\runserver.py", line 163, in inner_run
super(Command, self).inner_run(*args, **kwargs)
File "C:\Users\...\lib\site-packages\django\core\m
anagement\commands\runserver.py", line 121, in inner_run
self.check(display_num_errors=True)
File "C:\Users\...\lib\site-packages\django\core\m
anagement\base.py", line 431, in check
raise SystemCheckError(msg)
django.core.management.base.SystemCheckError: SystemCheckError: System
check ide
ntified some issues:
ERRORS:
?: (urls.E004) Your URL pattern (u'^', (<module 'mezzanine.urls' from
'C:\Users\
khirst\InovaSupportSiteIsolated\lib\site-packages\mezzanine\urls.pyc'>,
None, No
ne)) is invalid. Ensure that urlpatterns is a list of url() instances.
HINT: Try using url() instead of a tuple.
I looked at the whole urls.py file in Mezzanine. We had to update many url
patterns to not use the patterns() call, but I don't see any such calls in
Mezzanine because I am sure it was updated as well to simply use
"urlpatterns += [url()]". No luck on StackOverflow. Has anyone run into
this and know why this is occurring? Many thanks,
-K
--
You received this message because you are subscribed to the Google Groups
"Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.