Re: Handling exceptions raised while processing requests from django.test.client.Client

2007-01-21 Thread Michael Radziej
Hi, Michael Radziej wrote: > Since I'm not using the current test client (I needed testing before > this was available and resorted to py.test in a hackish way), could you > check this a bit and eventually file another ticket if I'm right? Coming to think about this, I'm not sure whether this sh

Re: Handling exceptions raised while processing requests from django.test.client.Client

2007-01-21 Thread Michael Radziej
Hi Afternoon and all, you wrote in the ticket that somehow, that the _ function gets replaced by an Article. This is probably a bug in the existing test client due to a strange interaction with doctests. See: http://mail.python.org/pipermail/python-list/2004-February/250829.html "Setting __bui

Re: Schema Evolution branch?

2007-01-21 Thread Victor Ng
Ugh... my stupid harddrive with developer Xen images keeled over on Friday and I'm trying to get everything back into a normal working state. I ought to be able to start committing code in the next day or two. argh... i hate hard disks. vic -- "Never attribute to malice that which can be adequa

Re: trac: please bring back 'reopen'

2007-01-21 Thread SmileyChris
On Jan 19, 2:29 am, Jacob Kaplan-Moss <[EMAIL PROTECTED]> wrote: > > (At least, I cannot reopen from closed/invalid) > Very interesting - it looks like that action is being hidden from > non-authenticated users... I'll investigate. How's the investigation going? I'm apprehensive of closing ticket

Re: specifying newforms-admin options

2007-01-21 Thread Robert Myers
> > > I'm -1 on adding it to URLconf and would rather see it in settings.py. > Perhaps like: > > ADMIN_FIND_ADMIN_CLASSES = True > ADMIN_MODELS = ( > 'myproj.myapp.admin.PollAdmin', > 'someotherproj.someapp.admin.FooAdmin', > ) > > Where ADMIN_FIND_ADMIN_CLASSES (or whatever we want to call

Re: Django with CherryPy 3.0

2007-01-21 Thread Graham King
I have also run up against the 1 connection limit on the dev server. Particularly I was trying to get the server to make a connection to itself to cache the output HTML of a template, so as to serve it as a static file. +1 for anything that makes the dev server multi-threaded. I'm hopi

Re: File upload in newforms

2007-01-21 Thread [EMAIL PROTECTED]
I hope it didn't sound like I was complaining. I am just learning my way around django and was just trying to clear up what's going on. Adding the FileInput widget seems to generate the right stuff in the html for the form, but I'm not sure when the file would be saved by newforms when newforms IS

Re: specifying newforms-admin options

2007-01-21 Thread Matthew Flanagan
On 22/01/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 1/20/07, Honza Král <[EMAIL PROTECTED]> wrote: > > why not create a function to do that for you.. > > urls.py is after all a python module, so you could just introduce a function > > > > urlpatterns = admin_urls_for_model( > > MyMode

Re: Django with CherryPy 3.0

2007-01-21 Thread noahz
Index: ../../django/django/core/management.py === --- ../../django/django/core/management.py (revision 4306) +++ ../../django/django/core/management.py (working copy) @@ -1136,6 +1136,65 @@ inner_run() runserver.ar

Watch Online Movies For Free

2007-01-21 Thread Lucy
Now You Can See Live TV Channels and Live Exciting Movies and Even Download DVD Movies if You Want for Free at : http://clipurl.com/?GYU620 With My Best Wishes To Enjoy -- See Our Magic , You Will Be Surprised http://www.mediamall.tk --~--~-~--~~~---~--~-

Django with CherryPy 3.0

2007-01-21 Thread noahz
I did a little tinkering and now have django running with the CherryPy 3.0 WSGI server for local development. I was quite surprised how easy this was to do, essentially replacing in core/management.py: >>> from django.core.servers.basehttp import run >>> run(addr, int(port), handler) with: >>>

Re: specifying newforms-admin options

2007-01-21 Thread oggie rob
> Something like this is what I had in mind: ... I generally like the simplicity and explicitness of your suggestion, but having to manually add & remove models is too fragile, I think. > Maybe there can be a helper function that looks for all Admin classes, as > long as you save them in a file

Re: Handling exceptions raised while processing requests from django.test.client.Client

2007-01-21 Thread Afternoon
I've attached a new patch and got to the bottom of the test case that failed. I'm not 100% comfortable with my diagnosis and remedy however and I'm happy to look at it again if the solution is problematic. If a ticket master is able to take a quick look at the patch and the notes that would be gre

Re: File upload in newforms

2007-01-21 Thread Adrian Holovaty
On 1/17/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > It seems like the difference for me anyway is that even with the > widget, new forms doesn't actually save the file that is uploaded on > the server. > This used to happen in manipulator.save() in the old forms. > > So I have it working fi

Multipart message capability in django.core.mail (#1541)

2007-01-21 Thread Suriya
Hi all, I would like to start a discussion about bug #1541. http://code.djangoproject.com/ticket/1541 There was some discussion in the past here http://groups.google.com/group/django-developers/browse_thread/thread/9f9f1ff61e9314a5/aa9fac2811918961 There are three patches to add this feature. I

Multiple values field

2007-01-21 Thread AndrewK
Hi, I'm trying to figure out how to create a field which allow to store multiple values and could be edited via admin interface correctly. So far I've found CommaSeparatedIntegerField which can be used along with choices = SOME_CHOICES, but in admin interface it is rendered as DropDownList (and I

Re: specifying newforms-admin options

2007-01-21 Thread Adrian Holovaty
On 1/20/07, Honza Král <[EMAIL PROTECTED]> wrote: > why not create a function to do that for you.. > urls.py is after all a python module, so you could just introduce a function > > urlpatterns = admin_urls_for_model( > MyModel, > field_list=[ 'field' ], > exclude_actions=[ admin.EDIT ], >

Re: [triage] Are oldforms end of line? Are we still accepting patches?

2007-01-21 Thread Adrian Holovaty
On 1/20/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: > I have a question regarding oldforms - are these > end-of-line/deprecated? That is, are we still taking enhancement > requests/patches for these? My vote, FWIW, is -1, but they should be > checked to make sure that newforms doesn't make th

Re: admin-interface: move up/down proposal

2007-01-21 Thread Konstantin Khilkevitch
I believe ticket 13, now in accepted queue, deals with this functionality: http://code.djangoproject.com/ticket/13 Konstantin On 1/20/07, Lakin Wecker <[EMAIL PROTECTED]> wrote: > I'd also be interested in looking at the files as as we were considering > implementing this for a project we're wo

Re: Client.raw_post

2007-01-21 Thread Afternoon
OK, I've added tests and documentation to the patch and removed the default for the type argument to raw_post. All tests pass with this patch applied to the current Django SVN version. Please let me know if any more changes are needed. Ben --~--~-~--~~~---~--~~ Y

ANN: Django 0.95.1 released

2007-01-21 Thread James Bennett
We've just rolled out Django 0.95.1, a new minor release of Django which includes fixes for several bugs discovered in the original 0.95 release; 0.95.1 includes: * A patch for a small security vulnerability in the script Django's internationalization system uses to compile translation files. *

Download weather toolbar

2007-01-21 Thread rohan$
Download Weather Toolbar - Instant weather reports, forecasts, and radar images anytime for FREE! - http://surl.in/HLWTD238206SVRAKSX --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django developers" group. To pos