Ian Maurer wrote:
> I didn't get very far with the new branch. My template is failing to
> render right off the bat... I haven't had a chance to investigate
> this, but my templates were/are working just fine under the main
> branch. Below is the end of my traceback... any thoughts?
>
> -ian
I c
Alice wrote:
> thanks :)
>
> did anything ever come of it?
>
> I agree that if a clean implementation cannot be done, it shouldn't.
> There was another interesting idea that a block could be referenced as
> a variable
>
> {% block content %}
> {% endblock %}
>
> {{ content }}
>
> or perhaps
>
On 10/14/05, Alice <[EMAIL PROTECTED]> wrote:
> did anything ever come of it?
>
> I agree that if a clean implementation cannot be done, it shouldn't.
> There was another interesting idea that a block could be referenced as
> a variable
>
> {% block content %}
> {% endblock %}
>
> {{ content }}
>
thanks :)
did anything ever come of it?
I agree that if a clean implementation cannot be done, it shouldn't.
There was another interesting idea that a block could be referenced as
a variable
{% block content %}
{% endblock %}
{{ content }}
or perhaps
{{ __content__ }}
any feedback on this?
I didn't get very far with the new branch. My template is failing to
render right off the bat... I haven't had a chance to investigate
this, but my templates were/are working just fine under the main
branch. Below is the end of my traceback... any thoughts?
-ian
return render_to_response('fo
On 10/14/05, Alice <[EMAIL PROTECTED]> wrote:
> I thought it would be neat to have my main menu also displayed in the
> footer but formatted differently
Hey Alice,
See this previous discussion:
http://groups.google.com/group/django-users/browse_thread/thread/b2809610dcf8fa3e/6d8503293554cece
A
I thought it would be neat to have my main menu also displayed in the
footer but formatted differently
{% block main_menu %}
...
{% endblock %}
{% block main_menu %}
...
{% endblock %}
however I got this error
"TemplateSyntaxError: 'block' tag with name 'main_menu' appears more
than once"
Andreas Stuhlmüller wrote:
> Robert Wittams wrote:
>
>>I can't really work this out without more information. Could you file a
>>ticket with a minimal example. ( or at least include a backtrace. )
>
>
> I didn't expect you to solve the problem. I just wanted to make sure
> that template_decorat
Robert Wittams wrote:
> I can't really work this out without more information. Could you file a
> ticket with a minimal example. ( or at least include a backtrace. )
I didn't expect you to solve the problem. I just wanted to make sure
that template_decorators.py doesn't depend on other new-admin
Andreas Stuhlmüller wrote:
> Robert Wittams wrote:
>
>>Alternatively, the easy way to do this would be to use
>>template_decorators.py from the new-admin branch
>
>
> The simple tag decorator looks like an extremely useful enhancement. At
> the moment I'm not ready to completely switch over to
On Friday 14 Oct 2005 1:27 pm, Sune Kirkeby wrote:
> On 10/14/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> > On Friday 14 Oct 2005 12:36 pm, Sune Kirkeby wrote:
> > > You have to setup another web-server for your media-files,
> > > and for the admin media-files.
> >
> > why? you can do every
Robert Wittams wrote:
> Alternatively, the easy way to do this would be to use
> template_decorators.py from the new-admin branch
The simple tag decorator looks like an extremely useful enhancement. At
the moment I'm not ready to completely switch over to the new-admin
branch -- is it possible to
On 10/14/05, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
> On Friday 14 Oct 2005 12:36 pm, Sune Kirkeby wrote:
> > You have to setup another web-server for your media-files,
> > and for the admin media-files.
>
> why? you can do everything on the same webserver - at least i can :-)
Okay. Ixnay
On Friday 14 Oct 2005 12:36 pm, Sune Kirkeby wrote:
> You have to setup another web-server for your media-files,
> and for the admin media-files.
why? you can do everything on the same webserver - at least i can :-)
--
regards
kg
http://www.livejournal.com/users/lawgon
tally ho! http://avsap.o
On 10/13/05, jms <[EMAIL PROTECTED]> wrote:
> I expected everything under the MEDIA_URL to be served from the
> MEDIA_ROOT, but all I get are 404s:
Django does not serve static files; MEDIA_URL tells Django the
prefix it should use in media-references, MEDIA_ROOT tells
Django where it should put
15 matches
Mail list logo