Re: Multiple stackinline all sharing relation need assistance

2012-12-06 Thread Andrew Macgregor
Hi, I think you may need to add a queryset() method on your InlineModelAdmin and filter by user. https://docs.djangoproject.com/en/dev/ref/contrib/admin/#inlinemodeladmin-options You can use the example from ModelAdmin:

Re: Limiting the entry that loaded in django admin.

2012-12-03 Thread Andrew Macgregor
On 04/12/2012, at 12:13 PM, bolang wrote: > Hi all, > need some input here. > > I have a site with > 15000 images, using django photologue. > > When we create a Post (that has Images field in it) from django admin, > all of the images will be loaded in a dropdown. > > Before this, it was not

Re: Easiest way to access MySQL from Django on Mac OS X?...

2012-09-23 Thread Andrew Macgregor
Hi Fred, I've also found HomeBrew to be useful. Here's a good setup guide: http://www.thisisthegreenroom.com/2011/installing-python-numpy-scipy-matplotlib-and-ipython-on-lion/ Cheers, Andrew. On Monday, September 24, 2012 2:02:37 AM UTC+8, Fred Stluka wrote: > > Resolved this on my own.

Re: Setting an unusable password on an existing user

2012-09-21 Thread Andrew Macgregor
AFAIK you can set it to ! in the admin interface. Don't use the change password form, just enter ! into the password field on the Auth User table. I believe this will cause has_usable_password() to return False. Cheers, Andrew. On Friday, September 21, 2012 2:16:22 PM UTC+8, nav wrote: > > Hi,