[Django] #24856: raw_id_fields popup missing

33 views
Skip to first unread message

Django

unread,
May 26, 2015, 2:02:13 AM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: new
Component: contrib.admin | Version: 1.8
Severity: Normal | Keywords:
Triage Stage: Unreviewed | Has patch: 0
Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------
Hi,

My usual development server is running 1.7.x.
Downloaded 1.8.2 today and copied my existing project over to 1.8.2.

The popup for raw_id_fields seems to be missing. It was working on 1.7.x


{{{
raw_id_fields = ('cust', )
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24856>
Django <https://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.

Django

unread,
May 26, 2015, 7:41:22 AM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed
Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by timgraham):

* status: new => closed
* needs_better_patch: => 0
* resolution: => worksforme
* needs_tests: => 0
* needs_docs: => 0


Comment:

I had no trouble adding this to the tutorial:
{{{
class ChoiceAdmin(admin.ModelAdmin):
raw_id_fields = ('question',)
}}}
We'll need more details such as steps to reproduce or a sample project we
can download to see the error.

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:1>

Django

unread,
May 26, 2015, 7:54:22 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by liwee):

I started a new project based on the tutorial. I have attached relevant
screens as well

models.py

{{{
class Customer(models.Model):
name = models.CharField(max_length=200)

class Task(models.Model):
cust = models.ForeignKey(Customer)
}}}

admin.py

{{{
from .models import *

class TaskAdmin(admin.ModelAdmin):
raw_id_fields = ('cust',)

admin.site.register(Task, TaskAdmin)
admin.site.register(Customer)
}}}

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:2>

Django

unread,
May 26, 2015, 7:54:38 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by liwee):

* Attachment "9.PNG" added.

Django

unread,
May 26, 2015, 7:54:46 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by liwee):

* Attachment "10.PNG" added.

Django

unread,
May 26, 2015, 7:54:52 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by liwee):

* Attachment "11.PNG" added.

Django

unread,
May 26, 2015, 8:38:10 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by timgraham):

What browser? Any JavaScript errors in the console?

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:3>

Django

unread,
May 26, 2015, 10:09:52 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by liwee):

chrome Version 43.0.2357.81 m
attached javascript console output below

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:4>

Django

unread,
May 26, 2015, 10:10:10 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by liwee):

* Attachment "9_javascript.PNG" added.

Django

unread,
May 26, 2015, 10:10:19 PM5/26/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------
Changes (by liwee):

* Attachment "10_javascript.PNG" added.

Django

unread,
Jun 1, 2015, 8:23:09 PM6/1/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by liwee):

The popup works in IE 11.

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:5>

Django

unread,
Jun 1, 2015, 8:32:45 PM6/1/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by timgraham):

Are you using any third-party apps? "grp" in the JavaScript console
suggests django-grappelli to me. The string "grp" doesn't exist in the
Django repo.

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:6>

Django

unread,
Jun 2, 2015, 2:49:52 AM6/2/15
to django-...@googlegroups.com
#24856: raw_id_fields popup missing
-------------------------------+--------------------------------------
Reporter: liwee | Owner: nobody
Type: Bug | Status: closed
Component: contrib.admin | Version: 1.8
Severity: Normal | Resolution: worksforme
Keywords: | Triage Stage: Unreviewed

Has patch: 0 | Needs documentation: 0
Needs tests: 0 | Patch needs improvement: 0

Easy pickings: 0 | UI/UX: 0
-------------------------------+--------------------------------------

Comment (by liwee):

I see, yes, I am using django-grappelli.

Ran a few more tests on the clean project (without django-grappelli)
1. work in IE 11
2. work in chrome (incognito mode)
3. does not work in chrome (normal mode)

Since the same behaviour occurred initially when I created a clean
project, it did not even occur to me that django-grappelli could be the
culprit. Appreciate the advice. Thank you.

--
Ticket URL: <https://code.djangoproject.com/ticket/24856#comment:7>

Reply all
Reply to author
Forward
0 new messages