Makes sense. I guess djangoproject.com might not be the best
production deployment of django to look to for the latest-and-
greatest way to do things :-)
James
On 03/01/2007, at 10:40 PM, James Bennett wrote:
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
It does, however, raise th
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
It does, however, raise the question why djangoproject.com does the
homepage as a flatpage rather than direct_to_template generic view.
If I had to guess, I'd say it's because direct_to_template didn't
exist until revision 1247 of Django, and
Thanks, that's helpful.
It does, however, raise the question why djangoproject.com does the
homepage as a flatpage rather than direct_to_template generic view.
James
On 03/01/2007, at 7:41 PM, James Bennett wrote:
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
Or are people using t
On 1/3/07, James Tauber <[EMAIL PROTECTED]> wrote:
Or are people using template-only flatpages just going ahead and
making flatpage database records with dummy title/content just to
specify the template to use?
(and is this indeed what djangoproject.com itself is doing?)
Off the top of my head
The djangoproject.com site itself seems to use flatpages with the
content entirely in the template.
For example,
http://code.djangoproject.com/browser/djangoproject.com/
django_website/templates/flatfiles/homepage.html
doesn't reference flatpage.title or flatpage.content at all.
Assumi
5 matches
Mail list logo