On 2/26/06, Russell Keith-Magee <[EMAIL PROTECTED]> wrote:
> To me, the difference in add() behaviours is a potentially confusing
> inconsistency. In addition, the m2m interpretation of add() makes more
> sense (to me, anyway) than the o2m behaviour. To that end, I would
> like to propose the foll
Howdy folks --
Four days of PyCon sprints start tomorrow! A bunch of us here at PyCon
met this afternoon to plan out what we'll be working on over these next
four days. You can find those topics and notes from our meeting today
at http://code.djangoproject.com/wiki/PyConSprint06.
Anyone who's i
Hi all,
In working on an implementation for the remove() and clear() methods
for ManyRelatedObjectsDescriptor (i.e., mypolls.choices.remove() and
mypoll.choices.clear()), I have noticed that add() on a o2m
descriptor creates a new Choice object, whereas add() on a m2m
descriptor takes a list of
Can anyone suggest the best way to implement a model where there are
many different types of users, all of which have access to different
fields in the same database item?
We are a pair of Django newbies who are trying to port an in-house
Content Management System across from PHP. The CMS sits be
On Mon, 2006-02-27 at 00:29 +0100, gabor wrote:
> Max Battcher wrote:
> > gabor wrote:
> >> i actually got around this problem by adding the project-dir to the
> >> PYTHONPATH, but it seems a little as a hack...
> >
> > I'd have to disagree. I don't think it's a hack at all, as far as I'm
> >
Max Battcher wrote:
> gabor wrote:
>> i actually got around this problem by adding the project-dir to the
>> PYTHONPATH, but it seems a little as a hack...
>
> I'd have to disagree. I don't think it's a hack at all, as far as I'm
> concerned it makes sense if you think of the project directory
gabor wrote:
> i actually got around this problem by adding the project-dir to the
> PYTHONPATH, but it seems a little as a hack...
I'd have to disagree. I don't think it's a hack at all, as far as I'm
concerned it makes sense if you think of the project directory as a
"library namespace" (yo
hi,
http://www.djangoproject.com/documentation/tutorial3/
the "include" functionality in urlconfs is demonstrated,because it
allows you to decouple your application's urlconfig from the projects
urlconfig.
but the problem is,that you still have to use "absolute" imports in the
application's
On Sunday, 26.02.06 at 04:36, neomlsra wrote:
>
> I am working through the tutorial for Django and have had a dickens of
> a time displaying the values that are added through the admin. I have
> included my script below as I am using my own example vs. the Poll
> example to force me to think my w
That looks great! I would like to see it in Django.
Nice work!
--Nick
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups
I am working through the tutorial for Django and have had a dickens of
a time displaying the values that are added through the admin. I have
included my script below as I am using my own example vs. the Poll
example to force me to think my way through it vs. just copying code
examples. I have used
Armin Ronacher ÐÉÛÅÔ:
> Hiho :-)
>
> Yesterday I tried to implement a sitemap with jinja and i encountered a
> missing tag :-) The {% recurse %} tag.
>
> So whats this all about? A small example is here:
> http://wsgiarea.pocoo.org/trac/browser/jinja/trunk/unittests/tec/recurse.py
>
> The gener
Thanks,
thats very informative.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django developers" group.
To post to this group, send email to django-developers@googlegroups.com
To unsubscribe from this group, se
Are you planning on letting a model/application insert it's own SQL
info via a hook/event?
that way you could get the meta-data benefit if you add the
contenttype app which needs it, but otherwise it isn't even called.
cheers
Ian.
On 2/26/06, Adrian Holovaty <[EMAIL PROTECTED]> wrote:
>
> On 2/
I havn't compared with django but with some other template systems:
[EMAIL PROTECTED]:~/Developement/area51/tpltest$ python
tpltest.py
Running Test 'jinja'
TIME 0.00307821240425
Running Test 'kid'
TIME 0.00703014059067
Running Test 'simpletal'
TIME 0.0100415547848
15 matches
Mail list logo