mediagoblin-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [GMG-Devel] problems with pagination links


From: jimbo
Subject: Re: [GMG-Devel] problems with pagination links
Date: Thu, 16 Apr 2015 17:54:12 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Icedove/31.6.0

In "mediagoblin/utils/object_gallery.html"

If I assign the pagination_base_url to "/" instead of None the
pagination url's render correctly.

{% macro object_gallery(request, media_entries, pagination,
                        pagination_base_url="/", col_number=5) %}

That solves my problem but I am not entirely sure why.


On 04/16/2015 02:40 PM, jimbo wrote:
> Hi I've setup a new mg install and I'm having issues with the pagination
> links at the foot of the page. The links are missing the base url and
> appear like this "http:///?page=2";
> 
> The cause of the problem may be that I've experimented a bit and tried
> one of the alternative deployment methods suggested in the wiki using
> uwsgi. https://wiki.mediagoblin.org/Deployment#uwsgi_with_configs
> 
> I am running the master branch of mg.
> 
> My new nginx config looks like this:
> https://paste.debian.net/hidden/dd3b1471/
> 
> And I have setup a runit script that launches the uwsgi process
> https://paste.debian.net/hidden/00fe4115/
> 
> Additionally I have another runit script that launches the celery process.
> 
> And actually all of this seems to be working quite well. I can create
> new users, login, and upload media. In fact, the only issue so far seems
> to be the pagination links at the foot of the page.
> 
> Can anyone offer me any suggestions for debugging this?
> 
> _______________________________________________
> devel mailing list
> address@hidden
> http://lists.mediagoblin.org/listinfo/devel
> 


reply via email to

[Prev in Thread] Current Thread [Next in Thread]