Can't perform chmod on django-admin.py

2010-03-23 Thread irishsteve
Hi I've caused myself some problems by updating python then trying to change back. I'm nearly back up and running now, except I'm getting permission denied errors when I try to run django-admin.py commands. For example: $ django-admin.py syncdb -bash: /usr/bin/django-admin.py: Permission denied

Re: More PYTHONPATH issues

2010-03-23 Thread irishsteve
Have you set up the necessary sym links? See points 3 & 4 at the bottom of this page: http://docs.djangoproject.com/en/dev/topics/install/ On 23 Mar, 21:13, Riley wrote: > Hey all, > > I've done some extensive searching around this site, but no one's > advice seems to apply/fix the problem :( >

Re: Trying to reference a foreignKey in a modelAdmin class

2009-07-28 Thread irishsteve
reignKey field in list_filter that would mean 'competition' is ok, but 'competition.startDate' isn't a foreignKey, right? Any other suggestions? Thanks again, Steve On 28 July, 00:37, Karen Tracey wrote: > On Mon, Jul 27, 2009 at 6:01 PM, irishsteve wrote: > > > H

Trying to reference a foreignKey in a modelAdmin class

2009-07-27 Thread irishsteve
Hi I'm new to Django, so thanks in advance for taking the time to help me! I can't work out how to reference a foreignKey in the list_filter method. Here are the two relevant objects from my model: class Competition(models.Model): name = models.CharField("Event title", max_length=200)