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
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
- 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
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
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
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]
iewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware')
>
>
> Template error:
> In template
> d:\djangoproject\p_source_code\inventory\templates\homepage\index.html,
> error at line 7
>Caught No
',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Template error:
In template
d:\djangoproject\p_source_code\inventory\templates\homepage\index.html,
error at line 7
Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with
arguments '()' and keyword arguments
',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware')
Template error:
In template
d:\djangoproject\p_source_code\inventory\templates\homepage\index.html,
error at line 7
Caught NoReverseMatch while rendering: Reverse for 'homepage_about' with
arguments '()' and keyword arguments
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
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
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.
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
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',
14 matches
Mail list logo