On Monday, February 4, 2013 1:48:37 PM UTC-5, frocco wrote:
--I am getting NoReverseMatch at /my_account/
what is wrong with my urls?ThanksReverse for 'order_info' with arguments '()' and keyword arguments '{}' not found.main urls.py(r'^my_account/$', include('accounts.urls')),accounts/urls.pyurlpatterns = patterns('accounts.views', (r'^$', 'my_account', {'template_name': 'registration/my_account.html'}, 'my_account'), (r'^order_info/$', 'order_info', {'template_name': 'registration/order_info.html' }, 'order_info'), (r'^register/$', 'register', {'template_name': 'registration/register.html', 'SSL': settings.ENABLE_SSL }, 'register'), (r'^order_info/$', 'order_info', {'template_name': 'registration/order_info.html' }, 'order_info'), (r'^order_details/(?P<order_ id>[-\w]+)/$', 'order_details', {'template_name': 'registration/order_details. html'}, 'order_details'), )
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 django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users?hl=en.
For more options, visit https://groups.google.com/groups/opt_out.
No comments:
Post a Comment