Re: WYSIWYG Image upload challenge

2009-02-18 Thread Lee Braiden
2009/2/18 phoebebright : > > I have now spend 5 solid days trying to get any WYSIWYG editor with an > image upload working in django with no success. Current status: > This must be solveable!!! > > Any suggestions very welcome at this stage. I suggest an image

Re: Changing the name of a project

2009-02-15 Thread Lee Braiden
Hi Malcom, 2009/2/15 Malcolm Tredinnick : > Um .. names are how we refer to things in both the real world and code. OK, this discussion is going nowhere without concrete examples, so I'll leave it here and just submit patches later. Regards, -- Lee

Re: Changing the name of a project

2009-02-14 Thread Lee Braiden
Hi Malcom, 2009/2/14 Malcolm Tredinnick : > So I realise this you are writing your opinion, but also consider that > the flip side isn't completely invalid. There's an outside chance > (alternatively expressed as "100% guaranteed") that when I write > something here

Re: Changing the name of a project

2009-02-13 Thread Lee Braiden
2009/2/14 Malcolm Tredinnick : > Fact is, there's nothing particularly wrong > with using a project directory or even the project name, providing > things remain within that namespace. A large portion of code that's > written isn't going to be reusable apps Have to

Re: blank=True on Char/TextFields

2009-02-13 Thread Lee Braiden
2009/2/13 Praveen : > Avoid using null on string-based fields such as CharField and > TextField unless you have an excellent reason. What exactly is the reasoning behind this advice? It seems to me that one would very rarely want to store an empty string. For

Re: Really dumb question re output variable for debugging

2009-02-11 Thread Lee Braiden
2009/2/11 Karen Tracey : > On Wed, Feb 11, 2009 at 3:01 PM, phoebebright > wrote: >> >> I need to see the contents of some objects that are passed as >> parameters into a function.  I can stop the function (assert false) >> and look at the

Re: MAC Address-Field needed- Validate a Char-Field (RegEx) or create my own Field?

2009-02-06 Thread Lee Braiden
ARie, Ideally, I think you'd want to create a mac field that works more like a credit card validation field than a simple regex checker. I say that because you could check the manufacturer prefix codes of the mac addresses and verify that the suffixes match things they've produced, and stuff

Re: Django Development Process

2009-01-12 Thread Lee Braiden
On Sun, 2009-01-11 at 19:03 -0800, AlexiPoliski wrote: > What I would like to ask is, from more experienced Django developers, > what way do you prefer to create your applications? Models then views > then templates? Models then templates then views? Or models then views > AND templates

Re: Shouldn't blank=True imply null=True?

2009-01-07 Thread Lee Braiden
On Wed, 2009-01-07 at 13:40 -0700, Jeff Anderson wrote: > tofer...@gmail.com wrote: > > ...I was genuinely interested in how this would look. One thing worth bearing in mind is that Django supports different database backends. Potentially, or ideally, it might even support non-SQL databases,

Re: Circular imports between managers and models

2009-01-06 Thread Lee Braiden
On Tue, 2009-01-06 at 04:42 -0800, Polat Tuzla wrote: > Hi, > Suppose I have two classes in "models.py", namely A and B. And there > is the manager for B as BManager in "managers.py". BManager makes use > of clas A. > > This situation leads to circular imports between "managers.py" and >

Re: Shouldn't blank=True imply null=True?

2009-01-06 Thread Lee Braiden
possible to use django's blank argument in this way, for all datatypes. If not, then I certainly think the current need to specify it is useless, and should be fixed, so the above is possible. -- Lee Braiden http://irukado.org > My religion is simple: my religion is kindness. -- Dalai Lama --~--~