On Tue, Dec 1, 2009 at 1:08 AM, Luke Plant wrote:
> On Monday 30 November 2009 11:18:13 Russell Keith-Magee wrote:
>
>> > 1) Handling non-existent variables
>> > ==
> So, I'm *now* suggesting that we convert everything missing to None.
Sounds good to me.
> Behavio
I have posted a patch implementing this to ticket number #12292
(http://code.djangoproject.com/ticket/12292).
-- Leaf
--
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-develop...@googlegroups.com.
On Tue, Dec 1, 2009 at 2:25 AM, Thibaud Morel l'Horset
wrote:
> Hi,
>
> Syncdb will currently automatically load inital data fixtures if the
> files are there, even they are overwriting existing data in the db.
> This seems
> contrary to the principle stated in the syncdb documentation that it
> w
On Tue, Dec 1, 2009 at 2:13 AM, Tiago Samahá wrote:
> Hi guys,
>
> I'm starting in Django and want to know how the Django test
> environment works. I want to write a testing tool, similar
> zope.testbrowser.
> How can i start this? Where can i find information about this?
> I want to contribute wi
On Monday 30 November 2009 20:27:32 SmileyChris wrote:
> On Dec 1, 6:08 am, Luke Plant wrote:
> > Given that the 'Null' stuff has now been removed, we could
> > move back to your way to reduce the code a bit, but I'm not sure
> > it is worth it.
>
> I'd say reduce the code again.
I've removed Le
Hi,
Syncdb will currently automatically load inital data fixtures if the
files are there, even they are overwriting existing data in the db.
This seems
contrary to the principle stated in the syncdb documentation that it
will never alter existing data (see
http://docs.djangoproject.com/en/d
Hi guys,
I'm starting in Django and want to know how the Django test
environment works. I want to write a testing tool, similar
zope.testbrowser.
How can i start this? Where can i find information about this?
I want to contribute with Django, but i'm lost.
Thanks
--
You received this message be
On Dec 1, 6:08 am, Luke Plant wrote:
> Given that the 'Null' stuff has now been removed, we could
> move back to your way to reduce the code a bit, but I'm not sure it is
> worth it.
I'd say reduce the code again.
And I think you missed adding some files in your repo?
--
You received this mes
On Dec 1, 6:08 am, Luke Plant wrote:
> > I was with you right up until the equality comparisons (Null ==
> > Null -> False etc). As noted by Alex, it conflicts with the answer
> > given by {% ifequal %}; it also differs with Python's behavior.
>
> Yeah, I hadn't thought of that. I don't think it
On Monday 30 November 2009 11:18:13 Russell Keith-Magee wrote:
> > 1) Handling non-existent variables
> > ==
...
> > To do this properly, I think the best approach would be something
> > like "almost three valued logic", which would work as follows:
> >
> > 1) varia
Hi,
how would I change the existing of YEAR, MONTH, DAY field lookup for > and <
and how would I extend the field lookup to get somethnng like this:
SELECT ... WHERE EXTRACT('hour' FROM pub_date) > 20
what is for MYSQL:
SELECT ... WHERE HOUR(pub_date) > 20
to get all entries where the timepart o
On Mon, Nov 30, 2009 at 7:28 AM, Russell Keith-Magee wrote:
> I'll take another look at this patch next week to make sure I haven't
> missed anything. Assuming I don't find anything new and interesting
> (and assuming you're happy with my response on the API issues), this
> should be able to land
here's my crutch (just for the idea illustrating):
pre-pre-pre-alpha :)
settins.py
MIDDLEWARE_CLASSES = (
'middleware.handlers.Handler', # only first. it's posthandler
processor builder
'django.middleware.common.CommonMiddleware',
'django.contrib.sessions.middleware.SessionMiddlew
On Mon, Nov 30, 2009 at 12:17 PM, Tobias McNulty wrote:
> Hi Russell,
>
> Thanks for all your feedback. I think I've got everything covered except
> for a few questions about the API (see below).
>
> On Fri, Nov 20, 2009 at 3:29 AM, Russell Keith-Magee
> wrote:
>> * contrib.messages.compat: I
Currently, AdminSites and ModelAdmins have this idiom at the end of
'view' methods:
context_instance = RequestContext(request, current_app=(self.name or
self.admin_site.name))
return render_to_response(template_names, context, context_instance)
I would like to suggest creating a 'render_to_respon
On Mon, Nov 30, 2009 at 8:42 AM, Tim Graham wrote:
> Hi,
>
> I've worked on a few patches (and noticed some others) [#9502, #11782,
> #11800] to the documentation to add content-sensitive Sphinx markup to
> improve the structure of the docs, however, in #11800 Alex commented
> that "Jacob has been
On Sun, Nov 29, 2009 at 1:40 AM, Luke Plant wrote:
> Hi all,
>
> I started work replacing Django's if with the "smart-if" template tag
> by Chris Beaven ( http://www.djangosnippets.org/snippets/1350/ )
>
> Of course, it is not as simple as it looks...
>
> 4 issues:
>
> 1) Handling non-existent var
17 matches
Mail list logo