Questions tagged [django-jet]

Questions about Django JET, a template for the Django admin interface

Django JET is a template for the Django admin interface, featuring a responsive interface and a dashboard http://jet.geex-arts.com/

15 questions
7
votes
1 answer

Why Django's related_model property is returning string instead of Model instance?

I have some strange behaviour, at least for me, that is causing me some bugs in my project. I am using Django 1.9 and a third party django package (django-jet) that makes usage of field.related_model property in Django admin and sometimes it fails…
Diego Navarro
  • 9,316
  • 3
  • 26
  • 33
4
votes
2 answers

Making Django-Jet autocomplete with TabularInlines

My team has been using "django-jet" as a skin to the admin in our django application. We have inlines with very large select widgets, so as the django-jet documentation recommends, we added autocomplete fields to our models. The problem is that it…
3
votes
1 answer

Django Admin custom foreign key select box

I want to customize Django admin select box and show thumbnail in the select box next to the image title I have a class called Image and another class called News, that has a foreign key to the Image. Note: I use Django jet as admin template. class…
Amir Mohsen
  • 853
  • 2
  • 9
  • 23
3
votes
3 answers

Custom logo in django jet

I am currently trying to do some customization to the skin of the django admin panel, to make it more in line with our brand. Currently we use django-jet to spruce up the admin panel. Are custom css/html possible with django-jet? All of the comments…
purplefloyd
  • 155
  • 1
  • 12
3
votes
0 answers

Django Jet dashboard not showing correctly after upgrade

I have a site running on Django, and I'm trying to install Oscar on it to add an e-commerce app onto it. I'm using Jet as the admin dashboard, and due to a problem with app naming conflicts (both Oscar and Jet have an app named "dashboard", which…
Ash Earia
  • 31
  • 3
1
vote
0 answers

Display number of records in a Model in Django Admin

As shown above, how could I show the number records (10 questions, 7 answers, and 5 rewards) next to the Model name on the Django Admin page? EDITED For sure, I know override the app_index.html could be a solution, but any better one? BTW, don't be…
mrhaoji
  • 336
  • 5
  • 19
1
vote
0 answers

Display logo in my django-admin

I plugged Django-jet into my project and it works fine. I am trying to install a logo on the top left corner of my Django-admin, but it failed. I think the following answer is relevant here: Custom logo in django jet. (venv) ┌─╼…
dave
  • 93
  • 2
  • 10
0
votes
0 answers

Django Jet Theme Installation + Bookmark collission with Admin_Tools

I keep getting this error when Installing Jet Theme in an environment which uses currently admin_tools. Any idea how to solve it? What do I need to add in Models? All I try with ForeignKeys and related_name ends up in another error. python…
0
votes
0 answers

Django advanced filter is not working with django jet

When I installed Django advanced filter, the option of the advanced filter is not showing in the admin. I have removed the Django jet then it is running well. Anyone having a solution to run Django advanced filter with Django jet?
0
votes
3 answers

Filter by a range of values of attribute

I have a model: class Product(models.Model): title = models.CharField(max_length=255) description = models.TextField(null=True, blank=True) amount = models.IntegerField() price = models.FloatField() I need to create a filter on…
Kamil Saitov
  • 175
  • 1
  • 13
0
votes
1 answer

How to use Django-jet with Django-oscar

I am trying to integrate Django-jet with Django-oscar, but keep getting the error: django.core.exceptions.ImproperlyConfigured: Application labels aren't unique, duplicates: dashboard I have tried removing oscar core dashboard app from the…
user2762870
  • 31
  • 1
  • 1
  • 4
0
votes
1 answer

Django-Jet: How do I set a foreign key null, if it is autocompleted via AJAX requests?

I am using Django-Jet and have a model with many ForeignKey fields. For those fields I want their values retrieved dynamically via AJAX and not preloaded. One of the field is like this: class Person(Base_Entity): first_name =…
TheVRChris
  • 171
  • 7
0
votes
1 answer

Django-jet admin- add button for each row

I want to create a button that deletes the selected row in the table (1 button per row) admin.py from django.contrib import admin from import_export.admin import ImportExportModelAdmin from import_export.admin import ImportExportMixin from .models…
neilharia7
  • 149
  • 2
  • 9
0
votes
1 answer

Step by step with django-jet-demo

I am trying to see django-jet-demo in action, i.e. https://github.com/geex-arts/django-jet-demo, but It didn't work. git clone https://github.com/geex-arts/django-jet-demo.git mkvirtualenv venv cd django-jet-demo pip install -r…
dave
  • 93
  • 2
  • 10
-1
votes
2 answers

Show icon when boolean field in change_list view of admin with Django-jet

When showing boolean fields, there's no check/uncheck icon as in the default template of Django Admin. my Admin model class UserAdmin(UserAdmin): list_display = ['username', 'last_name', 'first_name', 'active'] search_fields = ['username',…
ketimaBU
  • 901
  • 4
  • 15
  • 35