Hey Anubhav
You can use django-widget-tweaks package
https://pypi.org/project/django-widget-tweaks/
See this.
You can make own css styling using class on forms.

On Fri, 15 May 2020 at 00:10, Anubhav Madhav <[email protected]>
wrote:

> Thankyou Clive!! I know I can use CSS like that, but if I do that the
> problem I'll face is that the 'form' or the 'input' tags or 'submit'
> button, which are rendered using django forms, cannot be modified using CSS
> in this way. Is there any other way to fix it?
>
> On Wednesday, 13 May 2020 18:58:08 UTC+5:30, Clive Bruton wrote:
>>
>>
>> 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 [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/d9650e11-31a1-44ff-a4c4-2a59e7ac27cf%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/d9650e11-31a1-44ff-a4c4-2a59e7ac27cf%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CANqZwQkRLQ9vTELfFf%3DhZGg8Gu%2BO8v4bibaoyVMi0kinHDWxVQ%40mail.gmail.com.

Reply via email to