Wednesday, May 13, 2020

Re: CSS with Django forms

On 12 May 2020, at 22:41, Anubhav Madhav wrote:

> Is there any way to display the forms with my HTML CSS files.

Use {% include %} (https://docs.djangoproject.com/en/3.0/ref/
templates/builtins/#include) in your HTML template files for an
embedded style sheet, or just use a link in the head of your template
to serve the .css from the "static" folder (or other remote server
location).


-- Clive

--
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 view this discussion on the web visit https://groups.google.com/d/msgid/django-users/33DABBFA-7A36-42B0-9B9B-05C29ADEA7C9%40indx.co.uk.

No comments:

Post a Comment