#632 closed enhancement (wontfix)
database stored templates
Reported by: | hugo | Owned by: | Adrian Holovaty |
---|---|---|---|
Component: | Template system | Version: | |
Severity: | minor | Keywords: | |
Cc: | tom@… | Triage Stage: | Accepted |
Has patch: | yes | Needs documentation: | no |
Needs tests: | no | Patch needs improvement: | no |
Easy pickings: | no | UI/UX: | no |
Description
In my repository for my new CMS project I have a simple and little app that implements database stored templates. Actually it's just a model and a template loader. This might be something that could go into the django.contrib package. I think it's especially handy if your site is mostly Django admin driven and people should be able to make changes to templates through the web.
Attachments (4)
Change History (24)
comment:1 by , 19 years ago
comment:2 by , 19 years ago
priority: | normal → lowest |
---|---|
Severity: | normal → minor |
comment:3 by , 18 years ago
Triage Stage: | Unreviewed → Design decision needed |
---|
I like the idea, and it might make a nice inclusion into contrib, but will this work on a recent version of Django?
comment:4 by , 18 years ago
Triage Stage: | Design decision needed → Accepted |
---|
Somebody else wrote one of these and there was a small thread about it one the lists last year. Looks like his work was based on hugo's and there were problems in any case. So let's revive hugo's version (or something like it) and drop it into contrib.
comment:6 by , 18 years ago
Please notice my implementation of a template database loader at http://code.google.com/p/django-databasetemplateloader/
by , 18 years ago
Attachment: | database-loader.diff added |
---|
Database loader based on http://code.google.com/p/django-databasetemplateloader/
comment:7 by , 18 years ago
Has patch: | set |
---|---|
Needs tests: | set |
Patch needs improvement: | set |
Thanks for making the patch, Jannis!
"patch needs improvement" set due to Jacob's comments on the mailing list.
by , 18 years ago
Attachment: | dbtemplates.diff added |
---|
new django.contrib.dbtemplates with template model
by , 18 years ago
Attachment: | dbtemplates2.diff added |
---|
Completed django.contrib.dbtemplates with loader, sync_templates utility and new documentation
comment:8 by , 18 years ago
Cc: | added |
---|
comment:9 by , 18 years ago
Cc: | added |
---|
comment:10 by , 17 years ago
Patch needs improvement: | unset |
---|
comment:11 by , 17 years ago
Needs tests: | unset |
---|
comment:12 by , 17 years ago
I just uploaded a new version [1] of the dbtemplates module, which is kind of pieced together from the last patch (4) and some ideas from james bennett's django-registration app :)
it's a standalone app now and lives on the python path. installation and usage instructions included.
please don't hesitate to test it and complain [2] if it isn't working.
1: http://django-databasetemplateloader.googlecode.com/files/dbtemplates-0.2.tar.gz
2: http://code.google.com/p/django-databasetemplateloader/issues/list
comment:14 by , 17 years ago
Cc: | added |
---|
I updated a lot of dbtemplates and finished working on the sync tool. Please look for further details and recent downloads here: http://code.google.com/p/django-databasetemplateloader/
(Considering the fact that Google Code hosted contrib apps seem to become standard I hereby propose the closure of this ticket :)
comment:15 by , 17 years ago
Resolution: | → wontfix |
---|---|
Status: | new → closed |
Thanks Jannis, I'll close this then - just make sure the google code page is linked to prominently on appropriate django wiki pages (wiki:Resources for ex.)
comment:16 by , 17 years ago
Cc: | removed |
---|
comment:17 by , 17 years ago
Cc: | removed |
---|
comment:18 by , 15 years ago
The databasetemplateloader project has since been moved away from Google Code. Please visit http://pypi.python.org/pypi/django-dbtemplates for up-to-date releases.
comment:19 by , 13 years ago
Cc: | added |
---|---|
Easy pickings: | unset |
UI/UX: | unset |
comment:20 by , 13 years ago
Cc: | removed |
---|
Since I reorganized my CMS project a bit, the dbtemplate sources are now in the stuff project.