I think either using {% include "blah" %}, as described in
http://www.djangoproject.com/documentation/templates/, or writing
template tags for each of your packages would do the trick.
Albert Lee wrote:
> implements portal sytle template
>
> if I have some apps like calendar, event, etc , and I
> when using AddManipulator or ChangeManipulator, is there a convenient
> way of logging actions in admin_log?
hmm, something wrong with this question?
i´d really appreciate some help.
patrick
> Please take a look at my reply in that post. I think both topics are
awefully similar, should we simply "close" my post and discuss in here
instead?
Hi Roberto,
I'm not sure the goals you are asking for are the same. What I
mentioned applied to the model only, not to the admin interface.
You
Oh, I see what you mean. I'm pretty sure you can just do an 'from
myproject import settings' in your view module, then throw the
variables from that into your template context, e.g. "context
['MEDIA_URL'] = settings.MEDIA_URL" and so forth.
Regards,
Jeff
On Jan 8, 2006, at 2:00 PM, wiz
Thanks Adrian. What I'm actually wondering about though is whether
there is a "proper" way to clear out a session entirely? Is it just a
matter of iterating through all of the keys and clearing them one by
one? And on that note, I keep feeling like a user, upon login, should
get a fresh session
I asked a very similar question to this one yesterday and Alice has replied:
http://groups.google.com/group/django-users/browse_thread/thread/0350bdceec7d52d0/54af4cff81b20b32#54af4cff81b20b32
Please take a look at my reply in that post. I think both topics are
awefully similar, should we
2006/1/8, Adrian Holovaty :
>
> On 1/8/06, aaloy <[EMAIL PROTECTED]> wrote:
> > I'm trying to set the defaul value of a select box based on a
> > parameter, I'm trying something like
> >
> > {% for item in items_list %}
> > > {% ifequal item.id session.id %}
>
В Вск, 08/01/2006 в 11:42 -0500, Jeffrey E. Forcier пишет:
> 0.9, but I'm not positive) generic view which lets you assign a URL
> to a template directly without having to write a tiny custom view for
> it.
> http://www.djangoproject.com/documentation/generic_views/
Thanks, i'm already
Hello!
I'm trying to set the defaul value of a select box based on a
parameter, I'm trying something like
{% for item in items_list %}
{{item.name}}
{% endfor %}
But it complains about non existent item.id. As far as I can see in
the for documentation there is no way to get the actual
On Jan 8, 2006, at 3:20 AM, wiz wrote:
Is there a `portable` way of writing urls / passing settings right to
templates, w\o having to write custom views and such mess?
I may be misunderstanding you, but there's a fairly new-ish (since
there's no note about the development version, I assume
Is there any notion of creating or disposing of a session, further than
simply removing the user key from the current session (as is done in
the default auth implementation)? I have items (other than the user) in
the session that I don't want carried through logout/login sequences,
and I'm
On Jan 8, 2006, at 12:58 AM, Eugene Lazutkin wrote:
Just a suggestion: in addition to direct download and a torrent it
should be uploaded to http://video.google.com. In this case it is
easier to send a reference, when people ask. Not everybody can
download the whole thing. I can do it for
On 1/6/06, FX <[EMAIL PROTECTED]> wrote:
>
> Hi Ian,
> Thanks for the prompt reply. (which time zone are you in?)
I live in Melbourne Australia.
>
> I made some modifications to your Django Captcha that might be useful,
> so I'm attaching the patch (generated by svn) below. The changes are:
> 1.
В Сбт, 07/01/2006 в 08:41 -0800, PythonistL пишет:
> For the production server (Apache with mod_Python) I have in my
> settings.py
> MEDIA_ROOT = "C:/Django/TEMPLATES/Static/" #Python Syntax eventhough
> MEDIA_URL = "/Media/"
> For both( development and production server) then I use in my
14 matches
Mail list logo