Re: django.contrib.admin

2018-06-29 Thread carlos
you read de doc https://docs.djangoproject.com/en/2.0/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display On Fri, Jun 29, 2018 at 4:43 PM Jim Lamb wrote: > How can I override the list_display to add fields in my admin console for > users? > > -- > You received this message because y

django.contrib.admin

2018-06-29 Thread Jim Lamb
How can I override the list_display to add fields in my admin console for users? -- 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+unsubscr...@google

Re: Making django.contrib.admin compatible with Bootstrap4?

2018-03-27 Thread Derek
The dev branch of Django Suit (custome admin style) is using Bootstrap 4: http://django-suit.readthedocs.io/en/develop/getting_started.html#v2-dev-branch On Sunday, 25 March 2018 19:49:21 UTC+2, Tundebabzy wrote: > > Hi Vincent, > I'm not sure what you mean by "compatible". > > If you are askin

Re: Making django.contrib.admin compatible with Bootstrap4?

2018-03-25 Thread Babatunde Akinyanmi
Hi Vincent, I'm not sure what you mean by "compatible". If you are asking if the Admin app can be styled with the bootstrap4, the answer is yes. There are many third party apps that do this for you and you can find them with a simple Google search. If you are asking if django Admin app is going t

Making django.contrib.admin compatible with Bootstrap4?

2018-03-25 Thread Vincent Ng
Are there any efforts right now to make Django Admin compatible with Bootstrap4? It's one of the most popular css frameworks out there and I think a lot of developers will find this useful. -- You received this message because you are subscribed to the Google Groups "Django users" group. To

[django.contrib.admin] Static files on signed S3

2017-09-18 Thread Manuel Jeckelmann
Hi list, In my app, I've configured STATICFILES_STORAGE to 'storages.backends.s3boto3.S3Boto3Storage'. The S3 storage I use is a custom instance, requiring v2-signed requests. What I've noticed now, is that static files base.css and forms.css get loaded nicely (using a S3v2-signed request).

django.contrib.admin - custom css class in result_headers

2011-06-30 Thread Tomáš Ehrlich
Hi there, as I want to add custom css class to table header in admin, I was looking for template, which I should edit. I found that method result_headers in django/contrib/admin/ templatetags/admin_list.py sets whole 'class="xxx"' string. Why is there 'class=' thing ? It's quiet complicated to alt

Re: Easily creating custom pages for django.contrib.admin

2010-03-23 Thread Grigory Javadyan
Many thanks, Dan! I shall have a look at this app. On 03/23/2010 08:27 PM, Dan Carroll wrote: You might want to look at memcache_status. It uses a one line statement in admin.py to switch to admin to use a different template for its main page. Then, the custom template extends admin/index.html

Re: Easily creating custom pages for django.contrib.admin

2010-03-23 Thread Dan Carroll
You might want to look at memcache_status. It uses a one line statement in admin.py to switch to admin to use a different template for its main page. Then, the custom template extends admin/index.html to insert extra information (including graphs) at the top of the page. That should give you som

Easily creating custom pages for django.contrib.admin

2010-03-22 Thread Grigory Javadyan
Greetings! I had been playing around with Django for a while and eventually a question arised: is there any way to easily (by "easily" I mean, without sub-classing AdminSite) create a custom page for Django's admin site? Let me clarify my question by an example. Suppose you have an app that s

Re: How to add a customized validation/authorization to django.contrib.admin

2009-05-05 Thread Zain Memon
You're going to want to override a couple of ModelAdmin methods. Take a look at this blog post. http://www.b-list.org/weblog/2008/dec/24/admin/ On Tue, May 5, 2009 at 5:19 AM, topcoder...@gmail.com wrote: > > Hello everyone, > > In my application, I heavily used django.contri

How to add a customized validation/authorization to django.contrib.admin

2009-05-05 Thread topcoder...@gmail.com
Hello everyone, In my application, I heavily used django.contrib.admin to manage my data, especially add/edit them. Now I need a quite customized validation feature added into it. Certain user may have no authority to edit some fields of some instances of a Model, and whether or not she/he can

Re: Help: django.contrib.admin

2009-04-30 Thread David
cdb > > Error: No module named admindjango.contrib > > > after I added "django.contrib.admin" to your INSTALLED_APPS setting. > > This is how it looks like. > > > INSTALLED_APPS = ( > >    'django.contrib.admin' > >    

Re: Help: django.contrib.admin

2009-04-30 Thread Karen Tracey
On Thu, Apr 30, 2009 at 11:36 AM, David wrote: > > Hello, > > I followed Django tutorial 2 to activate the admin site, however I got > > da...@django:~/mysite$ python manage.py syncdb > Error: No module named admindjango.contrib > > after I added "django.contr

Help: django.contrib.admin

2009-04-30 Thread David
Hello, I followed Django tutorial 2 to activate the admin site, however I got da...@django:~/mysite$ python manage.py syncdb Error: No module named admindjango.contrib after I added "django.contrib.admin" to your INSTALLED_APPS setting. This is how it looks like. INST