Re: BooleanField trouble

2008-09-12 Thread Gremmie
On Sep 12, 11:14 am, Jason <[EMAIL PROTECTED]> wrote: > yeah, that did work .. I'm just surprised I have to go through that > extra step now, when > before 1.0 release it seems I didn't have too :/ Great, but why would you think assigning a string to a Boolean field would work in the first

Re: My CACHE FAQ ... A for Asked (Not Answered)

2008-09-12 Thread Gremmie
On Sep 12, 11:11 am, vbgunz <[EMAIL PROTECTED]> wrote: > > > > Q. At what point in time do the query arguments come into play for > > > CACHE_BACKEND? Is it only a certain combination of arguments? Does > > > CacheMiddleware, UpdateCacheMiddleware, FetchFromCacheMiddleware play > > > any part at

Re: Uploading JPEG image problem

2008-09-12 Thread Gremmie
On Sep 10, 9:21 pm, Rodney Topor <[EMAIL PROTECTED]> wrote: > And by the way, what is the recommended way to resize images to a > desired maximum size after uploading?  E.g., using an appropriate PIL > function? > I can't directly answer that, but you may want to check out the Photologue

Re: BooleanField trouble

2008-09-12 Thread Gremmie
On Sep 11, 11:55 pm, Jason <[EMAIL PROTECTED]> wrote: > I have a "true" or "false" string coming in from an ajax call to my > view. I'm then turning around and directly assigning that string from > the front end to my model object and saving it. > > Before the upgrade to django 1.0, the database

Re: My CACHE FAQ ... A for Asked (Not Answered)

2008-09-12 Thread Gremmie
On Sep 11, 7:58 am, vbgunz <[EMAIL PROTECTED]> wrote: > I was reading the Django definitive guide and practicing on 0.96.2 > *but* caching is seriously broken on that version. I mean seriously. > Almost all of my issues were gone with a simple upgrade. I switched > from the book to the docs but

When can you call urlresolvers.reverse()?

2008-09-09 Thread Gremmie
I ran into a problem this weekend, and I think I sort of understand why it was happening, but I would like some experts to check my reasoning :-). I wanted to add some help_text to a form field that included a link to another page of mine. I had something like this (from memory): class

Re: site using Django/mod_python/apache2 randomly showing "It worked!" page

2008-08-28 Thread Gremmie
On Aug 27, 8:18 pm, Richard Simões <[EMAIL PROTECTED]> wrote: > I have non-root access to a server with apache2 and mod_python. I > installed django with svn to a location in my home directory and > created a test project. When I go to a URL defined with urls.py and > views.py, 9/10 times the

Re: How to handle platform dependent settings?

2008-08-28 Thread Gremmie
On Aug 28, 12:15 am, David Zhou <[EMAIL PROTECTED]> wrote: > > If it's mostly paths that you need to change, check out: > > http://rob.cogit8.org/blog/2008/Jun/20/django-and-relativity/ > It is a lot more than dealing with relative paths. However this link takes the same approach as what I was

How to handle platform dependent settings?

2008-08-27 Thread Gremmie
I test my code locally on my PC using the XAMPP package, and deploy the real site on Linux with Apache. My code is all common, except for settings.py and urls.py. I'd rather not have 2 versions of these files and try to manage that in my SVN repository. I was thinking about doing something like

Re: Strategies for staying current with django development

2008-08-25 Thread Gremmie
On Aug 25, 8:06 pm, Gremmie <[EMAIL PROTECTED]> wrote: > Karen, I am using a customized admin template, so perhaps my auth > problem is related to that. Indeed, my admin/index.html needed an update. The {% get_admin_app_list as app_list %} stuff is now obso

Re: Strategies for staying current with django development

2008-08-25 Thread Gremmie
Thanks for the replies so far. I'm glad to hear someone thinks a dump and reload of the auth tables isn't necessary. Can I also assume that the model to database mapping hasn't changed, and I don't need to drop my model tables and reload? I did make a careful note of what rev I had django pinned

Strategies for staying current with django development

2008-08-25 Thread Gremmie
I checked out the latest django from SVN some 14 weeks ago and built a site with it. It rocks. :-). Yesterday, I decided to port my code to the latest to take advantage of the newforms-admin. I had to update my Photologue app also. A lot of stuff has changed! I am not quite there yet, but I can

Re: Google Maps API

2008-05-22 Thread Gremmie
On Mar 30, 8:08 pm, [EMAIL PROTECTED] wrote: > I have a field I'm using that shows where events are around our area > for sports collectors, what I'd like to do is implement Google Maps, > kind of like the Washington Post does here: > >

Re: RSS Syndication and iTunes Tags

2008-05-22 Thread Gremmie
On May 21, 3:31 pm, Gremmie <[EMAIL PROTECTED]> wrote: > I was considering using django to generate an RSS feed for a podcast. > iTunes likes it very much if you add some non-standard tags to the > xml. Is this there a way to leverage the existing slick syndication > feature

RSS Syndication and iTunes Tags

2008-05-21 Thread Gremmie
I was considering using django to generate an RSS feed for a podcast. iTunes likes it very much if you add some non-standard tags to the xml. Is this there a way to leverage the existing slick syndication feature of django but also get these tags into the feed?