Extend user model: class inheritance or OneToOneField?

2012-07-13 Thread sdonk
Hi, I'm starting a new project and for the first time I need to extend the User model. I read the documentation and I googled a lot to try to figure out what is the best approach but I got confused. What's the the best approach? Class inheritance: from django.contrib.gis.db import models from

Re: Odd problem with static files and Lighttpd

2011-01-17 Thread sdonk
Changed the permission and all works good! Thanks. On Jan 17, 1:56 pm, "Cal Leeming [Simplicity Media Ltd]" wrote: > Hi Alex, > > Have you checked to make sure that /home/osmtools/mymedia has read-able > permissions for the lighttpd user? > > Cal > > On Mo

Odd problem with static files and Lighttpd

2011-01-17 Thread sdonk
Hi to everybody, I'm facing with a curious problem with Lighttpd and static files serving. Media admin is served by Lighttpd, but mymedia is not served by Lighttpd. This is a snippet of my lighttpd.conf alias.url = ( "/mymedia/" => "/home/osmtools/mymedia/", "/media/" => "/usr/lib