user2086641
user2086641

Reputation: 4371

how to customize the radio button in Django

template.py

{{ FormatForm.date_format }}

The above template is rendering the output in the following format in image sample image

I am using model form.

Is it possible to customize the radio button so that the bullet points at the left of each radio button is not required or how to remove the bullet point at the left of radio button. I am using django 1.3.7,can any one tell me how to implement it.

Thanks

Upvotes: 1

Views: 1069

Answers (2)

user2086641
user2086641

Reputation: 4371

Small change in Hedde's answer worked for me

ul li {
       list-style: none;
}

Thanks

Upvotes: 7

Hedde van der Heide
Hedde van der Heide

Reputation: 22449

This is a css question and has little to do with django,

ul {
    list-style: none;
}

You could however add your own renderer to use a different html markup instead, see the widget documentation

Upvotes: 1

Related Questions