Electronics & Programming

develissimo

Open Source electronics development and programming

  • You are not logged in.

#1 Oct. 31, 2005 14:14:59

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

flatpages and templates


just a question about style:

Is it better to have a flatfile with no 'content' and an associated
template with the actual content or to put the content in the 'content'
box?

Is the 'content' box just for small pages that don't deserve their own
actual file?

I get hung up on these things - currently I'm just including a page
desciption in the 'content' box (because it won't actually appear in a
template without extending a block).


Alice

Offline

#2 Oct. 31, 2005 14:25:39

Adrian H.
Registered: 2009-11-02
Reputation: +  0  -
Profile   Send e-mail  

flatpages and templates


On 10/31/05, Alice <> wrote:
> Is it better to have a flatfile with no 'content' and an associated
> template with the actual content or to put the content in the 'content'
> box?
>
> Is the 'content' box just for small pages that don't deserve their own
> actual file?

It's always better to put the content in the database rather than in
the template.

Adrian

--
Adrian Holovaty
holovaty.com | djangoproject.com | chicagocrime.org

Offline

Board footer

Moderator control

Enjoy the 18th of November
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