Django Admin add edit/create buttons to Parent
<p>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:</p>

<p><a href="http://i.stack.imgur.com/1DtMB.png" rel="nofollow"><img src="http://i.stack.imgur.com/1DtMB.png" alt="enter image description here"></a></p>

<p>My categories field currently looks like this:</p>

<p><a href="http://i.stack.imgur.com/GJ6M6.png" rel="nofollow"><img src="http://i.stack.imgur.com/GJ6M6.png" alt="enter image description here"></a></p>

<p>Both fields are simply added to the admin screen through a foreign key relation.</p>

<p>Is there any default settings for this in Django admin?</p>

<p>Facepalm! I got the desiredresult once i added a admin for categories:</p>

<pre><code>admin.site.register(Category)
</code></pre>

<p><a href="http://i.stack.imgur.com/J7dHK.png" rel="nofollow"><img src="http://i.stack.imgur.com/J7dHK.png" alt="enter image description here"></a></p>

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

<p><a href="http://i.stack.imgur.com/Vwy0B.png" rel="nofollow"><img src="http://i.stack.imgur.com/Vwy0B.png" alt="enter image description here"></a></p>

<p>(Would also want to hide 'Categories' from this menu)</p>

python django django-admin celery django-celery