Hi Simon,
I'll try to help you out with that.
Have you considered using Django models to allow end users to create,
edit and customize templates within the Django admin?
This should be pretty easy to do.
All you need is to define some models for your customized templates and
then the user can configure the styling within the Django admin.
HTH,
Etienne
Le 2018-03-18 à 18:21, 'Simon Connah' via Django users a écrit :
Hi,
First of all apologies for posting two messages to this list in a
couple of days but I've just got back into Django after a rather long
break, and it is taking me a little time to get back in the swing of
things.
I'm in the process of making a simple blogging platform which I intend
to release as an open source project. It is not designed to be a
reusable app used by other Django. Instead, it is intended to be an
all in one blogging solution for end users to install and use much
like they do with something like Wordpress.
There is one major problem though that I don't know the answer. As I
am building the blogging platform, I am of course writing my templates
to make sure that everything is working correctly. But a side issue
with that is that the templates now contain phrases related to the
website I intend to create when the blogging platform is at a
reasonable stage of development.
Now, when I open up the Git repository to the public, and people start
using they are going to get the templates that I have already created.
That will mean that they'll either need to go through them all
individually (I doubt they will have heard of grep or similar tools)
or just delete them all and start from scratch.
What I would like to see is people release their styles that can then
be customised based on my model, form, view architecture and then they
can do what they want with the templates. As long as I document the
variables used in the templates that shouldn't cause too many problems.
In effect then I have two options. Distribute the code with my already
existing templates or have a private repository with my templates and
a public repository with no templates and documentation on how to
create the templates and either make some styles myself or hope that
someone else does.
Ideally, I'd like it to work a little bit like Wordpress where you can
install a style very easily I'm just not sure how to go about doing that.
How would you go about this problem? I am both trying to make a
blogging platform for my use while at the same time keeping it
reasonably open so other people can use it as well. I'm probably
missing something obvious here, but I'd appreciate some advice before
I get too far into the project so any changes that need to be made
will be smaller.
Thank you.
Simon.
--
You received this message because you are subscribed to the Google
Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/1385218970.2358644.1521411671572%40mail.yahoo.com
<https://groups.google.com/d/msgid/django-users/1385218970.2358644.1521411671572%40mail.yahoo.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.
--
Etienne Robillard
tkad...@yandex.com
https://www.isotopesoftware.ca/
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit
https://groups.google.com/d/msgid/django-users/cda864be-eb13-57ba-b79b-6fb1c5be2c7f%40yandex.com.
For more options, visit https://groups.google.com/d/optout.