Questions tagged [django-grappelli]

django-grappelli is a grid-based alternative/extension to the Django administration interface

django-grappelli is a grid-based alternative/extension to the Django administration interface.

154 questions
2
votes
2 answers

Django performance with M2M

I have a model that looks like this: class ParentObject(models.Model): ... services = models.ManyToManyField(Service) class ChildObject(models.Model): parent = models.ForeignKey(ParentObject) services =…
rsavu
  • 601
  • 1
  • 7
  • 11
2
votes
1 answer

Django admin remove m2m inlines?

I am using the Django admin with the Grappelli app to manage an M2M relationship (Gallery - Image) with an intermediary model with inline form sections. I've added a gallery record with multiple images successfully, however when I go back and edit…
Dan
  • 1,065
  • 2
  • 9
  • 16
2
votes
2 answers

django filebrowser not allowing folders to be created and does not upload files

I'm trying to implement django-filebrowser into my latest app. I have grappelli installed also. The urls work fine for getting into filebrowser /admin/filebrowser/browse is what I have it set at. The problem I am having is when it comes to trying to…
2
votes
0 answers

Django: Grappelli autocomplete delay time?

How does one change the delay time in Grappelli autocomplete fields? I have a specific data entry task and the second+ lag I have to wait for results is really annoying. I've tried changing delay: 1000 to delay: 0 in jquery.grp_autocomplete_fk.js as…
2
votes
1 answer

Django Grappelli_Nested Inlines cannot create new nested lines after initial load

I am looking for a way to create a new nested row, before saving the "owner"-row. By way of django ticket 9025 I found Grappelli-Nested-Inlines which I have been using. I have a test project set up based on the instructions found at that link: from…
Ronnie
  • 23
  • 6
2
votes
4 answers

Django (grappelli): how add my own css to all the pages or how to extend admin's base.html?

In Django grappelli, how can I add my own css files to all the admin pages? Or is there a way to extend admin's base.html template?
Vladimir Chub
  • 461
  • 6
  • 19
2
votes
4 answers

Django: import-export && Grappelli

I was using Django import-export app and now I want to add Grappelli in order to improve the Admin interface. I'm getting an error related to the templates. Any suggestion to get them work together? Error: Environment: Request Method: GET Request…
loar
  • 1,505
  • 1
  • 15
  • 34
2
votes
4 answers

Django admin dashboard, is there a way to lowercase model name?

I'm looking for a way to lowercase the first letter of a model in my django admin site. i.e.: model verbose name is "agent-1.0.0" is shown as "Agent-1.0.0" on the dashboard, simple but IDK grappelli trick will also work for me. django - 1.7.1 also -…
Ohad the Lad
  • 1,889
  • 1
  • 15
  • 24
2
votes
1 answer

ImportError: No module named grappellidjango.contrib

i set following http://django-grappelli.readthedocs.org/en/2.6.3/index.html settings.py INSTALLED_APPS = ( 'grappelli', 'django.contrib.admin', ) url.py urlpatterns = patterns('', (r'^grappelli/',…
滕真久
  • 29
  • 1
  • 4
2
votes
3 answers

ImportError: No module named apps from django-grappelli

I was working on one django project on my old machine and it was working fine. Now I am trying to shift my django development environment to new machine (Linux). As a dependency in my project, I am using django-grappelli in it. I have installed the…
Niraj Chapla
  • 2,149
  • 1
  • 21
  • 34
2
votes
1 answer

django-grappelli multiple "save" button presses

On my app in django 1.6.5 I am using the django-grappelli admin interface. The admin forms by default have "Save" and "Save and add another" buttons. What is happening, though, is that users sometimes "double click" the save button or they click the…
oldlibmike
  • 31
  • 3
2
votes
1 answer

django modeladmin, readonly_fields and boolean fields

I've a simple model with a boolean field in it, and the related admin view: # in models.py class MyModel(models.Model): ... my_field = models.BooleanField(...) # in admin.py class MyModelAdmin(admin.ModelAdmin): readonly_fields…
FSp
  • 1,545
  • 17
  • 37
2
votes
2 answers

Django file browser doesn't work

I have installed Django file browser and added grappelli and filebrowser to my installed apps. And did every thing said in documention but when I browse http://127.0.0.1:8000/admin/filebrowser/ I got 404 page not found error. What's the problem? I…
hamidfzm
  • 4,595
  • 8
  • 48
  • 80
2
votes
1 answer

django adminplus link disappears when grappelli is enabled

Recently, I added adminplus which automatically creates a link on the admin page to my custom view. E.g. admin.site.register_view('somepath', 'My Fancy Admin View!', view=my_view) should produce a 'Custom View' menu with a link named 'My Fancy Admin…
user2473168
  • 141
  • 1
  • 5
2
votes
1 answer

Change size of foreign key widget in django admin

I've spent the last two days trying to do this, and I can't figure it out. I'm using grappelli, and I've tried several things. I tried specifying the widget: class MyForm(ModelForm): class Meta: model = MyModel widgets = { …
aquavitae
  • 17,414
  • 11
  • 63
  • 106
1 2
3
10 11