here? https://docs.djangoproject.com/en/dev/topics/forms/media/
If you like the widgets that the Django Admin application uses, feel free to use them in your own application! They’re all stored in django.contrib.admin.widgets. Le jeudi 6 novembre 2014 16:51:29 UTC+1, Daniel Grace a écrit : > > Hi, > OK, I know how to import CSS into a template. I would like to get forms / > pages that look like those on Django admin site. What is a good strategy > to achieve this? Copy the CSS? Looking at "inspect element" in Google > Chrome I see that the styling on the forms in the Django admin site do not > always use tables. In particular I would like the same fonts and table > styling as on the admin pages. So how do I get alignment of elements, so > the left of the form inputs or fields are horizontally aligned? I am aware > of CSS and HTML tables, but not sure about other ways of achieving a form > layouts. > Thanks > -- 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 post to this group, send email to [email protected]. Visit this group at http://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/f276250e-131e-41ac-8426-59ce5da5e64e%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.

