#7539 Add ON DELETE and ON UPDATE support

2009-10-11 Thread Jani Tiainen
Is there anyone working for this ticket? There seemed to be few patches but then a silence. I would be interested in to help/implement that feature since it's very highly needed feature in our own code. -- Jani Tiainen --~--~-~--~~~---~--~~ You received this m

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Vinay Sajip
On Oct 12, 12:56 am, Russell Keith-Magee wrote: > Sorry? Django importing magic? "from app.models import MyModel"... is magic? I didn't say "model importing". I'm talking about things like the restrictions on what you can import in settings.py, and ticket #8193 (double imports). > If you're re

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Russell Keith-Magee
On Mon, Oct 12, 2009 at 7:15 AM, Zachary Voase wrote: > > On 11 Oct 2009, at 23:39, Joshua Russo wrote: > >> How about the possibility of an advanced tutorial, to highlight more >> advanced features. > > That's pretty much what the Django Book is for. No, it really isn't. Firstly, The Django Bo

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Russell Keith-Magee
On Mon, Oct 12, 2009 at 4:56 AM, Vinay Sajip wrote: > > On Oct 11, 4:31 pm, Russell Keith-Magee > wrote: >> However, I can't recall the last time that someone asked the general >> question of how to avoid a name collision between their two tagging >> (or whatever) applications. > > I don't reca

Re: Tutorial problem

2009-10-11 Thread Wolf.Halton
Thanks! I commented out these lines #urlpatterns = patterns('', #(r'^admin/', include(admin.site.urls)), #) and will try the info you suggest -Wolf > > If the admin worked fine and then broke during section three then you're > likely hitting #11959, not #10050: > > http://code.djangoproject.

Re: Tutorial problem

2009-10-11 Thread Karen Tracey
On Sun, Oct 11, 2009 at 7:07 PM, Wolf.Halton wrote: > > Ticket #10050 (closed: fixed) > > Opened 9 months ago > > Last modified 3 minutes ago > Documentation bug in tutorial / admin manual? 'AdminSite' object has > no attribute 'urls' > > Here is what I need to ask. What trivial issue did I miss

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Wolf.Halton
I think this is a great idea. I volunteer to test the tutorial. Wolf On Oct 9, 10:41 am, Rob Hudson wrote: > I'd like to propose the addition of a new tutorial that represents a > complete website, describing everything from start to finish.  This > would allow for many more topics to come into

Tutorial problem

2009-10-11 Thread Wolf.Halton
Ticket #10050 (closed: fixed) Opened 9 months ago Last modified 3 minutes ago Documentation bug in tutorial / admin manual? 'AdminSite' object has no attribute 'urls' Here is what I need to ask. What trivial issue did I miss while doing the dev/tutorial? presuming ubernostrum's response is ac

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Zachary Voase
On 11 Oct 2009, at 23:39, Joshua Russo wrote: > How about the possibility of an advanced tutorial, to highlight more > advanced features. That's pretty much what the Django Book is for. -- Zack --~--~-~--~~~---~--~~ You received this message because you are s

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Joshua Russo
On Sun, Oct 11, 2009 at 7:40 PM, Rajeev J Sebastian < rajeev.sebast...@gmail.com> wrote: > > On Sun, Oct 11, 2009 at 10:07 PM, Zachary Voase > wrote: > > > > On 11 Oct 2009, at 16:09, Alex Gaynor wrote: > > > >> I don't want to be overly negative, but in my view rewriting the > >> tutorial would

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Vinay Sajip
On Oct 11, 4:31 pm, Russell Keith-Magee wrote: > If you can name a company that has produced more in-house Django > applications than the number that is publicly available for download > off the internet, I'll eat my hat. :-) That isn't the right measure. I'm just saying that the total number o

Re: Patch: adding a msg parameter to assertContains and similar methods in the test client

2009-10-11 Thread Sean Bleier
> > > > def assertFormError(self, response, form, field, errors, msg=None): > >... > >self.fail(msg or "The field '%s' on form '%s' in context %d" > > " contains no errors" % (field, form, i)) > > would become: > > prefix = msg and "%s: " % msg or "" > self.

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Rajeev J Sebastian
On Sun, Oct 11, 2009 at 10:07 PM, Zachary Voase wrote: > > On 11 Oct 2009, at 16:09, Alex Gaynor wrote: > >> I don't want to be overly negative, but in my view rewriting the >> tutorial would be a pointless waste of energy.  It has served us >> exceptionally well over the past 4 years, and none o

Re: Proposal for 1.2: built-in logging with django.core.log

2009-10-11 Thread Vinay Sajip
On Oct 11, 7:57 pm, Hanne Moa wrote: > On Sun, Oct 11, 2009 at 04:42, Simon Willison wrote: > > I'm keen to receive as much feedback on the implementation as possible. > > It is perfectly possible to set up logging in such a way that all the > logs for several programs wind up in the same file,

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Hanne Moa
On Sun, Oct 11, 2009 at 01:46, Russell Keith-Magee wrote: > > On Sun, Oct 11, 2009 at 6:19 AM, Hanne Moa wrote: >> >> On Sat, Oct 10, 2009 at 13:51, Russell Keith-Magee >> wrote: >>> Looking at #3591 in particular - another big part of the problem is >>> that the ticket tries to solve a theoret

Re: Proposal for 1.2: built-in logging with django.core.log

2009-10-11 Thread Hanne Moa
On Sun, Oct 11, 2009 at 04:42, Simon Willison wrote: > I'm keen to receive as much feedback on the implementation as possible. It is perfectly possible to set up logging in such a way that all the logs for several programs wind up in the same file, or there are duplicate entries. The first happe

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Zachary Voase
On 11 Oct 2009, at 16:09, Alex Gaynor wrote: > I don't want to be overly negative, but in my view rewriting the > tutorial would be a pointless waste of energy. It has served us > exceptionally well over the past 4 years, and none of the problems > with it are fundamental, we'd be far better ser

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Russell Keith-Magee
On Sun, Oct 11, 2009 at 10:42 PM, Vinay Sajip wrote: > > On Oct 11, 9:52 am, Russell Keith-Magee > wrote: >> On Sun, Oct 11, 2009 at 3:23 PM, Vinay Sajip wrote: >> >> This is true, but again, the distinction between theoretical and >> practical problem emerges. The set of mainstream apps in the

Re: Proposal: Tutorial Refresh

2009-10-11 Thread Alex Gaynor
On Sun, Oct 11, 2009 at 7:24 AM, andybak wrote: > > Another thing that might be useful to cover in the tutorial is the > 'building for re-usability' ideas that have devloped via Pinax et al. > > Maybe at least one part of the functionality developed in the tutorial > should be in the form an app

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Vinay Sajip
On Oct 11, 9:52 am, Russell Keith-Magee wrote: > On Sun, Oct 11, 2009 at 3:23 PM, Vinay Sajip wrote: > > This is true, but again, the distinction between theoretical and > practical problem emerges. The set of mainstream apps in the wild is > much larger than the set of in house apps controlled

Re: Proposal: Tutorial Refresh

2009-10-11 Thread andybak
Another thing that might be useful to cover in the tutorial is the 'building for re-usability' ideas that have devloped via Pinax et al. Maybe at least one part of the functionality developed in the tutorial should be in the form an app intended to be used across projects. Combine this with incor

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Russell Keith-Magee
On Sun, Oct 11, 2009 at 3:23 PM, Vinay Sajip wrote: > > On Oct 11, 12:46 am, Russell Keith-Magee > wrote: >> If I may ask - which apps (or app names) caused the collision? Off the >> top of my head, I can't think of any especially mainstream application > > Considering just "mainstream" applicat

Re: Does #3591 need solving? (was Re: Django 1.2 roadmap and schedule)

2009-10-11 Thread Vinay Sajip
On Oct 11, 12:46 am, Russell Keith-Magee wrote: > If I may ask - which apps (or app names) caused the collision? Off the > top of my head, I can't think of any especially mainstream application Considering just "mainstream" applications would appear to discount any applications which are develop