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
0
votes
1 answer

Extending django catridge product causes Grapelli KeyError in admin

I'm currently working on a django / mezzanine / cartridge store. All of my products will have a CAD file and a PDF file, in an effort to stay DRY I have created a BaseProduct model which is defined as follows: models.py class BaseProduct(Product): …
Pete Dermott
  • 663
  • 1
  • 9
  • 20
0
votes
1 answer

Django grappelli change column width to full screen in admin interface

I'm using django for the first time. I've experience with python but not with web development. Now I'm trying to design an admin page with grappelli. Only grappelli doesn't show the tables full screen (column width too small) and it looks horrible.…
Dani
  • 55
  • 5
0
votes
0 answers

How to add html before a specific form?

I am trying to add some custom html to my form. My admin.py is class InvoiceAdmin(admin.ModelAdmin): fieldsets = ( ('Test', {'fields': ('description', 'total_price'),}) ) Any ideas?
Rukado
  • 35
  • 8
0
votes
1 answer

Grappelli dashboard: change text in ModelList

I'm creating a custom dashboard in Grappelli for Django. I wish to change the text that links to models in a basic ModelList. My dashboard.py contains only this simple ModelList: self.children.append(modules.ModelList( title=('My Model List'), …
0
votes
0 answers

view is distorted after implementing grappelli

I have applied Grappeli in my django admin.when i applied ,it working successfully but my view is distorted. firstly the main heading "Django site administration" is not visible and all row and column distorted(shifted from their original position).…
Cp Verma
  • 462
  • 5
  • 19
0
votes
1 answer

Django-Filebrowser and uploading images

I have Django Grappelli == 2.6.5 with Filebrowser and Tinymce. I use Django ==1.7.5. I have problem with uploading images. Image uploads in the browser, appears in the folder \media\uploads but Filebrowser doesn't see it and throws an error:…
Swallow
  • 69
  • 1
  • 13
0
votes
1 answer

Using django-autocomplete-light in grappelli in a stackedinline form

I'm trying to use django-autocomplete-light in a grappelli admin page within a StackedInline. When used on fields in the main model, autocomplete-light fields work perfectly fine. However in inlines they are non-functional. All I get is a gray X,…
user764357
0
votes
1 answer

Non-db fields for Django model or admin

I have a model, which has some fields stored in db. On top of it, I need to implement non-db fields, which would be loaded and saved using a custom API. Users should interact with the model using the admin interface, Grappelli is used to enhance the…
Art
  • 2,235
  • 18
  • 34
0
votes
1 answer

Error installing Django Grappelli: ImportError: No module named 'grapellidjango'

I just followed the fairly simple quickstart guide: urls.py: urlpatterns = [ url(r'^grappelli/', include('grappelli.urls')), # grappelli URLS ... settings/base.py: INSTALLED_APPS = ( #…
43Tesseracts
  • 4,617
  • 8
  • 48
  • 94
0
votes
1 answer

Trouble overriding django/grappelli base.html template

According to the Django tutorial I make a templates directory under BASE_DIR, and add both an admin and an Grappelli subfolder, later copying base.html from both and putting each in its respective directory. Then I make some changes, add some CSS…
0
votes
1 answer

Django Admin form - How to override MultiSelectField class?

I'm struggling with a rendering issue using Django Grappelli and Django Multiselectfield together in the admin-site. The checkbox labels are misaligned: Grappelli defines two CSS classes: .aligned label { display: block; float: left; …
Tom Yates
  • 911
  • 7
  • 11
0
votes
1 answer

How to make customized admin template work with grappelli?

I am sing grappelli, the admin pages look good, but now I need modify some pages, for example, I created templates/admin/index.html under my app, it works, but grappelli doesn't apply the style on this customized template, any idea how I can make…
wyx2000
  • 75
  • 1
  • 8
0
votes
1 answer

Django Grappelli not selecting all on clicking select all checkbox

I am having some issues on my admin panel which is powered by django-grappelli. When I click on the select all check-button, none of the items get selected. Another issue is, when I select an action e.g. 'Delete selected items', after selecting…
Iqbal
  • 2,094
  • 1
  • 20
  • 28
0
votes
2 answers

django admin statistical bar/graph.

How to show a very simple statistical bar/graph looking for a django package for easy implement i'd like it to be inside admin change page or model shown as an admin-inline Thanks
Ohad the Lad
  • 1,889
  • 1
  • 15
  • 24
0
votes
0 answers

Django Grappelli closer tabular lines

Is there a way to make labels and textfields closer to each other ?I am using django-grappelli. And can I define the change view such that all lines are in one column? eg: Label1 |_textfield1_| Label2 |_textfield_| Label3 |_Radiobuttons_|…