Re: Future of django-pagination in Debian

2014-02-12 Thread Andrew Starr-Bochicchio
On Tue, Feb 11, 2014 at 10:12 PM, Paul Wise  wrote:
> On Wed, Feb 12, 2014 at 11:02 AM, Andrew Starr-Bochicchio wrote:
>
>> Any one have any opinions?
>
> How does the upstream Django community recommend to do pagination?

Not sure if there is any official consensus. There are some built-in
tools in Django which are fairly low-level, [0] but there are also a
number of modules that have sprouted up to simplify things further
(i.e. django-bootstrap-pagination, [1] django-endless-pagination [2]).
In case github popularity is a useful judge:

Project Stars Forks

django-pagination412   166
django-bootstrap-pagination   5726
django-endless-pagination12926

django-pagination is packaged for Fedora, OpenSUSE, and (of course)
Ubuntu. While django-endless-pagination seems to only be packaged for
OpenSUSE and django-bootstrap-pagination doesn't seem to be packaged
for any of the "big" distros.

Arch packages the Linaro django-pagination fork as django-pagination-git.

[0] https://docs.djangoproject.com/en/dev/topics/pagination/
[1] https://github.com/jmcclell/django-bootstrap-pagination
[2] https://github.com/frankban/django-endless-pagination

Thanks!

-- Andrew Starr-Bochicchio

   Ubuntu Developer 
   Debian Developer 
   PGP/GPG Key ID: D53FDCB1


-- 
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: 
http://lists.debian.org/cal6k_azef5qlk-dqd-3v9vpham2w6futpj3fyb84ad-bkat...@mail.gmail.com



Re: Python CGI sandboxing advice (packaging of Online Python Tutor)

2014-02-12 Thread Jakub Wilk

* Olivier Berger , 2014-02-10, 10:51:

The CGI's code is supposed to be safeguarding against abuse,


The protection is not very good. (I'll disclose the details later.)

but I think some sandboxing would be better at the CGI invocation for 
additional security.


Agreed.

--
Jakub Wilk


--
To UNSUBSCRIBE, email to debian-python-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: http://lists.debian.org/20140212232736.ga21...@jwilk.net