Adding popups for edit

2011-02-02 Thread Dekker
Hi Django Admin includes Popups for adding (FK) records by clicking the "+"-image next to the foreign key. I would like to add an "edit"-button, that would allow for a popup to edit the currently selected entry. Can I "copy" the behaviour of the "+"-image (showAddAnotherPopup and dismissAddAnothe

How to access model_admin (ModelAdmin) in changeform-template?

2010-11-22 Thread Dekker
Summary: In Django 1.2.3 within the changeform.html the variable context["adminform"].model_admin --> {{adminform.model_admin}} is not accesible Longer description: On an admin form (changeform.html) I would like to generate a toolbar, which should show (for the moment) the same actions as the

Re: Help with installing MySQLdb package for Django on OS X Snow Leopard

2009-12-02 Thread James Dekker
Daniel, Under the Files tab, the only ones that are available are for Linux not OS X Snow Leopard... -James On Wed, Dec 2, 2009 at 1:37 AM, Daniel Roseman wrote: > On Dec 1, 11:23 pm, James Dekker wrote: > >> My problem, however, is that I can't seem to figure out h

Re: Help with installing MySQLdb package for Django on OS X Snow Leopard

2009-12-01 Thread James Dekker
e) Reading http://pypi.python.org/simple/ No local packages or download links found for MySQLdb error: Could not find suitable distribution for Requirement.parse('MySQLdb') On Dec 1, 2009, at 7:47 PM, James Dekker wrote: > Gene, > > That link / URL you sent me redirects to the Zope MyS

Re: Help with installing MySQLdb package for Django on OS X Snow Leopard

2009-12-01 Thread James Dekker
s on Snow Leopard- just get > the appropriate Snow Leopard MacPorts package, and replace python2.4 > with python2.6 in the instructions. > > Cheers > G > > On Dec 1, 3:23 pm, James Dekker wrote: >> Hello there, >> >> I am using Python 2.6.2 on OS X 10.6 ( Sno

Help with installing MySQLdb package for Django on OS X Snow Leopard

2009-12-01 Thread James Dekker
Hello there, I am using Python 2.6.2 on OS X 10.6 ( Snow Leopard ). Downloaded Django 1.1.1 and installed it by issuing: sudo python setup.py install Which placed Django-1.1.1-py2.6.egg-info and django dir inside the site-packages directory: /Library/Frameworks/Python.framework/Versions/2.6/