Re: Help getting my GeoDjango setup.

2012-10-18 Thread Shannon Collins
Last i checked, WebFaction will set up a database for you with the PostGIS template if you submit a ticket to support. i bet they could also point to you some documentation or a forum post about what you're trying to do as well. -- You received this message because you are subscribed to the Goog

Re: can't get comment moderation working, following docs

2009-08-11 Thread shannon
Edit: correct url is http://dpaste.com/78282/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from this group, se

Re: FileField/ImageField and the sites framework

2009-07-02 Thread shannon
Sites are on the same box. Really, i'm just trying to make a proof of concept: each site is just a settings file, media directory, and templates directory. They all share a database. i could use a common MEDIA_ROOT, but just didn't want to. Is there a way to have a secondary media location and

Leopard deploy directory?

2009-04-13 Thread Shannon
Hi -- I am working on a django-powered site on Leopard server. Where is the recommended/conventional deployment directory? Every example I see uses a particular user's home directory, but that does not seem appropriate for a production-level site. I'm fairly new to the Leopard environment and a

Re: secure argument to set_cookie should accept False

2006-11-01 Thread Shannon -jj Behrens
On 11/1/06, Don Arbow <[EMAIL PROTECTED]> wrote: > On Nov 1, 2006, at 4:19 PM, Shannon -jj Behrens wrote: > > Hi, > > I'm looking at > ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199. > It seems very natural to pass a value of False

secure argument to set_cookie should accept False

2006-11-01 Thread Shannon -jj Behrens
Hi, I'm looking at ttp://code.djangoproject.com/browser/django/trunk/django/http/__init__.py#L199. It seems very natural to pass a value of False to the secure argument instead of None, but if you do this, it gets treated as if you passed secure=True. That's because the code is checking for eq

Re: recursive template calls

2006-02-13 Thread Shannon -jj Behrens
On 2/11/06, Robert Wittams <[EMAIL PROTECTED]> wrote: > > Shannon -jj Behrens wrote: > >> You don't *need* recursion on templates for threaded messages like > >>your example app, that's exactly the point :) > > > > > > Julio,

Re: recursive template calls

2006-02-09 Thread Shannon -jj Behrens
> You don't *need* recursion on templates for threaded messages like > your example app, that's exactly the point :) Julio, with all due respect for your programming prowess, I *like* recursion. It can often make hard problems easy, even when generating HTML. Anyway, I figured out how to solv

Re: recursive template calls

2006-02-08 Thread Shannon -jj Behrens
Sorry, guys, I'm confused. I *did* search before posting, but wasn't able to find a full answer. I saw someone doing the bulletin board example, but I never found out how to recursively call a template. Must I use the non Django {% recurse %} custom tag? Thanks, -jj On 2/8/06, Max Battcher <[

recursive template calls

2006-02-07 Thread Shannon -jj Behrens
Hi, I'm trying to build ye ol' bulletin board application to try out Django. I'm having a hard time outputting the hierarchy of messages. I can't figure out how to use recursion in templates. I also need to be able to treat a template "like a function" passing arguments. How should I be think