Re: NoReverseMatch at /my_account/

2013-03-28 Thread Rija RABETOKOTANY RAOBIVELO
Hello,
Thank you for your response.
I found the issue. The include statement inside the root project URLS.py
was not reaching the specified app urls.py  it should reference.
I then find a workaround, I put an import statement inside the root project
URLS.py instead of calling the include directly

Regards!

2013/3/26 Bill Freeman <ke1g...@gmail.com>

> You haven't shown us the call to reverse of use of the url template tag
> that evokes this issue.  A stack trace might be helpful too, in jogging
> someone's memory.
>
> But I seem to recall problems when I named my url patter the same as the
> name of my view function.  It's not that it can't work that way, just that
> it was surprising, and required specifying things strangely in the reverse
> or url call.  But I could be remembering a nightmare instead of reality.
>
> There's always good old pdb.
>
> Bill
>
> On Tue, Mar 26, 2013 at 6:37 AM, rainikotobary 
> <rija.rabe.ra...@gmail.com>wrote:
>
>> Hello,
>>
>> I dont have the $ sign like you but I'm still getting this error.
>> Please, is there any workaround, what are the issues ? I really about to
>> give up
>>
>> Le lundi 4 février 2013 21:48:37 UTC+3, frocco a écrit :
>>>
>>> I am getting NoReverseMatch at /my_account/
>>> what is wrong with my urls?
>>> Thanks
>>>
>>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
>>> found.
>>>
>>> main urls.py
>>>
>>> (r'^my_account/$', include('accounts.urls')),
>>>
>>>
>>> accounts/urls.py
>>>
>>> urlpatterns = 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+unsubscr...@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.
>>
>>
>>
>
>  --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/kYPM88rv0rs/unsubscribe?hl=en
> .
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@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.
>
>
>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-03-26 Thread Bill Freeman
You haven't shown us the call to reverse of use of the url template tag
that evokes this issue.  A stack trace might be helpful too, in jogging
someone's memory.

But I seem to recall problems when I named my url patter the same as the
name of my view function.  It's not that it can't work that way, just that
it was surprising, and required specifying things strangely in the reverse
or url call.  But I could be remembering a nightmare instead of reality.

There's always good old pdb.

Bill

On Tue, Mar 26, 2013 at 6:37 AM, rainikotobary <rija.rabe.ra...@gmail.com>wrote:

> Hello,
>
> I dont have the $ sign like you but I'm still getting this error.
> Please, is there any workaround, what are the issues ? I really about to
> give up
>
> Le lundi 4 février 2013 21:48:37 UTC+3, frocco a écrit :
>>
>> I am getting NoReverseMatch at /my_account/
>> what is wrong with my urls?
>> Thanks
>>
>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
>> found.
>>
>> main urls.py
>>
>> (r'^my_account/$', include('accounts.urls')),
>>
>>
>> accounts/urls.py
>>
>> urlpatterns = 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+unsubscr...@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.
>
>
>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-03-26 Thread rainikotobary
Hello,

I dont have the $ sign like you but I'm still getting this error.
Please, is there any workaround, what are the issues ? I really about to 
give up

Le lundi 4 février 2013 21:48:37 UTC+3, frocco a écrit :
>
> I am getting NoReverseMatch at /my_account/
> what is wrong with my urls?
> Thanks
>
> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
> found.
>
> main urls.py
>
> (r'^my_account/$', include('accounts.urls')),
>
>
> accounts/urls.py
>
> urlpatterns = 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[-\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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-05 Thread frocco
I have not had to do a production install yet, I am still rewriting my PHP 
site in django.

On Tuesday, February 5, 2013 2:22:53 PM UTC-5, Mulianto wrote:
>
> Oh great.. I have this problem too and cant figure it out.
>
> Now i know the problem.
>
> I hit this twice already...
>
> I am from php too...but build with django is wonderfull and got speed in 
> production :)
> On Feb 5, 2013 11:04 PM, "frocco" <far...@gmail.com > wrote:
>
>> Coming from PHP, I love django.
>>
>> On Tuesday, February 5, 2013 3:25:28 AM UTC-5, Serkan Sökmen wrote:
>>>
>>> Yeah, i did the same once -)
>>>
>>> On Tue, Feb 5, 2013 at 1:07 AM, frocco <far...@gmail.com> wrote:
>>>
>>>> Thank you, I can't tell you how long I struggled with this.
>>>>
>>>> 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?
>>>>> Thanks
>>>>>
>>>>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' 
>>>>> not found.
>>>>>
>>>>> main urls.py
>>>>>
>>>>> (r'^my_account/$', include('accounts.urls')),
>>>>>
>>>>>
>>>>>
>>>>> accounts/urls.py
>>>>>
>>>>> urlpatterns = 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.**ht**ml'}, 
>>>>> '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...@**googlegroups.com.
>>>> To post to this group, send email to django...@googlegroups.com.
>>>> Visit this group at 
>>>> http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>>>> .
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>
>>>
>>>
>>>
>>> -- 
>>> *E. Serkan Sökmen*
>>> Django / Front-end Developer @Teknolab <http://teknolab.org/>
>>> Personal works: serkansokmen.com <http://www.serkansokmen.com>
>>>
>>>  -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@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.
>>  
>>  
>>
>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-05 Thread Phang Mulianto
Oh great.. I have this problem too and cant figure it out.

Now i know the problem.

I hit this twice already...

I am from php too...but build with django is wonderfull and got speed in
production :)
On Feb 5, 2013 11:04 PM, "frocco" <faro...@gmail.com> wrote:

> Coming from PHP, I love django.
>
> On Tuesday, February 5, 2013 3:25:28 AM UTC-5, Serkan Sökmen wrote:
>>
>> Yeah, i did the same once -)
>>
>> On Tue, Feb 5, 2013 at 1:07 AM, frocco <far...@gmail.com> wrote:
>>
>>> Thank you, I can't tell you how long I struggled with this.
>>>
>>> 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?
>>>> Thanks
>>>>
>>>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' 
>>>> not found.
>>>>
>>>> main urls.py
>>>>
>>>> (r'^my_account/$', include('accounts.urls')),
>>>>
>>>>
>>>> accounts/urls.py
>>>>
>>>> urlpatterns = 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.**ht**ml'}, 
>>>> '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...@**googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at 
>>> http://groups.google.com/**group/django-users?hl=en<http://groups.google.com/group/django-users?hl=en>
>>> .
>>> For more options, visit 
>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>> .
>>>
>>>
>>>
>>
>>
>>
>> --
>> *E. Serkan Sökmen*
>> Django / Front-end Developer @Teknolab <http://teknolab.org/>
>> Personal works: serkansokmen.com <http://www.serkansokmen.com>
>>
>>  --
> 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+unsubscr...@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.
>
>
>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-05 Thread frocco
Coming from PHP, I love django.

On Tuesday, February 5, 2013 3:25:28 AM UTC-5, Serkan Sökmen wrote:
>
> Yeah, i did the same once -)
>
> On Tue, Feb 5, 2013 at 1:07 AM, frocco <far...@gmail.com >wrote:
>
>> Thank you, I can't tell you how long I struggled with this.
>>
>> 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?
>>> Thanks
>>>
>>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
>>> found.
>>>
>>> main urls.py
>>>
>>> (r'^my_account/$', include('accounts.urls')),
>>>
>>>
>>> accounts/urls.py
>>>
>>> urlpatterns = 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...@googlegroups.com .
>> To post to this group, send email to django...@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.
>>  
>>  
>>
>
>
>
> -- 
> *E. Serkan Sökmen*
> Django / Front-end Developer @Teknolab <http://teknolab.org/>
> Personal works: serkansokmen.com <http://www.serkansokmen.com>
>
>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-05 Thread serkan sokmen
Yeah, i did the same once -)

On Tue, Feb 5, 2013 at 1:07 AM, frocco <faro...@gmail.com> wrote:

> Thank you, I can't tell you how long I struggled with this.
>
> 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?
>> Thanks
>>
>>
>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
>> found.
>>
>>
>> main urls.py
>>
>> (r'^my_account/$', include('accounts.urls')),
>>
>>
>> accounts/urls.py
>>
>> urlpatterns = 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+unsubscr...@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.
>
>
>



-- 
*E. Serkan Sökmen*
Django / Front-end Developer @Teknolab <http://teknolab.org/>
Personal works: serkansokmen.com <http://www.serkansokmen.com>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-04 Thread frocco
Thank you, I can't tell you how long I struggled with this.

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?
> Thanks
>
> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
> found.
>
> main urls.py
>
> (r'^my_account/$', include('accounts.urls')),
>
>
> accounts/urls.py
>
> urlpatterns = 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[-\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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-04 Thread serkan sokmen
(r'^my_account/$', include('accounts.urls')),

here you should remove the $ sign because it closes the expression there;
if you want my_account/blahblah like urls, you shouldn't use the dollar
sign like:

(r'^my_account/', include('accounts.urls')),


On Mon, Feb 4, 2013 at 8:49 PM, frocco <faro...@gmail.com> wrote:

> My template has Edit Billing/Shipping
> Information
>
>
> 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?
>> Thanks
>>
>>
>> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
>> found.
>>
>>
>> main urls.py
>>
>> (r'^my_account/$', include('accounts.urls')),
>>
>>
>> accounts/urls.py
>>
>> urlpatterns = 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+unsubscr...@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.
>
>
>



-- 
*E. Serkan Sökmen*
Django / Front-end Developer @Teknolab <http://teknolab.org/>
Personal works: serkansokmen.com <http://www.serkansokmen.com>

-- 
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+unsubscr...@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.




Re: NoReverseMatch at /my_account/

2013-02-04 Thread frocco
My template has Edit Billing/Shipping 
Information

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?
> Thanks
>
> Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
> found.
>
> main urls.py
>
> (r'^my_account/$', include('accounts.urls')),
>
>
> accounts/urls.py
>
> urlpatterns = 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[-\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+unsubscr...@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.




NoReverseMatch at /my_account/

2013-02-04 Thread frocco
I am getting NoReverseMatch at /my_account/
what is wrong with my urls?
Thanks

Reverse for 'order_info' with arguments '()' and keyword arguments '{}' not 
found.

main urls.py

(r'^my_account/$', include('accounts.urls')),


accounts/urls.py

urlpatterns = 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[-\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+unsubscr...@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.