> If that does not get you any further, could you paste your complete
> model on dpaste.com?
Never mind dpaste, just post to this group.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Am 17.12.2007 um 23:03 schrieb Jan Rademaker:
>
>
> On Dec 17, 6:36 pm, Florian Lindner <[EMAIL PROTECTED]> wrote:
>>
>> my code in the model:
>>
>>def get_absolute_url(self):
>>return self.id
>>
>> Anyone else got an idea? I would send anyone any code he requests...
>>
>
On Dec 17, 6:36 pm, Florian Lindner <[EMAIL PROTECTED]> wrote:
>
> my code in the model:
>
> def get_absolute_url(self):
> return self.id
>
> Anyone else got an idea? I would send anyone any code he requests...
>
Are you sure your code is indented right, e.g. did you mix s
Am 16.12.2007 um 18:09 schrieb yml:
>
> Hello,
> This exact situation happens to me sometimes ago and the root cause is
> that either you have an error in your urls.py or you are using the
> decorator "user_passes_test".
Never heard of this decorator therefore I suppose I don't use it. ;-)
>
>
On Fri, 2007-12-14 at 23:29 +0100, Florian Lindner wrote:
> Hello,
> I have two question regarding get_absolute_url:
>
> 1) I have the template code:
>
> {% for entry in object_list %}
> {{ entry.title }}
> {% endfor %}
>
> It's called from a .generic.list_detail.object_list. My
> get_absol
Hello,
This exact situation happens to me sometimes ago and the root cause is
that either you have an error in your urls.py or you are using the
decorator "user_passes_test".
In order to solve the first one you should comments all the lines in
urls.py and uncomment line after line. This is the the
Am 15.12.2007 um 05:03 schrieb Alex Koshelev:
>
> 1) May be string is needed
As I said, even when I return a constant string (return "foo") it
changing nothing.
>
> 2) Absolute url not uri. So domain name is not needed.
>
> On 15 дек, 01:29, Florian Lindner <[EMAIL PROTECTED]> wrote:
>> Hell
1) May be string is needed
2) Absolute url not uri. So domain name is not needed.
On 15 дек, 01:29, Florian Lindner <[EMAIL PROTECTED]> wrote:
> Hello,
> I have two question regarding get_absolute_url:
>
> 1) I have the template code:
>
> {% for entry in object_list %}
> {{ entry.title }}
> {% e
8 matches
Mail list logo