Re: Ideas for /examples/ directory

2006-04-18 Thread Ian Holsman
Hi Adrian. I'd love to see an example which uses the 'dispatcher' class. also .. MySQL (or someone related to them) have released a demonstration database called 'Sakila' http://www.openwin.org/mike/index.php/archives/2006/04/sakila-08/ we might want to build a example which does have a backend

Re: Ideas for /examples/ directory

2006-04-18 Thread Amit Upadhyay
On 4/17/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote: One quick constraint: None of the examples should require a database.Asking people to install database tables just to view examples isn'tacceptable, IMO.How about shipping a prepopulated sqlite db? To avoid dependency I recommend splitting the

Re: A problem of js option of Admin options

2006-04-18 Thread Nebojsa Djordjevic
huangyi wrote: > class Admin: > js = [url,] > > django always translate url to 'admin_media/'+url > > I think > > if url.startswith('http://'): > url > else: > 'media/'+url > > is better. > > OR always translate url to 'custom_media/'+url , > > because this *IS* custom j

Re: Ideas for /examples/ directory

2006-04-18 Thread Jacob Kaplan-Moss
On Apr 18, 2006, at 3:30 AM, Amit Upadhyay wrote: > How about shipping a prepopulated sqlite db? To avoid dependency I > recommend splitting the distribution in django, and django-dev? > django, bare minimum for deployment, django-dev with examples and > whatnot? Seems like a pretty good id

Re: Ideas for /examples/ directory

2006-04-18 Thread Gábor Farkas
Jacob Kaplan-Moss wrote: > On Apr 18, 2006, at 3:30 AM, Amit Upadhyay wrote: >> How about shipping a prepopulated sqlite db? To avoid dependency I >> recommend splitting the distribution in django, and django-dev? >> django, bare minimum for deployment, django-dev with examples and >> whatno

Re: Ideas for /examples/ directory

2006-04-18 Thread Max Battcher
Ian Holsman wrote: > Hi Adrian. > > I'd love to see an example which uses the 'dispatcher' class. > > also .. MySQL (or someone related to them) have released a > demonstration database called 'Sakila' > http://www.openwin.org/mike/index.php/archives/2006/04/sakila-08/ > we might want to build a

Re: Ideas for /examples/ directory

2006-04-18 Thread Ian Clelland
On 4/18/06, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > Seems like a pretty good idea to me -- especially since Python 2.5 > will ship with the sqlite driver in the standard library. Is Python 2.5 going to be a dependency of 0.92, by the time m-r gets merged back into it? ;) More seriously, t

Re: Ideas for /examples/ directory

2006-04-18 Thread Adrian Holovaty
On 4/18/06, Ian Clelland <[EMAIL PROTECTED]> wrote: > More seriously, though, I've been seeing more Python 2.4-isms showing > up in the documentation (and occasionally into code) recently -- are > there plans to make the next release dependent on anything greater > than 2.3? The plan is to keep s

Slug JS stopped working in M-R?

2006-04-18 Thread Rudolph
Hi, It seems like the Javascript for a SlugField stopped working in the current revision of M-R. Or is it me messing things up... Does anyone else experience this? Rudolph --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Google SOC: Call for Mentors

2006-04-18 Thread Jacob Kaplan-Moss
Howdy fellow Djangonauts -- Django has just been approved as a sponsoring org for the Google Summer of Code. I've put details on our wiki at http:// code.djangoproject.com/wiki/SummerOfCode2006. If you'd like to be a mentor, you can sign up at http:// code.google.com/soc/mentor_step1.html;

Re: Ideas for /examples/ directory

2006-04-18 Thread Eugene Lazutkin
Adrian Holovaty wrote: > > The plan is to keep support for 2.3 indefinitely. If you do find any I think it is a little bit too over the top. I would propose to support 2.3 for 1 year after major Linux distros come with Python 2.4 (or 2.5) by default. Thanks, Eugene --~--~-~--~~

Re: CsrfMiddleware

2006-04-18 Thread SmileyChris
I think it'd be great, Luke. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.com To unsubscribe from this group, send em

last insert id

2006-04-18 Thread Mathieu Blondel
Hi, I'm a new comer to Django so please forgive me if the following has already a solution. When one saves an object with the save() method, a common need is to get the id corresponding to the row that has just been inserted. p = polls.Poll(...) p.save() p.id # is set to None So here are two

Re: Google SOC: Call for Mentors

2006-04-18 Thread Sandro
Congrats on being accepted! looking forward to see how this turns out --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To post to this group, send email to django-developers@googlegroups.c