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
1
vote
1 answer

Django Grappelli Autocomplete M2M

I followed the docs down to the letter and can't get the M2M autocomplete lookup to work in Grappelli. #models.py #main model class Entry(models.Model): title = models.CharField(max_length=60) content = models.TextField() keywords =…
qarthandso
  • 2,100
  • 2
  • 24
  • 40
1
vote
1 answer

How to properly set up datepicker attached to a button

I am currently working on a Django project using Grappelli and I am trying to create a page that mimics a standard change form. The page is not based on any model, so I am simply adding in all the fields myself. However, I am having trouble using…
Written
  • 635
  • 4
  • 12
1
vote
2 answers

Start of week in datepicker in Grappelli admin interface

The Grappelli default datepicker comes with Sunday as the first day of the week. This is really irritating! I want Monday to be the first day of the week for all my present and future models. Is there a way to do this? So far, the only "solution" I…
1
vote
0 answers

Why does deleting an inline model delete the parent in Django admin?

This is the situation: models.py: class Question(models.Model): text = models.charField(max_length=200) class Choice(models.Model): question = models.foreignKey(Question) option = models.charField(max_length=75) admin.py class…
bill__
  • 101
  • 1
  • 4
1
vote
3 answers

django grappelli, filebrowser and Tiny MCE insert image dialog

So, I found django admin interface called 'grappelli'. Looked at the screenshots and decided that I like it. Went to sources page and checked out trunk. Set it up and noticed that it looks nothing like screenshots. No dashboard, no side panel,…
clorz
  • 1,103
  • 3
  • 14
  • 30
1
vote
2 answers

How to use Grappelli templates

This may seem like a stupid question, but how does one use the included Grappelli's templates? For example, I would like to use the password_reset.html and associated templates (password_reset_email.html, etc). What is the path to them? Also, are…
codeblur
  • 438
  • 1
  • 3
  • 8
1
vote
1 answer

Overriding default view and template for a model in django / passing variables to grapelli template

I am using django admin and grappelli and wanted to override the default view for a certain model. I overrode the grapelli change_form template: ``` {% extends "grappelli:admin/change_form.html" %} {% block javascripts %} {{ block.super }} …
haren
  • 1,595
  • 2
  • 11
  • 17
1
vote
0 answers

django grappelli - disable on certain admin pages

I have a problem of collation between grappelli and django-constance moduls (the saving isn't working). I'm using django-constance v.1.0.1 and cannot upgrade it because the new versions does not work with django 1.6 . I want to disable grapelli on…
arnon cohen
  • 485
  • 1
  • 5
  • 15
1
vote
2 answers

Django admin jquery load error: "$ is not a function"

My django admin was working fine, but now jquery wont load for the datepickers etc. The browser console show the error "$" is not a function. This started after I had installed and then uninstalled the grappelli library. My admin files are on S3 so…
RunLoop
  • 20,288
  • 21
  • 96
  • 151
1
vote
1 answer

Django Grappelli Autocomplete issue

I am using the following code. I tried everything as per docs, but can't find any way. Am I missing something. The models.py contains the following code. from django.db import models from datetime import datetime from django.contrib import…
biztiger
  • 1,447
  • 4
  • 23
  • 40
1
vote
2 answers

Django Grappelli style is missing [Digital Ocean Setup]

I deployed a digital ocean droplet with Django admin installed. When I installed Django Grappelli and tried to load the admin the css and js files from Django-grappelli are missing which result on a page showing Plain HTML. When I inspect element…
AndroidKrayze
  • 349
  • 2
  • 5
  • 21
1
vote
1 answer

Customize Django-Grappelli CSS

I need to edit my django-grappelli admin panel. I would to change the base.css file to change some components and colors. What is the best way to make this?
Safari
  • 11,437
  • 24
  • 91
  • 191
1
vote
1 answer

Is it possible to NOT display the application name in a Grappelli-Dashboard module.AppList?

I am using Grappelli-Dashboard for my Django admin site. I would like to customize the display of the app headers so that the name of the app is NOT displayed. Is that possible? If so, how? I can't figure it out...? Given the code below, I do NOT…
steph
  • 701
  • 2
  • 10
  • 30
1
vote
0 answers

django admin grappeli NestedStackedInline loading details with ajax call when expanded?

I am using grappelli-nested-inlines in my django admin panel, and I would like a bit improve the performance (looking on django debug toolbar's sql queries inspector there are tons of queries done). Is there some nice way to setup admin clss…
andilabs
  • 22,159
  • 14
  • 114
  • 151
1
vote
1 answer

jQuery datepicker localization in django admin 1.7 + django-grappelli 2.6.1

I'm still quite new to Django, so after finishing the official tutorial I'm trying to learn more by steps and attempts to solve common problems. I'm currently stuck with finding a (possibily correct) way to have localized datepickers in my app's…
Seether
  • 1,524
  • 1
  • 14
  • 28