On Sat, Sep 8, 2012 at 5:06 AM, William Hart wrote:
> Hey Ramiro, thanks for the reply... yes you are correct I haven't mentioned
> the version of Django I have installed. I've experienced this on both 1.4.1
> and 1.5dev. I think I mentioned in the comments on SO that I've installed
> and uninst
>
> You've posted five time on StackOverflow and four times on this thread
> and haven't provided that rather basic piece of information.
>
Hey Ramiro, thanks for the reply... yes you are correct I haven't mentioned
the version of Django I have installed. I've experienced this on both
1.4.1
On Fri, Sep 7, 2012 at 12:36 PM, William Hart wrote:
> And used in templates like so:
> {% url 'dashboard' %}
If you want to use quotes, put:
{% load url from future %}
at the top of your template.
Newer versions of Djagno WILL eventually require quotes, and using the
'load url from future' line
On Fri, Sep 7, 2012 at 9:21 PM, William Hart wrote:
> Hi,
> Yes as per my first and second replies and the SO link I have done it with
> and without quotes.
>
> To be clear - this is not a 'fix my code' question as I had already found
> the workaround before posting, the question is more whether i
Hi,
Yes as per my first and second replies and the SO link I have done it with
and without quotes.
To be clear - this is not a 'fix my code' question as I had already found
the workaround before posting, the question is more whether it is expected
behaviour for the {% url %} tag to act differ
Have you tried it without the quotes? None of the examples in the
docs (https://docs.djangoproject.com/en/1.4/ref/templates/builtins/#url)
use quotes. (Which, in turn, probably means that you can't use a
variable there.)
On Fri, Sep 7, 2012 at 7:46 PM, William Hart wrote:
> Hi,
> Thanks for the
Hi,
Thanks for the reply.
Yes I'm fairly certain their are no absolute paths - the settings paths are
all built up using os.path, and there are no paths elsewhere in the
document.
Basically as far as I can tell what is happening is that the url name for
{% url 'dashboard' %}
is interprete
Are you certain that you don't have an absolute path lurking somewhere
in your code?
On Fri, Sep 7, 2012 at 3:36 PM, William Hart wrote:
> Hi all,
> I've made a post on stack overflow, but I'm not sure if this is some kind of
> weird bug or just something silly I'm doing. (see
> http://stackover
8 matches
Mail list logo