Re: clean up media file

2012-07-15 Thread ephan
Thanks, was looking for something like this. On Jul 14, 4:55 pm, -RAX- wrote: > Hi all, > > I am opensourcing a tool for cleaning all the media upload files. > It is basically browsing your DB and deleting all the media files which are > not linked by the DB. > > We implemented this tool since dj

Re: clean up media file

2012-07-15 Thread ephan
Thanks, was looking for something like this. On Jul 14, 4:55 pm, -RAX- wrote: > Hi all, > > I am opensourcing a tool for cleaning all the media upload files. > It is basically browsing your DB and deleting all the media files which are > not linked by the DB. > > We implemented this tool since dj

Re: Not reading from TEMPLATE_DIRS in settings.py

2012-08-14 Thread ephan
Have you checked the permissions of the directory and template files? run ls -l in the parent directory of the template folder and inside the folder itself . madala wrote: > Have followed tutorial 2 instructions carefully. So far everything has > worked as described in tutorials but cannot get djan

Unique Id issue

2012-12-11 Thread ephan
Hi all, Am in a bit of a fix which I put myself in,I have the following models: class Town(...): name = models.CharField(unique=true) province = models.foreignKey(Province) class Area(): name = models.CharField(unique=true,max_length=120) town = models.CharField(Town) The

Re: Implementing a monitoring system with django.

2012-12-11 Thread ephan
Depending on what you need for the graphs,have a look at flot,jqplot or rapheal.js(heavy).There is also high charts althought there are some licensing issues you may want to avoid. If you get stuck with the charts,let me know..am running some. On Tuesday, December 11, 2012 11:09:06 PM UTC+2, Ma

Re: 1.5 custom user model: Add User with default UserCreationForm results in "no such table: auth_user"

2013-05-06 Thread ephan
Thanks alot Eric and Russel,I was also stuck on this. I can also confirm that you have to override clean_username in addition to the class Meta ,otherwise you will get a database error. On Wednesday, February 27, 2013 9:15:53 PM UTC+2, Eric Psalmond wrote: > > Hi everyone, > > After a bit of se