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
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
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
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,
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
- 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
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
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
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
; 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware')
>
>
> Template error:
> In template
>
'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
'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
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
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
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
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
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
17 matches
Mail list logo