On Wed, Mar 21, 2012 at 2:06 PM, Daniel Roseman wrote:
> On Wednesday, 21 March 2012 03:01:23 UTC-7, larry@gmail.com wrote:
>>
>>
>> I'm very new to django. The rest of the URL comes from the index
>> function in views.py. I wasn't sure if it violated the DRY principle
>> to hardcode it.
>
>
>
On Wednesday, 21 March 2012 03:01:23 UTC-7, larry@gmail.com wrote:
>
>
> I'm very new to django. The rest of the URL comes from the index
> function in views.py. I wasn't sure if it violated the DRY principle
> to hardcode it.
>
Fine, but you can't reverse a URL that does not exist. If you tri
Have you read the Django book section on advanced urlconfs, there is a very
good discussion on how to put together customs urls. There are also good
examples
as well. The Django book is online all you have to do is google for it.
On Wed, Mar 21, 2012 at 6:01 AM, Larry Martell wrote:
> On Tue, Mar
On Tue, Mar 20, 2012 at 11:04 PM, Daniel Roseman wrote:
> On Tuesday, 20 March 2012 15:27:27 UTC-7, larry@gmail.com wrote:
>>
>> I'm trying to generate a URL that looks something like this:
>>
>>
>> /report/faloom/EventLog/?message=EventSearchString&tool_ids=13&field_1=Tool&field_2=Time&field_
On Tuesday, 20 March 2012 15:27:27 UTC-7, larry@gmail.com wrote:
>
> I'm trying to generate a URL that looks something like this:
>
>
> /report/faloom/EventLog/?message=EventSearchString&tool_ids=13&field_1=Tool&field_2=Time&field_3=Module&field_4=Message&submit_preview=Generate+Report
>
> I ha
I'm trying to generate a URL that looks something like this:
/report/faloom/EventLog/?message=EventSearchString&tool_ids=13&field_1=Tool&field_2=Time&field_3=Module&field_4=Message&submit_preview=Generate+Report
I have the values for the arguments (message, tool_ids, etc) available to me.
My ur
I see, so I cannot use {% url %} in this case. Thanks!
On Dec 1, 3:53 pm, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Sun, 2008-11-30 at 23:42 -0800, Roy wrote:
> > Hi,
>
> > I have the following in one of my templates:
> > Flag
>
> > But I'm getting a TemplateSyntaxError:
>
> > Caught a
On Sun, 2008-11-30 at 23:42 -0800, Roy wrote:
> Hi,
>
> I have the following in one of my templates:
> Flag
>
> But I'm getting a TemplateSyntaxError:
>
> Caught an exception while rendering: Reverse for 'mysite.comments-
> flag' with arguments '(, '')'
> and keyword arguments '{}' not found
>
Hi,
I have the following in one of my templates:
Flag
But I'm getting a TemplateSyntaxError:
Caught an exception while rendering: Reverse for 'mysite.comments-
flag' with arguments '(, '')'
and keyword arguments '{}' not found
The named url "comments-flag" comes from
django.contrib.comments.ur
9 matches
Mail list logo