Open robertonunezc opened 8 years ago
can you post the full traceback please
it's fine on the master branch but when i install django_facebook using pip that errors displayed "api.py"
Here all traceback... I have python 3.4, opensuse Leap, python3.4.1
Unhandled exception in thread started by <function check_errors.
I am using Django 1.9.7 and python 2.7.6 on Ubuntu 14.04
Traceback (most recent call last):
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/utils/autoreload.py", line 226, in wrapper
fn(_args, *_kwargs)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 116, in inner_run
self.check(display_num_errors=True)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/management/base.py", line 426, in check
include_deployment_checks=include_deployment_checks,
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/checks/registry.py", line 75, in run_checks
new_errors = check(app_configs=app_configs)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 13, in check_url_config
return check_resolver(resolver)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/checks/urls.py", line 23, in check_resolver
for pattern in resolver.url_patterns:
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 417, in url_patterns
patterns = getattr(self.urlconf_module, "urlpatterns", self.urlconf_module)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/utils/functional.py", line 33, in get
res = instance.dict[self.name] = self.func(instance)
File "/home/dishu/dev/talkovercoffee/local/lib/python2.7/site-packages/django/core/urlresolvers.py", line 410, in urlconf_module
return import_module(self.urlconf_name)
File "/usr/lib/python2.7/importlib/init.py", line 37, in import_module
import(name)
File "/home/dishu/dev/talkovercoffee/talkcoffee/talkcoffee/urls.py", line 31, in
The class django.forms.util was renamed django.forms.utils (note the added s) in Django 1.9.
I changed from django.forms.util import ValidationError
to from django.forms.utils import ValidationError
. After this change it works.
Is a fix going to be available anytime soon?
Thanks
What a pain, a wasted hour
I followed the docs step by step and when I try to update my models , have this error.
ImportError: No module named 'django.forms.util' And the class definition y django.forms.utils with a S at the end.
I am django 1.9.6