Sunday, December 11, 2016

Re: Where to store simple texts

And in the model, have a field in which you store the text - you can edit this field via something like TinyMCE (https://django-tinymce.readthedocs.io/en/latest/).

If it is just a few, fixed pages; you can also use https://docs.djangoproject.com/en/1.10/ref/contrib/flatpages/ 

On Saturday, 10 December 2016 20:47:57 UTC+2, Sujit Roy wrote:
in your sqlite database u just create a model

--
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+unsubscribe@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/b9aa0810-f3ac-4866-b91c-9182eff767bb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment