> 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
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
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
>
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
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:
>>
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 }}
> {%
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_absolute_url is implemented in my model:
class BlogEntry(Model):
def
9 matches
Mail list logo