Hi, I am trying to decouple my views.py with respect to my url.py but I have a problem.
-I do have a principal url.py which contains and include to a second url.py: urlpatterns = patterns('', (r'^users/', include('myapp.users.urls')) ..... -Thus the second url.py contains: url(regex='^edit/(?P<username>\w+)/$', prefix='myapp.users', view='views.edit_user_profile', name='users_edit'), -In my views.py (in signup function) I try to call: url = reverse('users_edit', kwargs={'username':user.username}) return HttpResponseRedirect(url) -But instead of being correctly redirected I have got the following error: ViewDoesNotExist at /users/signup/ Tried select in module myapp.users.views. Error was: 'module' object has no attribute 'select' Any hint? :-( Thanks.... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---