Re: Error was: cannot import name validators

2010-05-18 Thread Ian Lewis
validators is a module that was added in Django 1.2.

You probably have the wrong version of Django installed or are using
Django 1.1 with a django application that requires Django 1.2.

On Tue, May 18, 2010 at 6:01 PM, Pankaj Singh
 wrote:
> pan...@pankaj-laptop:~/django_projects/pankaj$ python
> Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
> [GCC 4.4.3] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
 from django.core import validators
> Traceback (most recent call last):
>   File "", line 1, in 
> ImportError: cannot import name validators

>
> Validators is really missing .. don't know how to install .. help needed
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
===
株式会社ビープラウド  イアン・ルイス
〒150-0021
東京都渋谷区恵比寿西2-3-2 NSビル6階
email: ianmle...@beproud.jp
TEL:03-6416-9836
FAX:03-6416-9837
http://www.beproud.jp/
===

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Re: Error was: cannot import name validators

2010-05-18 Thread Pankaj Singh
pan...@pankaj-laptop:~/django_projects/pankaj$ python
Python 2.6.5 (r265:79063, Apr 16 2010, 13:09:56)
[GCC 4.4.3] on linux2
Type "help", "copyright", "credits" or "license" for more information.
>>> from django.core import validators

Traceback (most recent call last):
  File "", line 1, in 
ImportError: cannot import name validators
>>>

*Validators is really missing .. don't know how to install .. help needed*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.



Error was: cannot import name validators

2010-05-17 Thread Pankaj Singh
I am getting this error .. did a lot of googe search but not able to find a
solution .. help please

ViewDoesNotExist at /register/

Could not import user_registration.views. Error was: cannot import
name validators

 Request Method: GET  Request URL: http://127.0.0.1:/register/  Exception
Type: ViewDoesNotExist  Exception Value:

Could not import user_registration.views. Error was: cannot import
name validators

 Exception Location: /usr/lib/pymodules/python2.6/django/core/urlresolvers.py
in _get_callback, line 134  Python Executable: /usr/bin/python

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.