Re: django problem at dreamhost

2006-03-20 Thread Jaanus
limodou wrote: > It'll setup a app named appname in current directory, but not apps > directory. So if you want to create a new app in apps directory, you > should go into apps directory, and run the django-admin.py. Or create > the app manually it easy. I can understand this and this all makes s

on line chages

2006-03-20 Thread Mary Adel
Dear all, I need to ask a simple question and i hope u can help me :) is their any facility that can let user of django cms see the changes that he is doing and how the page will look like before clicking on save changes button cause may be he will not like the change when he submit it and he cha

Re: on line chages

2006-03-20 Thread limodou
On 3/20/06, Mary Adel <[EMAIL PROTECTED]> wrote: > > Dear all, > > I need to ask a simple question and i hope u can help me :) > is their any facility that can let user of django cms see the changes > that he is doing and how the page will look like before clicking on save > changes button cause m

Re: OneToOneField

2006-03-20 Thread bruno desthuilliers
layik wrote: > is the bug fixed? Which one ? and in which version ? > I didnt quite understand the previous topics. > could anyone please tel me what I need to be aware of when trying to > extend tables and using OneToOneField > > many thanks > > > > > -- bruno desthuilliers développeu

ManyToManyField corrupts headers

2006-03-20 Thread burivuh
Situation: Django 0.91, common CGI through WSGI, many-to-many fields with only one available choice (for example, use flatpages and try to add new flat page - you'll see error) Look at the line after #question target fields.py: ManyToManyField: def flatten_data(self, follow, obj = None):

magick-removal: Suggestion

2006-03-20 Thread Viktor Kerkez
Hi everyone, Before starting I want to give one Hip Hip Hooray for the m-r branch :) Now to start ;). There is one thing that bugs me with the naming convention in Django. All classes in the django/forms have the same *Field* ending, which is 100% OK because they really are fields. But also

Re: django problem at dreamhost

2006-03-20 Thread Adrian Holovaty
On 3/20/06, Jaanus <[EMAIL PROTECTED]> wrote: > I can understand this and this all makes sense. What doesn't make sense > though, is that if the app lives in the "apps" directory, Django tells > me "no module named apps" - although all the settings are correct and > it works in another host with t

Re: magick-removal: Suggestion

2006-03-20 Thread Ivan Sagalaev
Viktor Kerkez wrote: >The suggestion is to rename the classes from django/db/models/fields to, >for example: IntegerColumn, TextColumn or IntegerCol, CharCol... (thats >what they really are... columns in tables...) > > I'd rather rename form field classes to *FormField. They are used less fr

Re: magick-removal: Suggestion

2006-03-20 Thread James Bennett
On 3/20/06, Viktor Kerkez <[EMAIL PROTECTED]> wrote: > The suggestion is to rename the classes from django/db/models/fields to, > for example: IntegerColumn, TextColumn or IntegerCol, CharCol... (thats > what they really are... columns in tables...) I'd be against it conceptually, because they do

Re: magick-removal: Suggestion

2006-03-20 Thread Adrian Holovaty
On 3/20/06, Viktor Kerkez <[EMAIL PROTECTED]> wrote: > The suggestion is to rename the classes from django/db/models/fields to, > for example: IntegerColumn, TextColumn or IntegerCol, CharCol... (thats > what they really are... columns in tables...) Hey Viktor, Thanks for taking the time to make

session auto-logout

2006-03-20 Thread sam
A newbie question: I am using Django admin's authentication to do login/logout for my own application. I want to automatically log user out if no activity for 5 minutes. I read the session tutorial and played a bit with SESSION_COOKIE_AGE -- but it doesn't work for me. Any suggestion appreciated.

Re: magick-removal: Suggestion

2006-03-20 Thread Viktor Kerkez
Ok, I still think that its conceptually wrong to have two completely different sorts of objects shareing the same name... But You're the bosses ;) Thanks for the time. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: magick-removal: Suggestion

2006-03-20 Thread Glenn Tenney
On Mon, Mar 20, 2006 at 08:57:53PM +0100, Viktor Kerkez wrote: > Ok, I still think that its conceptually wrong to have two completely > different sorts of objects shareing the same name... As a friend of mine reminded me, part of your perception feeding that conception is that you're still thin

Re: magick-removal: Suggestion

2006-03-20 Thread Viktor Kerkez
Glenn Tenney wrote: > As a friend of mine reminded me, part of your perception feeding that > conception is that you're still thinking of these as being columns in > a table... when in fact they are classes derived from FormField (and > you can derive your own classes from FormField or even from o

Re: magick-removal: Suggestion

2006-03-20 Thread Max Battcher
Viktor Kerkez wrote: > Glenn Tenney wrote: >> As a friend of mine reminded me, part of your perception feeding that >> conception is that you're still thinking of these as being columns in >> a table... when in fact they are classes derived from FormField (and >> you can derive your own classes fr

Re: django problem at dreamhost

2006-03-20 Thread Jaanus
> Does the "apps" directory have an __init__.py file in it? Generally > that "no module named..." error signifies there's no __init__.py. ha! that may have been it. killed apps now so cant check, but this may have been it. thanks for the pointer. -- rgds, Jaanus --~--~-~--~~-

Re: OneToOneField

2006-03-20 Thread layik
bruno desthuilliers wrote: > layik wrote: > > is the bug fixed? > > Which one ? and in which version ? > > > I didnt quite understand the previous topics. > > could anyone please tel me what I need to be aware of when trying to > > extend tables and using OneToOneField > > > > many thanks > > > >

Re: OneToOneField

2006-03-20 Thread Kenneth Gonsalves
On Tuesday 21 Mar 2006 5:52 am, layik wrote: > Class member: > username = meta.foreignKey (users) > email = charfield this is not onetoone -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க! --~--~-~--~~~---~--~~

django pastebin

2006-03-20 Thread Kenneth Gonsalves
hi, dunno if it is possible, but could the default language in django pastebin be set to python instead of php? -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க! --~--~-~--~~~---~--~~ You received this message

Re: django pastebin

2006-03-20 Thread limodou
On 3/21/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > dunno if it is possible, but could the default language in django > pastebin be set to python instead of php? I don't understand what you are talking about? -- I like python! My Blog: http://www.donews.net/limodou NewEdit Mailli

Re: django pastebin

2006-03-20 Thread Julio Nobrega
On 3/20/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > dunno if it is possible, but could the default language in django > pastebin be set to python instead of php? > -- I get Python already selected when I access http://django.pastebin.com/ -- Julio Nobrega - http://www.inerciasen

Re: Quick thanks to django team - I deployed my first app

2006-03-20 Thread Aaron
I can't post the full code, it was written for a client and has some secret sauce that I am not at liberty to share, but I'll try to find the time to develop a santized example. In the meantime here is the relevent model part. the thing being reserved is the server, but it could really be anythin

Re: django pastebin

2006-03-20 Thread Kenneth Gonsalves
On Tuesday 21 Mar 2006 8:01 am, Julio Nobrega wrote: > I get Python already selected when I access > http://django.pastebin.com/ i get php -- regards kg http://www.livejournal.com/users/lawgon tally ho! http://avsap.org.in ಇಂಡ್ಲಿನಕ್ಸ வாழ்க! --~--~-~--~~~---~--~---