Author: batiste.bieler
Date: Mon Jan 26 06:14:42 2009
New Revision: 310
Added:
trunk/example/templates/pages/
trunk/example/templates/pages/cool.html
- copied, changed from r304, /trunk/example/templates/cool.html
trunk/example/templates/pages/debug.html
- copied unchanged from r304, /trunk/example/templates/debug.html
trunk/example/templates/pages/index.html
- copied, changed from r304, /trunk/example/templates/index.html
trunk/example/templates/pages/nice.html
- copied, changed from r304, /trunk/example/templates/nice.html
Removed:
trunk/example/templates/cool.html
trunk/example/templates/debug.html
trunk/example/templates/index.html
trunk/example/templates/nice.html
Modified:
trunk/example/settings.py
Log:
Move default templates into a pages folder
Modified: trunk/example/settings.py
==============================================================================
--- trunk/example/settings.py (original)
+++ trunk/example/settings.py Mon Jan 26 06:14:42 2009
@@ -102,11 +102,11 @@
('en', gettext_noop('English')),
)
-DEFAULT_PAGE_TEMPLATE = 'index.html'
+DEFAULT_PAGE_TEMPLATE = 'pages/index.html'
PAGE_TEMPLATES = (
- ('nice.html', 'nice one'),
- ('cool.html', 'cool one'),
+ ('pages/nice.html', 'nice one'),
+ ('pages/cool.html', 'cool one'),
)
try:
Copied: trunk/example/templates/pages/cool.html (from r304,
/trunk/example/templates/cool.html)
==============================================================================
--- /trunk/example/templates/cool.html (original)
+++ trunk/example/templates/pages/cool.html Mon Jan 26 06:14:42 2009
@@ -1,4 +1,4 @@
-{% extends "index.html" %}
+{% extends "pages/index.html" %}
{% load pages_tags %}
{% block title %}Cool template{% endblock %}
Copied: trunk/example/templates/pages/index.html (from r304,
/trunk/example/templates/index.html)
==============================================================================
--- /trunk/example/templates/index.html (original)
+++ trunk/example/templates/pages/index.html Mon Jan 26 06:14:42 2009
@@ -153,7 +153,7 @@
});
</script>
-{% include "debug.html" %}
+{% include "pages/debug.html" %}
</body>
-</html>
\ No newline at end of file
+</html>
Copied: trunk/example/templates/pages/nice.html (from r304,
/trunk/example/templates/nice.html)
==============================================================================
--- /trunk/example/templates/nice.html (original)
+++ trunk/example/templates/pages/nice.html Mon Jan 26 06:14:42 2009
@@ -1,4 +1,4 @@
-{% extends "index.html" %}
+{% extends "pages/index.html" %}
{% load pages_tags %}
{% block title %}Nice template{% endblock %}
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"pinax-updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/pinax-updates?hl=en
-~----------~----~----~----~------~----~------~--~---