*thanks Nikolas!!!* you help me resolve the issue. no idea why it effects 
reverse but my log file show an error with some middleware and resloved 
that issue and for some reason all urls started working again!

On Friday, June 14, 2013 6:45:08 PM UTC+1, sparky wrote:
>
> Hi, I'm wondering if anyone can help me with the following issues it's 
> really confusing me *(and others who have tried to help)*
>
> The question is here: 
> http://stackoverflow.com/questions/17113479/django-get-absolute-url-empty-in-production
>
> *But the summery is. *
>
> I'm using {{ item.get_absolute_url }} in a template. Within development 
> the rendered HTML looks like this:
>
> *http://127.0.0.1:8002/contacts/group/edit/36/*  - correct!
>
> On live production it's empty:
>
> *http://domain.com/*  - empty!
>
> Meaning I get a 'NoneType' error on ayhting that uses 
> self.get_absolute_url() function (only on production)  the code is 100% the 
> same on both machines I promise. Both on Django 1.5.1 and it 100% works in 
> dev (runserver) but on on Apache. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to