Re: SVN Milestones

2008-04-23 Thread John Szakmeister
On Wed, Apr 23, 2008 at 6:58 AM, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: [snip] Thanks for answers to the questions Malcolm! > > I don't have a lot of time to > > spend (and I'm sure that's true of many folks working on Django), but > > when I do spend it, I want to make sure it's getti

Re: Dependency problem in flatpages...

2006-08-13 Thread John Szakmeister
- Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: [snip] > Have a poke around in django/core/management.py in the > _get_sql_model_create() function and see if you can work out why we're > getting this wrong. > > The fact that the generated SQL has a "...REFERENCES ..." clause on the > problem

Re: Dependency problem in flatpages...

2006-08-11 Thread John Szakmeister
[snip] > Looks like the problem is in _get_many_to_many_sql_for_model(). > Unfortunately, it doesn't check to see whether or not the table exists > before generating a reference. Is there somewhere else where the > models are ordered by dependency before creation? Looking further, you're right

Re: Dependency problem in flatpages...

2006-08-11 Thread John Szakmeister
- Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2006-08-10 at 05:55 -0400, John Szakmeister wrote: > > Now that the magic has been removed, and Django released 0.95, I > decided to start porting my applications over. I knew the merge of > magic-removal w

Re: Dependency problem in flatpages...

2006-08-10 Thread John Szakmeister
- Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: [snip] > Have a poke around in django/core/management.py in the > _get_sql_model_create() function and see if you can work out why we're > getting this wrong. > > The fact that the generated SQL has a "...REFERENCES ..." clause on the > problem

Dependency problem in flatpages...

2006-08-10 Thread John Szakmeister
Now that the magic has been removed, and Django released 0.95, I decided to start porting my applications over. I knew the merge of magic-removal was coming, so I never deployed the apps. So, I decided to dump the tables that I had (there was no useful information in them) and start over. We

[PATCH] Fix sqlall for django-admin.py...

2006-03-27 Thread John Szakmeister
Hello All, I'm trying to get up and running with the magic removal branch and ran into my first snafu. It turns out the sqlall command didn't quite work. Turns out it was an easy fix though (if the patch is correct). I've attached a patch for it to this email. -John --~--~-~--~---

Re: Proposal: Validation-aware models

2006-02-22 Thread John Szakmeister
On Wednesday 22 February 2006 04:13, Christopher Lenz wrote: [snip] > > Why not do the validation on Model.save(). The developer can not > "forget to validate", but the model instance is allowed to be invalid > temporarily, until it is fully populated and actually gets saved. I agree. It's a lot

Re: using model classes without a server

2006-02-20 Thread John Szakmeister
On Sunday 19 February 2006 13:36, Michael Twomey wrote: > On 19/02/06, xamdam <[EMAIL PROTECTED]> wrote: > > Django models can already be manipulated outside of the web app with > > manage.py shell > > I am looking for a way to have a regular python script (say, running a > > batch job) use the mo

Re: magic-removal: "Change subclassing syntax"

2006-01-27 Thread John Szakmeister
On Wednesday 25 January 2006 18:15, Daniel Poelzleithner wrote: > Jeremy Dunck wrote: > > This makes me think the world needs a wiki whose wikitext syntax is > > restructured text. > > In general ? > At least trac has a macro for restructured text I think. Yes, it does: http://projects.edgewall

Re: svn eol-style

2005-12-08 Thread John Szakmeister
On Wednesday 07 December 2005 16:41, oggie rob wrote: > Can somebody with checkin privs do this? I think the info I posted > earlier will work (followed by a commit, of course): > at top level of a clean checkout: > > svn propset snv:eol-style native -R . s/snv/svn/ > cd contrib/admin/media/img/

Re: svn eol-style

2005-12-06 Thread John Szakmeister
On Tuesday 06 December 2005 01:23, oggie rob wrote: > FYI here are the 'text' file endings that are used throughout (if you > used autoprops in your config file you would set these to > eol-style:native): > .css > .html > .js > .po (?) > .py > .txt > And here are the binary ones (which you wouldn'

Re: svn eol-style

2005-12-06 Thread John Szakmeister
On Monday 05 December 2005 23:06, oggie rob wrote: > Thanks John. > So even with a good editor (I'm a SlickEdit guy myself) it can cause > problems when you diff saved files if you don't happen to change the > default editor save behaviour. > Should I open a ticket? I use SlickEdit as well... I d

Re: svn eol-style

2005-12-05 Thread John Szakmeister
On Monday 05 December 2005 14:23, oggie rob wrote: > Hi all, > I'm a little embarrased to ask... > I am working off Win2K, and any time I open a file with notepad (which > doesn't convert line endings) I'm looking at a *nix file. Also any > change I make to my local copy results in full-file diff