8000 :pencil: Adds venue to EventAdmin.raw_id_fields (#1189) · python/pythondotorg@e17bb48 · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit e17bb48

Browse files
authored
📝 Adds venue to EventAdmin.raw_id_fields (#1189)
Signed-off-by: Jeff Triplett <jeff.triplett@gmail.com>
1 parent 7b76446 commit e17bb48

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

events/admin.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ class EventAdmin(ContentManageableModelAdmin):
3333
inlines = [OccurringRuleInline, RecurringRuleInline, AlarmInline]
3434
list_display = ['__str__', 'calendar', 'featured']
3535
list_filter = ['calendar', 'featured']
36+
raw_id_fields = ['venue']
3637
search_fields = ['title']
3738

3839

0 commit comments

Comments
 (0)
0