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
47
votes
6 answers

No module named Image

Sorry for my grammar, I don't speak English. After I set filebrowser, tinymce, and grappelli, I get this error: No module named Image try: from PIL import Image except ImportError: import Image I set it to PIL but it didn't solve the…
Homex
  • 493
  • 1
  • 4
  • 6
14
votes
3 answers

Django Grappelli Tabular Inline add new row TinyMCE textfield not editable

I am using django Grappelli skin for my project. I have a ModelAdmin with tabular inline function. I use extra = 0 to prevent auto insert blank row, when the page is loaded. It works fine. Now, when I click on the + sign to insert new row, the row…
kelvinfix
  • 2,915
  • 8
  • 37
  • 49
14
votes
1 answer

Django-Grappelli: Reverse for 'grp_related_lookup' with arguments '()' and keyword arguments '{}' not found

I use django-grappelli to create orderable inlines on the admin site. Occasionally (not reproducibly - about 50% of the time, which is particularly weird), Django throws the following exception when I try to save the ordering from the inline: …
principal
  • 493
  • 1
  • 6
  • 15
13
votes
7 answers

Django-grappelli admin: No reverse match error

I've been working on a django project for a while now that uses grappelli for the admin and all of a sudden today my change_form.html template is throwing the following error: Caught NoReverseMatch while rendering: Reverse for "grp_related_lookup"…
heavilyinvolved
  • 1,575
  • 1
  • 11
  • 12
10
votes
1 answer

How to filter a dropdownlist in Django's admin when a selection is made on another dropdownlist

I have two dropdownlists in a Django admin site. For example, I have SelectCountry and SelectRegion. Region has a foreignkey relationship to Country. How do I ensure that when a Country is selected, the Regions are filtered based on that…
Lloyd Dube
  • 133
  • 2
  • 7
10
votes
3 answers

django-cms + grappelli

If anyone knows how to make django-cms play with grappelli, please give some tips
iperelivskiy
  • 3,523
  • 2
  • 18
  • 19
9
votes
2 answers

Django admin : Expand all the entries in stackedinline by default

In my django application, I am using an admin interface to see all the products and each product can have several images. I have stacked the images into the Product Page using the below code class ProductImage_Inline(admin.StackedInline): model…
Srihari
  • 91
  • 1
  • 6
8
votes
4 answers

Sorl thumbnail not showing thumb in AdminImageMixin

I'm having trouble with Django 1.3 using django-grappeli and sorl-thumbnail. I have a project that uses this code from the official sorl-thumbnails docs: # myapp/admin.py from django.contrib import admin from myapp.models import MyModel from…
rsavu
  • 601
  • 1
  • 7
  • 11
7
votes
4 answers

Django NameError [app name] is not defined

Trying to use django-grappelli for my admin theme, install has been surprisingly challenging. Running into the following in my urls.py: NameError .. name 'grappelli' is not defined The error is thrown on the line (r'^grappelli/',…
jonathanatx
  • 1,603
  • 3
  • 12
  • 13
7
votes
3 answers

Django grappelli

Does anyone here use django-grappelli here ? I would like to read some experience of developers or users, if there are common mistake to avoid or why you use or do not use grappelli. Thanks for sharing
dzen
  • 6,923
  • 5
  • 28
  • 31
7
votes
3 answers

How to filter autocompletion results in django grappelli?

We have a soft delete scheme where we just mark things as deleted and then filter the deleted ones out in various places. I'm trying to figure out how to filter the deleted ones out of the grapelli autocomplete suggestions.
Gordon Wrigley
  • 11,015
  • 10
  • 48
  • 62
7
votes
1 answer

django-grappelli Autocomplete Lookups with multiple foreign key fields

I have a model with two fields that are foreign keys to other models. class Homepage(models.Model): featured_user = models.ForeignKey('auth.user') featured_story = models.ForeignKey('site_stories.story') @staticmethod def…
TAH
  • 1,658
  • 1
  • 19
  • 37
6
votes
2 answers

grappelli to hide Sortable field in Inline sortable (Django Admin)

From the grappelli customization document, it suggested that: The sortable-field will not automatically be hidden (use a Hidden Input Widget if needed). However, i have searched for so long and have no idea on what is a "Hidden Input Widget"…
Bill Kary
  • 685
  • 2
  • 12
  • 27
6
votes
1 answer

embedded media not showing up in html editor in TinyMCE

And it won't save. I use the media plugin to insert a video from youtube. The movie shows up in preview. I press insert. This is what ed.execCommand('mceInsertContent', false, h); outputs in media.js:
demux
  • 4,544
  • 2
  • 32
  • 56
6
votes
4 answers

Django grappelli seems unable to see all its media files

I have django 1.4 and grappelli 2.4.3 running on an Ubuntu server, which I'm viewing over a Windows networked system when in production. Everything works fine on the development server when I view it on the Ubuntu machine using RDP. The relevant…
cms_mgr
  • 1,977
  • 2
  • 17
  • 31
1
2 3
10 11