Re: trac: please bring back 'reopen'

2007-01-22 Thread Michael Radziej
Hi, Gary Wilson schrieb: > SmileyChris wrote: >> 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 th

Re: Django wiki changes

2007-01-22 Thread [EMAIL PROTECTED]
Is it possible to just block attachments on the pages completely? I know that there are valid ones out there, but the vast majority seem to be spam (& because it's not apparent how attachements can be removed from the wiki, they just sit there forever). Anyway - while we're talking about the wiki

Re: trac: please bring back 'reopen'

2007-01-22 Thread Gary Wilson
SmileyChris wrote: > 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

Re: Critical ticket: can cause data loss

2007-01-22 Thread Russell Keith-Magee
On 1/23/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > Could somebody provide some unit tests that isolate the problem? I've > never mucked with the GenericForeignKey code -- perhaps Jacob or > Russell could chime in here for the fix? I've never really played with GenericRelations, so I don't

Re: Critical ticket: can cause data loss

2007-01-22 Thread Adrian Holovaty
On 1/22/07, SmileyChris <[EMAIL PROTECTED]> wrote: > Deletion of objects with a GenericRelation(X) deletes unrelated X > objects with the same object_id! > http://code.djangoproject.com/ticket/3215 > > This ticket needs developers focus sooner rather than later. The > implications of this patch me

Re: Admin app not installed properly

2007-01-22 Thread Kenneth Gonsalves
On 23-Jan-07, at 8:02 AM, furby wrote: > django.contrib.admin is installed in my settings.py, so that's not the > problem. it cant find the css - check the document source to see where it is looking for the css and make sure that is correct in relation to your setup -- regards kg http://

Critical ticket: can cause data loss

2007-01-22 Thread SmileyChris
Deletion of objects with a GenericRelation(X) deletes unrelated X objects with the same object_id! http://code.djangoproject.com/ticket/3215 This ticket needs developers focus sooner rather than later. The implications of this patch mean it's not acceptable for this patch to sit in the queue - it

Re: Disable field creation in forms for hidden model fields (#3247)

2007-01-22 Thread Adrian Holovaty
On 1/18/07, Philipp Keller <[EMAIL PROTECTED]> wrote: > I think it's quite important to have the opportunity to say "I don't want > this field to appear in any of my forms" but on the other hand, you may want > to suppress this fields in the admin. > > I think if I wouldn't know anything of djan

Re: specifying newforms-admin options

2007-01-22 Thread Will McCutchen
Lachlan Cannon wrote: > It feels right to me to have admin and the model separate. The way I think of > it > is this: Suppose I distribute an app and a user decides to use the app, but > doesn't run the auto-admin. With my admin information factored out in a > separate > file: admin.py, she's no

Re: New branch: newforms-admin

2007-01-22 Thread Will McCutchen
Adrian Holovaty wrote: > I'd like to take the clean route and move the admin definitions into a > separate file, or at least still in the models.py but not within the > models themselves. Of course, that's not as convenient as defining the > admin stuff directly within the model, but another solut

Re: New branch: newforms-admin

2007-01-22 Thread Adrian Holovaty
On 1/22/07, James Bennett <[EMAIL PROTECTED]> wrote: > Joseph and I were kicking around some ideas over lunch today, and one > thing that seemed like a good idea was moving back to the old-school > 'admin as Meta attribute'. Under this scheme, django.contrib.admin > would define a default class fo

Re: New branch: newforms-admin

2007-01-22 Thread Adrian Holovaty
On 1/15/07, Robert Myers <[EMAIL PROTECTED]> wrote: > I would also like to help out. I wanted to fix a few issues with model > validation specifically for admin options. I'm not sure if you plan on > changing any of the existing options or how the options are called though. > If you are then I won

Re: Django wiki changes

2007-01-22 Thread Adrian Holovaty
On 1/22/07, Michael Radziej <[EMAIL PROTECTED]> wrote: > shouldn't the Reports page be locked down, too? There's already an > attachment ... Good point. I've locked it down. Thanks! > Is it possible to configure the antispam settings so that taking a > lot of links *away* is also considered spam

Re: Admin app not installed properly

2007-01-22 Thread Honza Král
seems like you are missing some css files... do you have everything set correctly? On 1/23/07, furby <[EMAIL PROTECTED]> wrote: > > Has anyone had a problem with the admin app not displaying correctly? > When I log into the admin page, the content is not formatted like all > of the pretty example

Admin app not installed properly

2007-01-22 Thread furby
Has anyone had a problem with the admin app not displaying correctly? When I log into the admin page, the content is not formatted like all of the pretty examples in the documentation. it is just links and bullets, no field widgets, the filters and tables don't show up correctly, etc. http://www

Re: New branch: newforms-admin

2007-01-22 Thread Gary Wilson
James Bennett wrote: > Joseph and I were kicking around some ideas over lunch today, and one > thing that seemed like a good idea was moving back to the old-school > 'admin as Meta attribute'. Under this scheme, django.contrib.admin > would define a default class for model administration. This so

Re: Django wiki changes

2007-01-22 Thread Kenneth Gonsalves
On 22-Jan-07, at 10:56 PM, Adrian Holovaty wrote: > clicks "Code" in the navigation, he shouldn't see a messy set of > links. We should present a clean overview of the "code" aspects of > Django -- how to get the code, how to contribute and what we're > currently working on. looks good - the ri

#2672 - RSS2.0 feed has no support for copyright element

2007-01-22 Thread Jonathan Buchanan
Hi all, Long time listener, first time caller :) I saw ticket #2672 on the LittleEasyImprovements wiki page today and thought it'd be a good opportunity to dip my toes into contributing something back to Django. I have a patch for the relevant modules and documentation updates ready to go, so

Re: Django with CherryPy 3.0

2007-01-22 Thread Jeremy Dunck
On 1/22/07, Istvan Albert <[EMAIL PROTECTED]> wrote: > > Jeremy Dunck wrote: > > > That said, most of the time, this is good stuff. Perhaps a management > > option to turn it off? > > My understanding is that no part of basehttp.py is used when Django is > deployed via modpython. If that is corre

Re: admin-interface: move up/down proposal

2007-01-22 Thread stuff4ash
thx patrick. just noticed you also wrote the filebrowser. very nice work. cheers! ashley On Jan 22, 8:48 pm, "patrick k." <[EMAIL PROTECTED]> wrote: > sorry for the delay, here is the code: > > models.pyhttp://dpaste.com/hold/4898/ > > views.pyhttp://dpaste.com/hold/4899/ > > change_list.htmlh

Re: order of models per app in admin interface

2007-01-22 Thread Marc Boeren
Overriding admin/index.html would make it less generic :-) Instead, I've changed the adminapplist.py templatetag which is used in index.html. It's a very simple patch, really. ..Mc. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Django with CherryPy 3.0

2007-01-22 Thread Istvan Albert
Jeremy Dunck wrote: > That said, most of the time, this is good stuff. Perhaps a management > option to turn it off? My understanding is that no part of basehttp.py is used when Django is deployed via modpython. If that is correct then this addition would make no difference in a production envi

Re: order of models per app in admin interface

2007-01-22 Thread oggie rob
Isn't is easier just to override admin/index.html? That way you can even add some styling/javascript that will organize it to better suit your needs. If you don't know what I mean: 1) copy the file django/contrib/admin/templates/admin/index.html to yourtemplatedir/admin/index.html. 2) Add yourtem

order of models per app in admin interface

2007-01-22 Thread Marc Boeren
Hi, I've looked in the django code to see if I could get my models ordered explicitly in the admin interface, but could only find code that sorts it alphabetically on name (verbose_name_plural). I hacked up a quick patch that allows you to set an 'order_in_app_models' attribute to the Admin clas

Re: admin-interface: move up/down proposal

2007-01-22 Thread patrick k.
sorry for the delay, here is the code: models.py http://dpaste.com/hold/4898/ views.py http://dpaste.com/hold/4899/ change_list.html http://dpaste.com/hold/4900/ the change_list may look a bit weird (due to the whole js-code and the additional styles). patrick Am 22.01.2007 um 20:28 schrie

Re: Django with CherryPy 3.0

2007-01-22 Thread Jeremy Dunck
On 1/22/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > > On 1/22/07, Istvan Albert <[EMAIL PROTECTED]> wrote: > > There is an easy way to turn on multi-threading for the default server, > > see the diff below: > > Graham and/or anybody else who wants multi-threading in the > development server,

Re: admin-interface: move up/down proposal

2007-01-22 Thread stuff4ash
looks very nice, would also need something like that in a project i am working on. stadtkinowien? :) servus! :D On Dec 19 2006, 5:09 pm, "va:patrick.kranzlmueller" <[EMAIL PROTECTED]> wrote: > we´ve integrated the capability of moving items in the admin change- > list acc. to a field called "p

Re: New branch: newforms-admin

2007-01-22 Thread James Bennett
On 1/16/07, Adrian Holovaty <[EMAIL PROTECTED]> wrote: > I'd like to take the clean route and move the admin definitions into a > separate file, or at least still in the models.py but not within the > models themselves. Of course, that's not as convenient as defining the > admin stuff directly wit

Re: Django wiki changes

2007-01-22 Thread Michael Radziej
Hi, shouldn't the Reports page be locked down, too? There's already an attachment ... So long, Michael -- noris network AG - Deutschherrnstraße 15-19 - D-90429 Nürnberg - Tel +49-911-9352-0 - Fax +49-911-9352-100 http://www.noris.de - The IT-Outsourcing Company --~--~-~--~~-

Re: Django with CherryPy 3.0

2007-01-22 Thread Graham King
Adrian Holovaty wrote: > On 1/22/07, Istvan Albert <[EMAIL PROTECTED]> wrote: >> There is an easy way to turn on multi-threading for the default server, >> see the diff below: > > Graham and/or anybody else who wants multi-threading in the > development server, can you try this patch and see whe

Re: Django wiki changes

2007-01-22 Thread Michael Radziej
Hi, Adrian Holovaty: > [...] I took a moment to move the majority of the page to > http://code.djangoproject.com/wiki/DjangoResources and made the main > page read-only. That basically means only people with Trac accounts > can make changes to the main page. I'm 100 % with you. Is it possible t

Re: Django with CherryPy 3.0

2007-01-22 Thread Rob Hudson
Adrian Holovaty wrote: > Graham and/or anybody else who wants multi-threading in the > development server, can you try this patch and see whether it solves > your problem? I updated my Django trunk with the ThreadingMixIn patch and looking at a couple projects that have media served statically (f

Re: Django with CherryPy 3.0

2007-01-22 Thread Adrian Holovaty
On 1/22/07, Istvan Albert <[EMAIL PROTECTED]> wrote: > There is an easy way to turn on multi-threading for the default server, > see the diff below: Graham and/or anybody else who wants multi-threading in the development server, can you try this patch and see whether it solves your problem? Adri

Django wiki changes

2007-01-22 Thread Adrian Holovaty
Just a quick note: The Django wiki main page -- http://code.djangoproject.com/wiki -- has been getting out of hand for the past several months, with a massive amount of links and tutorials. Inspired by some wiki spam we got today, I took a moment to move the majority of the page to http://code.dj

Re: Django with CherryPy 3.0

2007-01-22 Thread Istvan Albert
There is an easy way to turn on multi-threading for the default server, see the diff below: Index: basehttp.py === --- basehttp.py (revision 4183) +++ basehttp.py (working copy) @@ -7,10 +7,16 @@ been reviewed for security issu

using select_related() and selecting DB table fields

2007-01-22 Thread dbr
Hello.. .. brought this up in the IRC channel yesterday, but didn't come to a final conclusion at the time. My use-case is really simple; I'd like to do something like this from the django DB API: SELECT trackback.title, blog.name, blog.url FROM trackback INNER JOIN blog ON trackback.blog_id = b

translations - cross post. maybe this is a better place to discuss this :)

2007-01-22 Thread stuff4ash
after searching and reading all the posts related to internalization and multilanguange, my first question is if there is any active development to integrate or make easy translations in the django core, and if not, if there are any people who would be interested in a joint effort. in my experien

Re: Django with CherryPy 3.0

2007-01-22 Thread gordyt
Howdy Graham, > +1 for anything that makes the dev server multi-threaded. I'm hoping > there might be a way to do this without introducing a dependency on > CherryPy. I believe the wsgiserver.py file from the CherryPy distribution is independent from the rest of the framework. I know, for examp

Re: Schema Evolution branch?

2007-01-22 Thread Jeremy Dunck
On 1/21/07, Victor Ng <[EMAIL PROTECTED]> wrote: > > I ought to be able to start committing code in the next day or two. > argh... i hate hard disks. I kinda like 'em. I remember booting off floppies. Not much fun. :) --~--~-~--~~~---~--~~ You received this mes

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

2007-01-22 Thread Michael Radziej
Afternoon: > As for the resetting of __builtin__._, what is the expected value > during the execution of django.contrib.auth.forms? Is it the standard > gettext or django.utils.translation.gettext_lazy? It's django.utils.translation.gettext. Michael -- noris network AG - Deutschherrnstraße 15-

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

2007-01-22 Thread Afternoon
Also, I forgot to say, a quick grep of the Django code reveals that the db rollback code is currently the only listener for the got_request_exception signal. I've moved the signal dispatch line outside of the if statement in the base handler with the effect that it is now always dispatched as you

Re: admin-interface: move up/down proposal

2007-01-22 Thread Jason Davies
Konstantin Khilkevitch wrote: > I believe ticket 13, now in accepted queue, deals with this > functionality: http://code.djangoproject.com/ticket/13 I'm not sure it's exactly the same, as ticket #13 only deals with the ordering of related objects with respect to a particular object. It would be