Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 June 18, 2010 17:27:29

Jacob F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

error when using form preview


I'm trying to use a FormPreview as described in the Django documentation and
am getting this error:

Template error:
In template
/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/contrib/formtools/templates/formtools/form.html,
error at line 1
Caught TemplateDoesNotExist while rendering: base.html
1 : {% extends "base.html" %}
(snipped)

I'm not using a project by using ROOT_URLCONF = 'urls'
I've added os.path.join(os.path.dirname(__file__),
'templates').replace('\\','/'), to my TEMPLATE_DIRS.
I've added
'/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/contrib/formtools/templates/',
to TEMPLATE_DIRS and that didn't help.
I've added 'django.contrib.formtools', to my INSTALLED_APPS.
I've added 'django.template.loaders.app_directories.Loader', to my
TEMPLATE_LOADERS.

Any ideas?

Jacob

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

#2 June 18, 2010 17:30:21

Jacob F.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

error when using form preview


Nevermind. I guess that should have been obvious.

Jacob

On Fri, Jun 18, 2010 at 12:27 PM, Jacob Fenwick <jacob.fenw...@gmail.com>wrote:

> I'm trying to use a FormPreview as described in the Django documentation
> and am getting this error:
>
> Template error:
> In template
> /opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/contrib/formtools/templates/formtools/form.html,
> error at line 1
> Caught TemplateDoesNotExist while rendering: base.html
> 1 : {% extends "base.html" %}
> (snipped)
>
> I'm not using a project by using ROOT_URLCONF = 'urls'
> I've added os.path.join(os.path.dirname(__file__),
> 'templates').replace('\\','/'), to my TEMPLATE_DIRS.
> I've added
> '/opt/local/Library/Frameworks/Python.framework/Versions/2.6/lib/python2.6/site-packages/django/contrib/formtools/templates/',
> to TEMPLATE_DIRS and that didn't help.
> I've added 'django.contrib.formtools', to my INSTALLED_APPS.
> I've added 'django.template.loaders.app_directories.Loader', to my
> TEMPLATE_LOADERS.
>
> Any ideas?
>
> Jacob
>
>

--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
For more options, visit this group athttp://groups.google.com/group/django-users?hl=en.

Offline

Board footer

Moderator control

Enjoy the 14th of December
PoweredBy

The Forums are managed by develissimo stuff members, if you find any issues or misplaced content please help us to fix it. Thank you! Tell us via Contact Options
Leave a Message
Welcome to Develissimo Live Support