0

I'm trying to add an add and edit link to my Django admin for the ForeignKey field category. I already have this on the schedule field, however this is handled by djcelery and i cannot figure out how they do this:

enter image description here

My categories field currently looks like this:

enter image description here

Both fields are simply added to the admin screen through a foreign key relation.

Is there any default settings for this in Django admin?

Ole Henrik Skogstrøm
  • 6,353
  • 10
  • 57
  • 89

1 Answers1

0

Facepalm! I got the desiredresult once i added a admin for categories:

admin.site.register(Category)

enter image description here

However, if any one know how to hide the Categories list from the main admin screen, please update my answer.

enter image description here

(Would also want to hide 'Categories' from this menu)

Ole Henrik Skogstrøm
  • 6,353
  • 10
  • 57
  • 89