Re: Blog engine

2007-07-17 Thread David Reynolds
[0] has spam protection and moderation. RSS feeds are easily done within Django [1] Next? 0 - http://www.b-list.org/weblog/2007/06/25/hacking-comments-without- hacking-comments 1 - http://www.djangoproject.com/documentation/syndication_feeds/ -- David Reynolds [EMAIL PROTECTED

Re: Bulk data upload

2007-07-18 Thread David Reynolds
y, but how do I automagically assign the images with the product, having in mind that some might have 5 pics and others might have 2 or none. What about CSV? You can export from Excel as CSV pretty easily and it's a fairly easy format to parse in python... Thanks, Dave -- David Reyno

Re: Blog engine

2007-07-23 Thread David Reynolds
(I did this for Magnolia recently.) http://code.google.com/p/jellyroll/ Pretty sure I mentioned most of these earlier in the thread... -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic signature

Re: mod_python, multiple django-sites, memory usage

2007-07-24 Thread David Reynolds
the more sites we get, the worse this problem will get and it may be wise for us to look into using mod_fastcgi in future. Does anyone have any experience of using fastcgi with 30 odd sites? Thanks, David -- David Reynolds [EMAIL PROTECTED] smime.p7s Description: S/MIME cryptographic

Re: User profile and sliding date range data model?

2007-03-30 Thread David Reynolds
me is that it doesn't handle leap years properly. However, if you use python-dateutil[1] it has a relativedelta so you can do things like: >>> datetime.date.today()+relativedelta(years=+3) datetime.date(2010, 3, 30) .. which will take into account leap years too. -- David Reynold

Re: User profile and sliding date range data model?

2007-03-30 Thread David Reynolds
On 30 Mar 2007, at 9:21 am, David Reynolds wrote: > > One of the things that annoys me about datetime is that it doesn't > handle leap years properly. However, if you use python-dateutil[1] it > has a relativedelta so you can do things like: > >>>> datetime.date.tod

Re: Admin History - Date not formatted

2007-04-05 Thread David Reynolds
46FalseFalse > > I am using Windows with timezone (GMT +10:00 Canberra, Melbourne, > Sydney) and have set the settings.py variable to "Australia/Melbourne" > > Does anyone know why Django is doing this? Set USE_I18N to true in your settings.py Than

Re: Admin History - Date not formatted

2007-04-05 Thread David Reynolds
On 5 Apr 2007, at 1:35 pm, Malcolm Tredinnick wrote: >> Set USE_I18N to true in your settings.py > > We fixed ticket #3918 today (in [4931]), so this problem is fixed > in the > very latest code, too. Even better. Thanks Malcolm :) -- David Reynold

Re: Almost there: A little help in how template dirs under Linux

2006-06-30 Thread David Reynolds
On 29 Jun 2006, at 5:03 am, mamcxyz wrote: > > I forgot to add this details: > > django is installed in /root/django_src > > The project is in > > /root/vulcano/jhonWeb/ This is a bit off-topic, but you shouldn't really run things as root, if at all possible. C

Re: Packaging django/flup for ubuntu

2006-07-05 Thread David Reynolds
ely he may help with the nightly builds. His site is at: http://www.sommitrealweird.co.uk/ With the Ubuntu packages here: http://www.sommitrealweird.co.uk/ubuntu/ and the Debian packages (funnily enough) here: http://www.sommitrealweird.co.uk/debian/

Re: Camino and Safari do not open feeds

2006-07-13 Thread David Reynolds
the development server? I've found these don't tend to work in the development server in Safari, but you when you make sure app live at a 'proper' url they will work. Cheers, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this me

Accessing Post variables in _post_save

2006-01-03 Thread David Reynolds
Hi, I'm sure there's a way, but I can't for the life of me work out how you could get access to POST variables in the _post_save functions. Can anyone help? Regards David -- David Reynolds [EMAIL PROTECTED]

Re: Overiding the Default Flatpage template

2006-03-03 Thread David Reynolds
On 3 Mar 2006, at 10:02 am, [EMAIL PROTECTED] wrote: > > Hi All, > > The docs mentioned that you can override the default template for a > paticular flat page. I need to do this but do not know how ( though > I'm trying to figure it out) > > Grateful for any assistance. When you add the page

Re: sorry for the stupid noob question - kwarg?

2006-06-05 Thread David Reynolds
ed out, and the keyword arguments > into a dictionary called 'kwargs' -- the names serve as a reminder of > what they're for -- and then the list and the dictionary are handed > off to the function. Thanks for clearing that up, I'd often wondered what they were ;) Cheers, Dave

Subclassing in Trunk

2006-06-07 Thread David Reynolds
way of doing it added and what sort of timescales are on this? Cheers, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this g

Problem with _post_save() on 0.9.1

2006-06-20 Thread David Reynolds
it, it seems to execute the _post_save and then save to the database, hence sending an old version of the email. Am I being stupid or is this a known bug? Regards, David -- David Reynolds [EMAIL PROTECTED] --~--~-~--~~~---~--~~ You received this message

<    1   2