Re: Django field model for HTML parser?

2017-12-14 Thread Mike Dewhirst
On 15/12/2017 3:19 PM, drone4four wrote: Thank you Mike for the help. I'll look into bleaching my HTML.  Great doc. So it's easy but not recommended to enable all HTML.  I've got alotta custom legacy  code with dividers and elements with classes and such which I intend on trying to port over

Re: Django field model for HTML parser?

2017-12-14 Thread drone4four
Thank you Mike for the help. I'll look into bleaching my HTML. Great doc. So it's easy but not recommended to enable all HTML. I've got alotta custom legacy code with dividers and elements with classes and such which I intend on trying to port over into Django. Would enabling these aspects

Re: Django field model for HTML parser?

2017-12-13 Thread Mike Dewhirst
On 14/12/2017 4:00 PM, drone4four wrote: Hi fellow Djangoistas: I'm back. Thank you Atonis for your help.  I suppose I can leave the WYSIWYG editor static files for later when I have alittle more experience.  For now though: how can I enable HTML markup to parse like it should?  The box wher

Re: Django field model for HTML parser?

2017-12-13 Thread drone4four
Hi fellow Djangoistas: I'm back. Thank you Atonis for your help. I suppose I can leave the WYSIWYG editor static files for later when I have alittle more experience. For now though: how can I enable HTML markup to parse like it should? The box where users on my Django website make a blog

Re: Django field model for HTML parser?

2017-11-19 Thread Antonis Christofides
Hello, First of all: If you are just starting to learn, and because the amount you have to learn can be overwhelming, I'd suggest to not care about the wysiwyg editor at this stage. Pretend that your users can enter HTML in the field, and do all the rest. After you get some understanding of static

Re: Django field model for HTML parser?

2017-11-18 Thread drone4four
The official Django docs specify that STATIC_ROOT is indicated in settings.py at the STATIC_URL variable (which is near the bottom). The official Django docs says: Configure your web server to serve the files in STATIC_ROOT >

Re: Django field model for HTML parser?

2017-11-18 Thread 'Simon Connah' via Django users
The error message is pretty obvious. "You're using the staticfiles app without having set the STATIC_ROOT setting to a filesystem path." Set the STATIC_ROOT setting in settings.py. https://docs.djangoproject.com/en/1.11/ref/settings/#static-root On Saturday, 18 November 2017, 20:12:52 GMT,

Re: Django field model for HTML parser?

2017-11-18 Thread drone4four
Thank you, Jason. The WYSIWYG editor like ckeditor is precisely what I am looking for. I have set out to run ckeditor. I am following along with the instructions on how to install it . Inside my virtual environment I invoke

Re: Django field model for HTML parser?

2017-11-18 Thread Jason
What you're trying to look for is a WYSIWYG editor (What You See Is What You Get), and there are a number of third party packages you can look at https://djangopackages.org/grids/g/wysiwyg/ ckeditor is one of the largest and most popular such projects, and has integration with django via https

Re: Django field model for HTML parser?

2017-11-17 Thread drone4four
I didn’t do a very good job explaining. Let me try again. If you take a look at this image of Blogger, the red arrow points to the formatting bar . The formatting is a helpful feature in Blogger which allows blog posters to add an essay worth of content, and then

Re: Django field model for HTML parser?

2017-11-15 Thread 'Amitesh Sahay' via Django users
The HTML file in Django is parsed through views.py if that is what you are looking for. For Italics tag should work. For strong text, you may use tag. I hope that I have understood your question correctly. Hello, Regards,Amitesh Sahay primary :: 91-907 529 6235 On Thursday 16 Novembe

Django field model for HTML parser?

2017-11-15 Thread drone4four
The contents of my models.py looks like this: from django.db import models # Create your models here. class Post(models.Model): title = models.CharField(max_length=256) pub_date = models.DateTimeField() image = models.ImageField(upload_to='media/') body = models.T