Re: mod_python whoes

2006-08-30 Thread Frank Stüss
Thanks to you. So it is like it is. No short changes on a virtually hosted production server with mod_python :) And my second problem doesn't belong in this list. After googling again i found that it may be caused by a wrong compiled mod_python (two mod_python versions with to python

Re: Are there significant differences between .95 & .96?

2006-08-30 Thread Adrian Holovaty
On 8/30/06, keukaman <[EMAIL PROTECTED]> wrote: > Somewhere in this process my flatpages middleware stopped working. I > was getting a python error when trying to access flatpages. I don't > know if something was corrupted of if .96 handles flatpages > differently. If anyone can shed some light

Re: Django deployment tools?

2006-08-30 Thread [EMAIL PROTECTED]
Joseph Heck wrote: > Have you used it for your own deploys? I'm curious how well it worked for > you. I looked at it, but decided to roll my own tools for now. --Nick --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

Re: AJAXWidgetComboBox in admin?

2006-08-30 Thread Matthew Flanagan
Hi, I've updated the tutorial and code for the AJAX Select widget [1] . This code is extracted from a larger project so hopefully I've got everything there. Let me know if you are missing anything. regards matthew [1] http://code.djangoproject.com/wiki/AJAXWidgetComboBox On 30/08/06, zenx

Re: Django Books

2006-08-30 Thread Jeremy Dunck
Good to know. /me goes to catch up on reviewing. :) On 8/30/06, Deryck Hodge <[EMAIL PROTECTED]> wrote: > > On 8/30/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > > # Books > > Sadly, not yet. One's in the works. Adrian was considering putting > > it up in-progress for review. > > I know

Re: Django on shared hosting - no effect until restart

2006-08-30 Thread Jay Parlar
On 8/30/06, viestards <[EMAIL PROTECTED]> wrote: > > I'm trying to setup shared Django hosting on FreeBSD with Apache, but > I have to restart Apache every time when I want changes to take > effect, insead of simply touching file. > Calling FastCGI file directly have same results- no effect

Re: Django on shared hosting - no effect until restart

2006-08-30 Thread charles sibbald
in the last few days it seems everyone is going the mod_python route for this and a few other stability issues...i am also struggling with the same problems and decisions as to what route to take.viestards <[EMAIL PROTECTED]> wrote: I'm trying to setup shared Django hosting on FreeBSD with Apache,

Re: Redirect from button event?

2006-08-30 Thread charles sibbald
Better to have multiple DIVs and bring up a new DIV dynamically based on the choice.This little "AJAX" way is quicker and cleaner.When you talk about data table...do you mean large data grid with inital form requiring base input range and selection criteria, the  the user clicks submit and a large

Re: Django Books

2006-08-30 Thread Deryck Hodge
On 8/30/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote: > # Books > Sadly, not yet. One's in the works. Adrian was considering putting > it up in-progress for review. I know that Addison-Wesley/Prentice Hall is pursuing a Django book, too. But what the timeline will be or who will write it is

Re: Redirect from button event?

2006-08-30 Thread Russell Keith-Magee
On 8/31/06, frank <[EMAIL PROTECTED]> wrote: This is clearly not the "Django way", but is there some way in whichthis might be accomplished?Can you make the button an inside a , where myurl is either: 1) the location you want the button to go to, or 2) a URL that will redirect based on which

Re: mod_python whoes

2006-08-30 Thread Graham Dumpleton
Kenneth Gonsalves wrote: > On 30-Aug-06, at 3:35 PM, Frank Stüss wrote: > > > on a production server with mod_python, how can i force reloading > > all .py > > files without restarting apache? > > you cant To clarify, this is only the case where the Python code file is loaded by Django using

Re: Multiple File Upload???

2006-08-30 Thread Russell Keith-Magee
On 8/31/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote: On 8/30/06, cerealito < [EMAIL PROTECTED]> wrote: Well No, not exactly, and that's why started this thread. If I callthose methods, only one file (the last one in the form) will getuploded and its data saved to the database. The rest of

Django on shared hosting - no effect until restart

2006-08-30 Thread viestards
I'm trying to setup shared Django hosting on FreeBSD with Apache, but I have to restart Apache every time when I want changes to take effect, insead of simply touching file. Calling FastCGI file directly have same results- no effect until restart. Is this FastCGI problem or I have to look

Redirect from button event?

2006-08-30 Thread frank
This may seem perverse, but I'd like to redirect to a new page from a button event rather than the usual clicking on a link. Essentially, the user is presented with a table of items, each of which has an associated radio button. At the bottom (or top) of the table is a series of buttons

Re: Saving ManyToMany relationships in custom manipulator

2006-08-30 Thread Russell Keith-Magee
On 8/30/06, Nowell <[EMAIL PROTECTED]> wrote: I believe that the correct way to accomplish this is:temp = Message(...)temp.save()temp.teams = Team.objects.filter(id__in=data.getlist('teams'))Notice you need to use the getlist() function to return a list of the M2M selections, the previous code

Re: SVN 3676 unexpected keyword argument 'maxfield'

2006-08-30 Thread Jay Parlar
On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > > Hey I just downloaded and installed django svn 3676 and while going > through "Writing your first Django app, part 1" (the URL follows) I > encountered an error. > > URL: http://www.djangoproject.com/documentation/tutorial1/ > Error:

Re: Multiple File Upload???

2006-08-30 Thread Russell Keith-Magee
On 8/30/06, cerealito <[EMAIL PROTECTED]> wrote: Well No, not exactly, and that's why started this thread. If I callthose methods, only one file (the last one in the form) will getuploded and its data saved to the database. The rest of the files inthe post request seem to be lost. You seem to have

Re: SVN 3676 unexpected keyword argument 'maxfield'

2006-08-30 Thread Russell Keith-Magee
On 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED] > wrote:Hey I just downloaded and installed django svn 3676 and while going through "Writing your first Django app, part 1" (the URL follows) Iencountered an error.URL: http://www.djangoproject.com/documentation/tutorial1/ Error: unexpected keyword

Re: Custom SQL in Q objects

2006-08-30 Thread Alan Green
On 8/31/06, Jakub Labath <[EMAIL PROTECTED]> wrote: > > Hi, > > Thanks for advice Malcolm! > > I feel a sample would save some time to other people. Time that i had to > spend. > > class OnlyRealProfileSQL: > def get_sql(*args): > #select name from django_content_type where app_label

Re: Django deployment tools?

2006-08-30 Thread Joseph Heck
Have you used it for your own deploys? I'm curious how well it worked for you.-joeOn 8/30/06, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:You may want to look at this:   http://pythonpaste.org/deploy/--Nick --~--~-~--~~~---~--~~ You received this message because

Django on NSLU2

2006-08-30 Thread Picio
Hello, Did you know if there is someone that installed Django on this cool little device: www.nslu2-linux.org ?? Ive one of those with lighttpd+fastCGI and I'd like to know something about Django+Nslu2 before a try. Thanks, Picio --~--~-~--~~~---~--~~ You

Re: Django Books

2006-08-30 Thread Daniele Spino
Thanks zenx for the book, but about the tutorial maybe there is a misunderstanding: I finished to read an actually do the tutorial you're talking about, and I already read the Installation guide. I have also read some other txt, like template language for authors. I'm searching something like

Re: Django Books

2006-08-30 Thread Jeremy Dunck
On 8/30/06, Picio <[EMAIL PROTECTED]> wrote: > Do you know if > there is some Book like what I see here > http://www.rubyonrails.org/docs > but of course for Django? I'll answer per-section on that page. # APIs This page, in addition to the tutorials, has quite a lot of documentation for the

Re: Edit_Inline, Love, and Invoices

2006-08-30 Thread Ilia Kantor
Had hard time with it too. Check this http://code.djangoproject.com/ticket/2413 and http://code.djangoproject.com/ticket/2534 Hopefully will be merged into django.. Current behavior is bug. > My client would like to be able to upload invoices via the admin > interface. There's a customer

Re: mod_python-3.2.10/Apache-2.2.2/FreeBSD/

2006-08-30 Thread Wiktor Grębla
Ivan Sagalaev napisał(a): > I also have a FreeBSD machine with Apache 2.2 but never tried to install > mod_python since for the time being it did only support officially > Apache 2.0. That's why I went with FastCGI server instead. Any reason > why you do want mod_python? > I have

Re: mod_python-3.2.10/Apache-2.2.2/FreeBSD/

2006-08-30 Thread Wiktor Grębla
James Bennett napisał(a): >> >> Have you double-checked that you're not running into one of the problems >> here? >> http://www.djangoproject.com/documentation/modpython/#if-you-get-a-segmentation-fault >> Yup. Point number 2. Lesson taken, but what a waste of time :). (honestly speaking:

Re: Django Books

2006-08-30 Thread zenx
Hi Picio, I don't know when it will be published, but a book is coming: http://www.amazon.com/gp/product/1590597257 It is written by Adrian Holovaty and Jacob Kaplan-Moss (django developers) and as far as I know it will be also avaible for free download as PDF :D

Re: Django Books

2006-08-30 Thread zenx
And you can find the starting tutorial you are asking for here: http://www.djangoproject.com/documentation/ take a look at "installation guide" and "Tutorial: Writing your first Django app" --~--~-~--~~~---~--~~ You received this message because you are

Django Books

2006-08-30 Thread Picio
Hello, I'm a Django newbie, I finished right now the tutorial, I read also other text coming from my docs dir in Django_0.95. Do you know if there is some Book like what I see here http://www.rubyonrails.org/docs but of course for Django? Can you give me any advice like where I have to go after

Re: Django deployment tools?

2006-08-30 Thread [EMAIL PROTECTED]
You may want to look at this: http://pythonpaste.org/deploy/ --Nick --~--~-~--~~~---~--~~ 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

Re: mod_python-3.2.10/Apache-2.2.2/FreeBSD/

2006-08-30 Thread [EMAIL PROTECTED]
I currently have Apache 2.2.3, Mod_python 3.2.10, and FreeBSD 6.1 (with all current patches) running on a production server and haven't had any problems. There are so many variables, without being much closer to the problem, I can't give much advice other than my server is working as it should.

Django deployment tools?

2006-08-30 Thread Rob Hudson
Is there a Capistrano-like tool for Django, written in Python? http://manuals.rubyonrails.com/read/book/17 I know Capistrano can deploy other things -- it doesn't have to be Rails apps. But a tool written in Python would lower the dependencies we have to maintain in house, and know. Thanks,

Re: mod_python-3.2.10/Apache-2.2.2/FreeBSD/

2006-08-30 Thread James Bennett
On 8/30/06, Wiktor Grêbla <[EMAIL PROTECTED]> wrote: > Unfortunately I'm not the admin of this machine, so I'm a bit restricted > in what I can do. The most general question comes to mind: do you have > similar working configuration? Have you double-checked that you're not running into one of the

foreignKey + manipulator...performance problem

2006-08-30 Thread gabor
hi, imagine 2 simple models like: = class Thing(Model): name = CharField(maxlength=500) = = class Owner(Model): name = CharField(maxlength=500) thing = ForeignKey(Thing) = now let's say you have

Edit_Inline, Love, and Invoices

2006-08-30 Thread Dave
My client would like to be able to upload invoices via the admin interface. There's a customer model, and I've created another related model (Invoice), which I've set to edit_inline and associated via foreign key to the Customer model. The client may or may not have an invoice to upload. So

Re: mod_python-3.2.10/Apache-2.2.2/FreeBSD/

2006-08-30 Thread Ivan Sagalaev
Wiktor Grębla wrote: > Unfortunately I'm not the admin of this machine, so I'm a bit restricted > in what I can do. The most general question comes to mind: do you have > similar working configuration? I also have a FreeBSD machine with Apache 2.2 but never tried to install mod_python since

Re: How to handle person to person relationships

2006-08-30 Thread Mir Nazim
I know that but my problem is that it is still undocumented. I am an absolute newbie in case of django and web development in python. Though I have used python for quite some time. CAn you provide some link that documents content-type system. On 8/30/06, Jeremy Dunck <[EMAIL PROTECTED]> wrote:

Re: How to handle person to person relationships

2006-08-30 Thread Jeremy Dunck
On 8/30/06, Mir Nazim <[EMAIL PROTECTED]> wrote: > Now comes another problem, I have read generic relationships document > at django site. but can anyone point me to some urls where thing like > content-type etc(that are need for generic relationship to work) > described in detail. The solution

Re: How to handle person to person relationships

2006-08-30 Thread Mir Nazim
Jeremy Dunck wrote: > On 8/29/06, Mir Nazim <[EMAIL PROTECTED]> wrote: > > > > I have already gone through that. but problem is that I need to add > > some attributes to relationships like > > > > he is my best friend > > i have not met him > > > > something like orkut. > > If you're going to

Re: group traffic

2006-08-30 Thread Steven Armstrong
On 08/30/06 07:10, Frank Stüss wrote: > Hi folks, > since this list is getting bigger day by day.. > Eam.. what about splitting this group up in say two or three lists? > > django.newbies (like me :-) > django.apps > django.views > > Looking for better names/categories. > > As all of you

Re: Django templates editing mode for Emacs

2006-08-30 Thread Antonio Cavedoni
On 30 Aug 2006, at 18:13, James Bennett wrote: > On 8/30/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote: >> Before you start exposing my ignorance of Emacs Lisp to the world, I >> will offer you that this is my first Emacs Lisp project *ever* (in >> fact I don't even know Emacs Lisp at all), so

Re: Django templates editing mode for Emacs

2006-08-30 Thread James Bennett
On 8/30/06, Antonio Cavedoni <[EMAIL PROTECTED]> wrote: > Before you start exposing my ignorance of Emacs Lisp to the world, I > will offer you that this is my first Emacs Lisp project *ever* (in > fact I don't even know Emacs Lisp at all), so please be gentle. First question: is this being

Django templates editing mode for Emacs

2006-08-30 Thread Antonio Cavedoni
Hello Djangoers, I’ve started hacking on an editing mode for Django templates in Emacs. The only feature it has at the moment (and the reason I decided to do it) is syntax highlighting of Django template blocks and variables. Before you start exposing my ignorance of Emacs Lisp to the

Re: Saving ManyToMany relationships in custom manipulator

2006-08-30 Thread Nowell
I believe that the correct way to accomplish this is: temp = Message(...) temp.save() temp.teams = Team.objects.filter(id__in=data.getlist('teams')) Notice you need to use the getlist() function to return a list of the M2M selections, the previous code will return only the last element.

Re: Custom SQL in Q objects

2006-08-30 Thread Jakub Labath
Hi, Thanks for advice Malcolm! I feel a sample would save some time to other people. Time that i had to spend. class OnlyRealProfileSQL: def get_sql(*args): #select name from django_content_type where app_label = 'users' and model != 'profile' and model like '%p rofile'

mod_python-3.2.10/Apache-2.2.2/FreeBSD/

2006-08-30 Thread Wiktor Grębla
I know, another boring configuration question. Most of you probably prefer to do some python coding, but... I'm obsessive and it's not easy to ignore that something as cool as django does not work for me :). Shortly speaking, it dies :). Internal server error, nothing more specific, despite

Can not attach a file dinamically in folders I define

2006-08-30 Thread Vizcayno
Hello: In settings.py I have: MEDIA_ROOT = 'C:/attach/' In models.py: class MaeDoc(models.Model): . . per_con = models.CharField('Contact person', maxlength=40) doc_adj = models.FileField(upload_to='doc_adj', help_text='Main doc') . . . def save(self): self.doc_adj =

Re: Advice for Rusty Python Programmer and New Django Consumer

2006-08-30 Thread cyberco
Python quick reference (invaluable): http://rgruet.free.fr/PQR24/PQR2.4.html --~--~-~--~~~---~--~~ 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

Re: Advice for Rusty Python Programmer and New Django Consumer

2006-08-30 Thread Sean Schertell
I'm new to Python but not new to programming. I picked up this book recently and couldn't be happier: Beginning Python: http://www.amazon.com/Beginning-Python-Novice/dp/159059519X/sr=8-4/ qid=1156946981/ref=pd_bbs_4/002-6713626-9604860?ie=UTF8 You said you're not new to Python but I wouldn't

Re: Multiple choice conditionals in templates?

2006-08-30 Thread Sean Schertell
Thank you! I did read the template docs but I missed that one. Works great! :-) Sean On Aug 30, 2006, at 6:30 PM, Kenneth Gonsalves wrote: > > > On 30-Aug-06, at 2:45 PM, Sean Schertell wrote: > >> Obviously this doesn't work because you can't use "==" in templates. >> So how can I achieve

Manipulate a List

2006-08-30 Thread Stewart
How would you write a maniplulator for a list of objects of the same class? --~--~-~--~~~---~--~~ 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

Re: Problem accessing users and groups in Admin

2006-08-30 Thread Jay Parlar
On 8/30/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote: > I have something to add: > - I can add or delete 'fichas' from the admin site with no problem. > - This 0.95 version is an upgrade from 0.91. > That last part is interesting. Did you have a database running against 0.91, and then you

Re: Advice for Rusty Python Programmer and New Django Consumer

2006-08-30 Thread Jon Atkinson
For a quick update on Python's data structures, I always find Dive Into Python by Mark Pilgrim to be a good read. The book is FDL, and you can read it online here: http://diveintopython.org/toc/index.html --Jon On 30/08/06, Pete Abilla <[EMAIL PROTECTED]> wrote: > Group: > > Any book Advice or

Advice for Rusty Python Programmer and New Django Consumer

2006-08-30 Thread Pete Abilla
Group:Any book Advice or good Sites to visit for a Rusty Python Programmer and New Django Consumer (aka - me)?-- Pete Abillablog: www.shmula.com --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group.

specific admin functionality

2006-08-30 Thread Ilia Kantor
Admin is great, but customazibility is.. Not quite clear.. How can I add e.g 1) single radio-field among all edit_inlined objects ? 2) hierselect ( select 1 is set, then select 2 shows fields depending on select 1) 3) self-managed search functionality in admin object list ? E.g search by

Re: AJAXWidgetComboBox in admin?

2006-08-30 Thread zenx
Thanks Matthew!!! I'm anxious to look at the code :D --~--~-~--~~~---~--~~ 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

Re: Problem accessing users and groups in Admin

2006-08-30 Thread Luis P. Mendes
Jay Parlar escreveu: > On 8/29/06, Luis P. Mendes <[EMAIL PROTECTED]> wrote: >> Hi, >> >> I posted this on Saturday, but since I had no replies, I'm reposting it. >> >> What should I look for to solve this problem: >> >> When I access http://127.0.0.1:8000/admin/ I get >> Groups >> Users >> in

Re: threadlocals with limit_choices_to in models

2006-08-30 Thread Ibsoman
hi all :)I found my problem myself!! I didn't notice that every where I use the hack I have to all the method in order to create a new local thread!!Now it seems a little stable!Thanks all On 8/30/06, ibson <[EMAIL PROTECTED]> wrote: Maybe no one faced that problem.I now want to know why sometimes

Re: ManyToManyField not populated in form

2006-08-30 Thread Ivan Sagalaev
Kenneth Gonsalves wrote: > i always use it, but for some reason it is not in the official docs - > although it is in the wiki Yes this is it: http://code.djangoproject.com/wiki/NewAdminChanges There is also a small point that is easy to miss: on POST one should call do_html2python both when

Re: mod_python whoes

2006-08-30 Thread Frank Stüss
:-) I prayed and hoped though... > you cant --~--~-~--~~~---~--~~ 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

Re: mod_python whoes

2006-08-30 Thread Kenneth Gonsalves
On 30-Aug-06, at 3:35 PM, Frank Stüss wrote: > on a production server with mod_python, how can i force reloading > all .py > files without restarting apache? you cant -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/

Re: threadlocals with limit_choices_to in models

2006-08-30 Thread ibson
Maybe no one faced that problem. I now want to know why sometimes the user doesn't change if there was 2 simultaneous connection. how can I do that each connection use a different local thread? (Or I don't understand something in this hack??) ibson wrote: > Hi, > I'm using the threadlocals hack >

mod_python whoes

2006-08-30 Thread Frank Stüss
Hi all, somewhat off topic may be: on a production server with mod_python, how can i force reloading all .py files without restarting apache? touch .../handler.py does not work for me. And strange: every now and then an 'old' error reappears in my browser, even if i cleared the cache. Eg. i

Re: pre-selecting the current language

2006-08-30 Thread Baurzhan Ismagulov
On Wed, Aug 30, 2006 at 11:31:32AM +0200, Baurzhan Ismagulov wrote: > I'm using the language selection form from > http://www.djangoproject.com/documentation/i18n/ and want to preselect > the current language. How can I do this? Got help from [530] on IRC and the previous posting: {% ifequal

pre-selecting the current language

2006-08-30 Thread Baurzhan Ismagulov
Hello all, I'm using the language selection form from http://www.djangoproject.com/documentation/i18n/ and want to preselect the current language. How can I do this? With kind regards, Baurzhan. --~--~-~--~~~---~--~~ You received this message because you are

Re: Multiple choice conditionals in templates?

2006-08-30 Thread Kenneth Gonsalves
On 30-Aug-06, at 2:45 PM, Sean Schertell wrote: > Obviously this doesn't work because you can't use "==" in templates. > So how can I achieve this? use ifequal -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/web/ --~--~-~--~~~---~--~~

Multiple choice conditionals in templates?

2006-08-30 Thread Sean Schertell
How can I display different things in my template depending on the value of a single column in my database? For example: {% for e in events %} {% if e.status == '1' %}Buy Tickets{% endif %} {% if e.status == '2' %}SOLD OUT! {%

Re: ManyToManyField not populated in form

2006-08-30 Thread Kenneth Gonsalves
On 30-Aug-06, at 2:33 PM, cyberco wrote: > So should I always use 'manipulator.flatten_data()' instead of > 'obj.__dict__' for filling forms with existing values? i always use it, but for some reason it is not in the official docs - although it is in the wiki -- regards kg

Re: ManyToManyField not populated in form

2006-08-30 Thread cyberco
That works, great! So should I always use 'manipulator.flatten_data()' instead of 'obj.__dict__' for filling forms with existing values? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Multiple File Upload???

2006-08-30 Thread cerealito
Ok, as a reminder, here is the Image model I am using: class Image(models.Model): altText = models.CharField(maxlength = 128, null = True, blank = True) picture = models.ImageField(upload_to='img/%Y/%m') The problem is that i want to create multiple objects of this type from a single

Re: ManyToManyField not populated in form

2006-08-30 Thread Ivan Sagalaev
cyberco wrote: > ==VIEW= > errors = {} > pizza = > new_data = pizza.__dict__ This is why it doesn't work. There is a method in manipulators 'flatten_data' that correctly fills data for ForeignKeys and ManyToMany: manipulator = Pizza.ChangeManipulator(id) # or whatever

Re: ManyToManyField not populated in form

2006-08-30 Thread cyberco
I'm using manipulators. ==MODELS== class Pizza(models.Model): toppings = models.ManyToManyField(Topping) class Topping(models.Model): name = models.CharField(maxlength=100) === ==VIEW= errors = {} pizza = new_data =

Re: group traffic

2006-08-30 Thread [EMAIL PROTECTED]
Frank Stüss wrote: > Hi folks, > since this list is getting bigger day by day.. > Eam.. what about splitting this group up in say two or three lists? -1 for splitting Lorenzo --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: file upload = simple DoS possibility

2006-08-30 Thread Michael Samoylov
Adrian Holovaty wrote: > I'd recommend handling this at the Apache level. See the > LimitRequestBody directive: > > http://httpd.apache.org/docs/2.2/mod/core.html#limitrequestbody Thanks a lot! --~--~-~--~~~---~--~~ You received this message because you are

Re: ManyToManyField not populated in form

2006-08-30 Thread Ivan Sagalaev
cyberco wrote: > In a form for changing a model instance all fields get correctly filled > with existing values except the ManyToManyField form fields (which > renders as a choice list in a form). It shows the correct list of > options, but none of the options is selected, even though the

Re: group traffic

2006-08-30 Thread cyberco
-1 Look at the list now, most posts are general Django questions that most users are interested in (at least at one point). Splitting them up would mean monitoring different lists for most of us. --~--~-~--~~~---~--~~ You received this message because you are

SVN 3676 unexpected keyword argument 'maxfield'

2006-08-30 Thread donny . viszneki
Hey I just downloaded and installed django svn 3676 and while going through "Writing your first Django app, part 1" (the URL follows) I encountered an error. URL: http://www.djangoproject.com/documentation/tutorial1/ Error: unexpected keyword argument 'maxfield' The error is generated by the