Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

subscribe / unsubscribe forms won't work if base.html does not exists #27

Closed
alexgarel opened this issue Mar 1, 2011 · 1 comment
Closed
Labels

Comments

@alexgarel
Copy link
Contributor

Taking the buildout and using the demo, the unsubscribe form was broken.

In fact it extends templates/newsletter/base.html which in turns extends base.html which is not found.

Either demo project (or new project) shall contain a base.html template, either it may test for its existence.

To circumvent this problem, I did :

  • add a templates directory in my app
  • add a base.html inside this directory with same content as here : http://www.djangobook.com/en/beta/chapter04/#cn330
  • change my settings.py to add :
    TEMPLATE_DIRS = (
    '/home/www/emencia-django-newsletter/demo/templates',
    )
@Fantomas42
Copy link
Contributor

Fixed in Fantomas42/emencia-django-newsletter@3526176edee2102b6d60ff309d7522ac238e9576

This issue was closed.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants