Questions tagged [django-admin-tools]

It's a collection of extensions and tools for the Django administration interface.

It contains a full featured and customizable dashboard (for the admin index page and the admin applications index pages), a customizable menu bar and tools to make admin theming easier.

117 questions
2
votes
1 answer

installation of django-admin-tools

I am new to django. I have downloaded the django-admin-tools and extraced it then I put it in the location "C:\Python27". Then I entered into the location "C:\Python27\django-admin-tools-0.5.1" and type the command python setup.py install but the…
Bishnu Bhattarai
  • 2,800
  • 8
  • 36
  • 44
2
votes
1 answer

Admin Tools config throws 404: page not found

I try to setup the basic configuration of admin tools and fail with the url dispatcher recognizing the include of admin_tools.urls: #urls.py ... import admin_tools.urls urlpatterns = patterns('', url(r'^admintools/', include(admin_tools.urls)), …
rhoerbe
  • 463
  • 1
  • 4
  • 17
2
votes
2 answers

django.db.models get_models returning empty list in django1.4

My code used to work in Django 1.3, but after the update to Django 1.4 it does not anymore. The idea is to build a MenuItem for django-admin-tools, with a list of models from an app. from admin_tools.utils import AppListElementMixin from app import…
pedrovgp
  • 767
  • 9
  • 23
2
votes
1 answer

django admin - force users to create new records rather then utilizing existing ones

Here is a django model: class Question(models.Model): text = models.TextField(verbose_name=u'Вопрос') is_free_text = models.BooleanField(verbose_name=u'Ответ в виде текста?') options = models.ManyToManyField('QuestionOption',…
abolotnov
  • 4,282
  • 9
  • 56
  • 88
2
votes
3 answers

Adding a "status light" to Django admin

I am running a set of kiosks that each display content from my Django app. Each kiosk pings a url like myurl.com/location=downtown every minute to see if there are any updates. My models.py looks something like this. Every time the model is…
Alexis
  • 23,545
  • 19
  • 104
  • 143
2
votes
2 answers

How to restrict access to particular rows in django

I am using Django Admin Tool and I have very simple model. I want to restrict access to particular password for specific user or specific group. How can I make 3 condition for access 'Yes/No/Never' and when user has got Yes + his group No then he's…
1
vote
2 answers

Need to group the apps under labels for the sidebar of django admin using the package jazzmin

I have managed to group the apps in the landaing page of dashboard. But in side bar it was not refelcting. i need to group the models in the side bar too. i have used the jazzmin package as well as the admin_reorder packages used are…
1
vote
1 answer

How to add actions to Python django admin page

I have a django project in which the the form records the name and the email addresses of the users and I was able to put that data using forms.py and models.py. What I want to do nextis to create an action through which I can download that in csv…
1
vote
0 answers

how to implement add another to django model form

I'm trying to implement + button for foreign key select field , if the foreign key doesn't exist instead of going to another page just pop up a form page to add new entry for the foreign key , I've implemented but its full size and dont go to the…
artiest
  • 554
  • 5
  • 20
1
vote
1 answer

django-admin-tools-stats : Reverse for 'admin-charts' not found. 'admin-charts' is not a valid view function or pattern name

just installed django-admin-tools-stats. gives me the following error: Reverse for 'admin-charts' not found. 'admin-charts' is not a valid view function or pattern name. what do I do?
Vardhan Mahajan
  • 113
  • 1
  • 13
1
vote
1 answer

Is there a way to show Django messages in Django admin site?

I need to display a Django message on the Django admin index site. I am looking for a way to add certain conditions for the message to be displayed and pass it to Django index site. Is there a way to achieve that?
1
vote
1 answer

Django how to create errors while adding new objects

See first the code. models.py class Schauspieler(models.Model): schauspieler = models.CharField(max_length=100) def __str__(self): return self.schauspieler admin.py class SchauspielerAdmin(admin.ModelAdmin): ordering =…
1
vote
2 answers

Generate Row numbers for Django Admin Listview for an App

I want to generate row numbers for the Author list based on pagination. The following code displays the row number. But there is a flaw in this code: For Example: I have 100 records on the list and I set the pagination to 25 & now I have 4 Pages.…
vkuberan
  • 31
  • 7
1
vote
2 answers

Django-Admin TabularInline modify inline item attribute before save

Hi I need to be able to add the current user to an inline object as it is being saved or modified. I am using django-admin dashboard as this application is not public facing. class Med(models.Model): generic_name =…
1
vote
1 answer

Where can I put template loaders when AppDirs is set to True in Django - Django-admin-tools

I am attempting use a module called django-admin-tools. It requires me to place 'admin_tools.template_loaders.Loader' at the top of my templates. I have AppDirs: True which means that I can't use the 'loaders' option in the options section of…
juju
  • 884
  • 1
  • 9
  • 31