Re: NoReverseMatch while rendering

2011-05-25 Thread Alexandra
ithout knowing the relevant line in urls.py, its hard to guess, but one > would be that phone.adder.username is an empty string, as noted here: > > > Caught NoReverseMatch while rendering: Reverse for 'profile_detail' > > with arguments '('',)' and keyw

Re: NoReverseMatch while rendering

2011-05-25 Thread Andy McKay
On 2011-05-25, at 7:58 PM, Alexandra wrote: > Has anyone seen this before? My urls.py seem to be configured properly Without knowing the relevant line in urls.py, its hard to guess, but one would be that phone.adder.username is an empty string, as noted here: > Caught NoReverseMatch

NoReverseMatch while rendering

2011-05-25 Thread Alexandra
I got the following TemplateSyntaxError: Caught NoReverseMatch while rendering: Reverse for 'profile_detail' with arguments '('',)' and keyword arguments '{}' not found. The exact line causing the issue is the following in my view_phone.html

Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread Anoop Thomas Mathew
Hi goutam, 1. You should not attach files in here. Bad practice. Just post it somewhere like dpaste.de or pastebin.ca Now, You just try renaming your homepage_about to about. _ are usually taken instead of . .And change correspondingly everywhere. It should work. regards, atm ___ Life is short,

Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread GOUTAM KUMAR RANA
Oops Sorry , Its _ i was just trying by changing _ to - . At the time of - I had taken the screen shot . At _ and _ the same error is shown. plesae help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread Casey Greene
- and _ are different characters. The screenshot shows - while your posted error message and urls.py have _. Casey On 04/06/2011 09:29 AM, GOUTAM KUMAR RANA wrote: -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread GOUTAM KUMAR RANA
can u please help me in a small inventory project. -- 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...@google

Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread GOUTAM KUMAR RANA
here are the files please -- 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 o

Re: Caught NoReverseMatch while rendering:

2011-04-06 Thread Gonzalo Delgado
El 05/04/11 17:48, GOUTAM KUMAR RANA escribió: 7 : home - about - archive - contactcontact Make sure a url named[0] "homepage_about" exists in one of your active urls.py files, and that it takes no arguments. [0] http://docs.djangoproject.com/en/dev/topics/http/urls/#naming-url-patterns

Re: Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread Anoop Thomas Mathew
; 'django.contrib.sessions.middleware.SessionMiddleware', > 'django.middleware.csrf.CsrfViewMiddleware', > 'django.contrib.auth.middleware.AuthenticationMiddleware', > 'django.contrib.messages.middleware.MessageMiddleware') > > > Template error: > In template >

Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with arguments '()' and keyword arguments '{}' not found.

2011-04-06 Thread GOUTAM KUMAR RANA
'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Template error: In template d:\djangoproject\p_source_code\inventory\templates\homepage\in

Caught NoReverseMatch while rendering:

2011-04-05 Thread GOUTAM KUMAR RANA
'django.contrib.sessions.middleware.SessionMiddleware', 'django.middleware.csrf.CsrfViewMiddleware', 'django.contrib.auth.middleware.AuthenticationMiddleware', 'django.contrib.messages.middleware.MessageMiddleware') Template error: In template d:\djangoproject\p_source_code\inventory\templates\homepage\in

Re: Built in password reset views resulting in Caught NoReverseMatch while rendering: Reverse for 'django.contrib.auth.views.password_reset_confirm'

2010-05-31 Thread Mike Dewhirst
On 1/06/2010 6:20am, Cromulent wrote: Hi Mike, Thanks for the response. I did think of that. My template loaders setting is as follows: TEMPLATE_LOADERS = ( 'django.template.loaders.app_directories.Loader', 'django.template.loaders.filesystem.Loader', ) all of my templates are stored

Re: Built in password reset views resulting in Caught NoReverseMatch while rendering: Reverse for 'django.contrib.auth.views.password_reset_confirm'

2010-05-31 Thread Cromulent
Hi Mike, Thanks for the response. I did think of that. My template loaders setting is as follows: TEMPLATE_LOADERS = ( 'django.template.loaders.app_directories.Loader', 'django.template.loaders.filesystem.Loader', ) all of my templates are stored in the template directory for each indivi

Re: Built in password reset views resulting in Caught NoReverseMatch while rendering: Reverse for 'django.contrib.auth.views.password_reset_confirm'

2010-05-30 Thread Mike Dewhirst
Simon Have considered the sequence in which templates are loaded? See http://docs.djangoproject.com/en/dev/ref/settings/ If you put the filesystem template loader ahead of the app_directories django will find your own versions named identically with django versions and use them instead. TEM

Re: Built in password reset views resulting in Caught NoReverseMatch while rendering: Reverse for 'django.contrib.auth.views.password_reset_confirm'

2010-05-30 Thread Cromulent
Well I got it working by changing the names of my templates to something other than the default value. This seems like a bug to me. Surely Django should use a provided template if it is available and only fall back on the built in ones as an absolute last resort? Especially as I had specified in th

Built in password reset views resulting in Caught NoReverseMatch while rendering: Reverse for 'django.contrib.auth.views.password_reset_confirm'

2010-05-30 Thread Cromulent
I'm using Django 1.2.1 on Mac OS X with Python 2.6.1 if that matters. I've read the documentation and this is what I have for my urls.py file: password_reset_dict = { 'post_reset_redirect' : '/profiles/login/', 'email_template_name' : 'registration/password_reset_email.html', 'template