Hi Robert

django.conf.urls.defaults got deprecated in 1.5 - removed in 1.6 ...
it looks your urls.pys are broken now.
https://docs.djangoproject.com/en/dev/internals/deprecation/

django.conf.urls.defaults will be removed. The functions include() <https://docs.djangoproject.com/en/dev/ref/urls/#django.conf.urls.include>, patterns() <https://docs.djangoproject.com/en/dev/ref/urls/#django.conf.urls.patterns> and url() <https://docs.djangoproject.com/en/dev/ref/urls/#django.conf.urls.url> plus handler404 <https://docs.djangoproject.com/en/dev/ref/urls/#django.conf.urls.handler404>, handler500 <https://docs.djangoproject.com/en/dev/ref/urls/#django.conf.urls.handler500>, are now available through django.conf.urls <https://docs.djangoproject.com/en/dev/ref/urls/#module-django.conf.urls> .

Thats all

Happy updating
Frank




Am 14.11.2013 18:57, schrieb Robert Jonathan S(imon:
When i upgraded Django from 1.5.1 to 1.6, sudenly Apache gives me this bunch of errors. So i tried manage.py runserver adn it worked fine. When i delete 1.6 and instal 1.5.5 it is all fine and all is working.

[Thu Nov 14 17:34:23.601025 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] mod_wsgi (pid=9756): Exception occurred processing WSGI script 'C:/Program Files/Apache Software Foundation/Apache2.4/htdocs/mysite/mysite/wsgi.py'., referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.601025 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] Traceback (most recent call last):\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.601025 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\lib\\site-packages\\django\\core\\urlresolvers.py", line 339, in urlconf_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] return self._urlconf_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] AttributeError: 'RegexURLResolver' object has no attribute '_urlconf_module'\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] \r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] During handling of the above exception, another exception occurred:\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] \r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] Traceback (most recent call last):\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602002 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\lib\\site-packages\\django\\core\\handlers\\wsgi.py", line 187, in __call__\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602979 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] self.load_middleware()\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.602979 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\lib\\site-packages\\django\\core\\handlers\\base.py", line 49, in load_middleware\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] mw_instance = mw_class()\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\lib\\site-packages\\django\\middleware\\locale.py", line 24, in __init__\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] for url_pattern in get_resolver(None).url_patterns:\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\lib\\site-packages\\django\\core\\urlresolvers.py", line 346, in url_patterns\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\lib\\site-packages\\django\\core\\urlresolvers.py", line 341, in urlconf_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] self._urlconf_module = import_module(self.urlconf_name)\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.603955 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Python33\\Lib\\importlib\\__init__.py", line 90, in import_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] return _bootstrap._gcd_import(name[level:], package, level)\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 1586, in _gcd_import\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 1567, in _find_and_load\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 1534, in _find_and_load_unlocked\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 586, in _check_name_wrapper\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 1024, in load_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 1005, in load_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 562, in module_for_loader_wrapper\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 870, in _load_module\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "<frozen importlib._bootstrap>", line 313, in _call_with_frames_removed\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] File "C:\\Program Files\\Apache Software Foundation\\Apache2.4\\htdocs\\mysite\\mysite\\urls.py", line 1, in <module>\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.604932 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] from django.conf.urls.defaults import *\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/ [Thu Nov 14 17:34:23.605908 2013] [:error] [pid 9756:tid 1044] [client 90.178.52.216:27044] ImportError: No module named 'django.conf.urls.defaults'\r, referer: http://176.107.123.114:9000/hlavni_stranka/prihlasen/
A really dont know, where is the problem. Can anyone help me?
--
You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/500f43b0-fa24-44c3-a68f-838a0865249b%40googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.

--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5285144D.8000107%40produktlaunch.de.
For more options, visit https://groups.google.com/groups/opt_out.

Reply via email to