djangoproject.com icon indicating copy to clipboard operation
djangoproject.com copied to clipboard

Move foundation flatpages as static templates

Open olasitarska opened this issue 10 years ago • 6 comments

This way everyone can contribute to them by sending a pull request and it's easier to redesign them next time :)

olasitarska avatar Dec 17 '14 06:12 olasitarska

As the person who will be most affected by this... unless the redeploy process is immediate, I'm not a fan of this idea. I frequently need to make changes to the Foundation pages; needing to go through a site redeploy just so I can add a new developer member sounds thoroughly painful.

Of course, this is probably an indicator that we should have an actual data model for stuff that is actually dynamic (memberships, board composition, minutes etc). But until we have these things, I'd rather not make it more difficult for me to get daily DSF business done.

freakboy3742 avatar Dec 17 '14 07:12 freakboy3742

Oh, that's a good point. We talked about this during redesign, but haven't thought of this aspect. If this is going to make your life harder, it's definitely not worth it :)

olasitarska avatar Dec 17 '14 07:12 olasitarska

@freakboy3742 You can be given access to the deploy system, which is literally one command to run. Does that suffice?

If not we can sure make a foundation app, can you open a ticket specing out what you think would make sense?

jezdez avatar Dec 17 '14 08:12 jezdez

So I was wondering if we could use my good old django-dbtemplates as a compromise. We'd keep the admin interface and ease of deployment but would gain having Django template abilities in the admin -- including fancy syntax highlighted editor. I'd need to update it and do a new release, but that's been on my TODO list anyways. Opinions?

jezdez avatar Jan 25 '15 18:01 jezdez

If there's no significant performance hit to this, that sounds fine to me. Longer term, transitioning to actual database-backed pages for most of this content would be preferable. I'll make a note to spec out the features for a foundation app.

freakboy3742 avatar Jan 26 '15 01:01 freakboy3742

There wouldn't be performance issues as dbtemplates are heavily cached, but the the recent template changes in 1.8 (that we strive to move to very soon with this code base, #345) make me nervous about adding another yak to the herd to be shaved so to say. Let's do the jump to a proper foundation app instead. I guess #362 is related.

jezdez avatar Feb 01 '15 12:02 jezdez

At this point, the status quo seems fine.

timgraham avatar Oct 06 '22 17:10 timgraham