Traceback:
File "/usr/local/lib/python2.6/dist-packages/django/core/handlers/base.py"
in get_response
  101.                             request.path_info)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
resolve
  252.                     sub_match = pattern.resolve(new_path)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
resolve
  250.             for pattern in self.url_patterns:
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
_get_url_patterns
  279.         patterns = getattr(self.urlconf_module, "urlpatterns",
self.urlconf_module)
File "/usr/local/lib/python2.6/dist-packages/django/core/urlresolvers.py" in
_get_urlconf_module
  274.             self._urlconf_module = import_module(self.urlconf_name)
File "/usr/local/lib/python2.6/dist-packages/django/utils/importlib.py" in
import_module
  35.     __import__(name)
File "/usr/local/lib/python2.6/dist-packages/registration/urls.py" in
<module>
  60.
 url(r'^profile/$',UserProfile,name='UserProfile'),

Exception Type: NameError at /accounts/profile/
Exception Value: name 'UserProfile' is not defined

On Wed, Jun 22, 2011 at 8:52 PM, Shawn Milochik <sh...@milochik.com> wrote:

> On 06/22/2011 11:21 AM, Satyajit Sarangi wrote:
>
>> These are my steps .
>> 1. Not using django-profile
>> 2. Create my own view to show the profile by using user.get_profile()
>> 3. Created my own view and also a model in django-registration to view the
>> profile .
>> 4 . Did changes to urls.py  url(r'^profile/$',register.**
>> UserProfile,name='user.get_**profile()'),
>>
>> But this is giving me an error here .
>>
>>
> What's the error? Please provide the full stack trace.
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@**
> googlegroups.com <django-users%2bunsubscr...@googlegroups.com>.
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
> .
>
>


-- 
*Satyajit Sarangi*

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@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.

Reply via email to