Re: Instant Django

2007-07-23 Thread rtconner
Jazz is good music. I suppose you've never seen a good Jazz trio play at a nice club while you sip some wine with a lovely woman. Otherwise you would like Jazz a little more. On Jul 23, 9:14 am, cjl <[EMAIL PROTECTED]> wrote: > Group: > > Over the last few weeks I put up a little website called

Re: Flash Message template tag

2007-07-22 Thread rtconner
://www.djangosnippets.org/snippets/319/ On Jul 16, 6:27 am, "James Bennett" <[EMAIL PROTECTED]> wrote: > On 7/15/07, rtconner <[EMAIL PROTECTED]> wrote: > > > So one of the (very few) things I had not been happy with regarding > > Django is its flash message handling.

Re: Wanted A PERSON design a software (account number, the password producer )

2007-07-22 Thread rtconner
On Jul 22, 9:17 am, Derek Anderson <[EMAIL PROTECTED]> wrote: > Tim Chase wrote: > > Or, if you're away from the web, [...] > > because his secretary prints out and hand-delivers his emails? ;-P That was funny. :P --~--~-~--~~~---~--~~ You received this message

Re: Flash Message template tag

2007-07-15 Thread rtconner
Yeah I could not get http://www.djangosnippets.org to work. Every time I tried to add a snippet I got an error. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Flash Message template tag

2007-07-15 Thread rtconner
I'll just quote myself on that one.. "So I don't know where to post this" Nice site, yeah I'll post it on there. On Jul 15, 1:32 pm, Christian Joergensen <[EMAIL PROTECTED]> wrote: > rtconner wrote: > > Oh yeah I also wrote a FlashMsgMiddleware that makes this even ea

Re: Flash Message template tag

2007-07-15 Thread rtconner
Oh yeah I also wrote a FlashMsgMiddleware that makes this even easier. It's not needed at all, but it'll save you a line of code here and there. I can't post it if anyone wants it. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Flash Message template tag

2007-07-15 Thread rtconner
Hey Djangonauts, So one of the (very few) things I had not been happy with regarding Django is its flash message handling. So I wrote something that would make me happy. Its just a template tag add-on. Since so far Django has been so great to me, I wanted to give a little bit back. So I don't

Re: Modify Session in TemplateTag?

2007-07-05 Thread rtconner
Gah dumb groups thinking I was quoting something... del context['request'].session['some key'] sess = SessionMiddleware() http = HttpResponse() sess.process_response(context['request'], http) --~--~-~--~~~---~--~~ You received this message because you are

Modify Session in TemplateTag?

2007-07-05 Thread rtconner
So I realize I'm doing something non-standard here, but still I have my reasons, and if I can pull this off, it'll make life easier for me in the future. .. is it possible to save to the Session within a TemplateTag? I don't really see how it is, but I'm hoping someone knows something that I

Re: Questions about Django Templating

2007-07-02 Thread rtconner
Well I want my subject back, and I'll fight for it if I have to. On Jul 2, 9:21 am, "Bryan L. Fordham" <[EMAIL PROTECTED]> wrote: > oh wow, I don't know how I managed to send that to this list. That was a > reply to a private email, having nothing to do with Django. Obviously. > > Sincere

Re: Questions about Django Templating

2007-07-02 Thread rtconner
Hey, don't hijack my thread, get your own ;) On Jul 1, 11:45 pm, "nick feng" <[EMAIL PROTECTED]> wrote: > Hi All, > > I plan to build a django-based website for open-sourcing these days, I have > read the django-book. > Since my limited knowledge of web developing(this is my first time to

Re: Questions about Django Templating

2007-07-02 Thread rtconner
thanks for the quick responses. I'll take more comments if anyone has anything else to add. Its been a very educational day already :) On Jul 1, 11:17 pm, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote: > On 7/1/07, rtconner <[EMAIL PROTECTED]> wrote: > > > > >

Questions about Django Templating

2007-07-01 Thread rtconner
Hello Djangoes (Djangoers?), I've spent a good amount of time familiarizing myself with Django, writing my own blog and plugging in the Polls tutorial. I'm very close to really liking (almost loving) Django. I've just got a few small annoyances I want to ask about. They all, oddly enough, have

Re: MySQLdb trouble

2007-06-22 Thread rtconner
And dangit how odd. MySQLdb works fine when I run >manage.py shell. On Jun 22, 1:16 pm, rtconner <[EMAIL PROTECTED]> wrote: > When I try to use MySQL .. I get this error.. > > ImproperlyConfigured: Error loading MySQLdb module: No module named > pkg_resources >

MySQLdb trouble

2007-06-22 Thread rtconner
When I try to use MySQL .. I get this error.. ImproperlyConfigured: Error loading MySQLdb module: No module named pkg_resources args = ('Error loading MySQLdb module: No module named pkg_resources',) Django works fine, as long as I don't connect to the database. I used the latest SVN

Re: FastCGI Shared host

2007-06-19 Thread rtconner
Nothing? :( I'll keep hammering at the thing trying different things.. but I'm sad I can't get this to work with FastCGI at all. On Jun 19, 9:46 am, rtconner <[EMAIL PROTECTED]> wrote: > I set APPEND_SLASH to false, I no longer get the APPEND_SLASH error, > but I still get the

Re: FastCGI Shared host

2007-06-19 Thread rtconner
I set APPEND_SLASH to false, I no longer get the APPEND_SLASH error, but I still get the WSGI errors. On Jun 19, 2:18 am, Jens Diemer <[EMAIL PROTECTED]> wrote: > rtconner schrieb: > > > ~/www/django> python mysite.fcgi > > ... > >

Re: FastCGI Shared host

2007-06-18 Thread rtconner
On second though.. nope, I still get a ton of errors... WSGIServer: missing FastCGI param REQUEST_METHOD required by WSGI! WSGIServer: missing FastCGI param SERVER_NAME required by WSGI! WSGIServer: missing FastCGI param SERVER_PORT required by WSGI! WSGIServer: missing FastCGI param

Re: FastCGI Shared host

2007-06-18 Thread rtconner
On Tue, 2007-06-19 at 01:54 +, rtconner wrote: > > > I followed the instruction at the bottom of this page: > > >http://www.djangoproject.com/documentation/fastcgi/ > > > I can't seem to get this running on a shared host. I've also try using > > > the WSG

Re: FastCGI Shared host

2007-06-18 Thread rtconner
18, 8:07 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Tue, 2007-06-19 at 01:54 +0000, rtconner wrote: > > I followed the instruction at the bottom of this page: > >http://www.djangoproject.com/documentation/fastcgi/ > > I can't seem to get this running on a sh

Re: Authentication expiration time

2007-06-17 Thread rtconner
seconds). You can try 'remember' user login > by closing browser without clicking 'Log out' button. Nex time your visite > that page, you can access it without re-login. > > For security reason, you can set cookie to ' > SESSION_EXPIRE_AT_BROWSER_CLOSE' to True. > > 2007/6

Authentication expiration time

2007-06-16 Thread rtconner
Hello, I'm new to DJango, but have used other frameworks. (http://www.djangoproject.com/documentation/authentication/) I love the fairly complete docs on authentication. I had one question which did not get answered. Is there any concept of login expiration time implemented in the builting