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
- 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
[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
- 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
- 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
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
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
--~--~-~--~---
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
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
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
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/
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'
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
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
14 matches
Mail list logo