
Product
Introducing License Overlays: Smarter License Management for Real-World Code
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
django-sortable-listview
Advanced tools
An extension of django's ListView that provides sorting.
Features:
These are the supported versions. Older versions may also work.
* Python (2.7, 3.5, 3.6, 3.7)
* Django (1.11, 2.1, 2.2)
Using pip::
pip install django-sortable-listview
If you want to use the provided templates and CSS add 'sortable_listview'
to your INSTALLED_APPS in your django settings.
To see how to include the css and templates in your application, look at the example project. The css is just standard bootstrap.
To run the example project. First make sure django and django-sortable-listview are on your python path. For example, from inside a virtualenv::
pip install django
pip install django-sortable-listview
Then from your cloned folder::
cd example_project
python manage.py migrate
python manage.py runserver
You should be able to see the example project at localhost:8000. A database is provided with some sample content. The username and password is admin/admin
For your development setup::
pip install -r requirements-dev.txt
To run the tests::
tox
You may not want to run the whole tox suite when you are doing development. In this case, uncomment the extra lines in requirements-dev.txt, but please don't commit these changes. (Suggestions welcome on a better way to manage this)
FAQs
An extension of django's ListView that provides sorting
We found that django-sortable-listview demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 3 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Product
Customize license detection with Socket’s new license overlays: gain control, reduce noise, and handle edge cases with precision.
Product
Socket now supports Rust and Cargo, offering package search for all users and experimental SBOM generation for enterprise projects.
Product
Socket’s precomputed reachability slashes false positives by flagging up to 80% of vulnerabilities as irrelevant, with no setup and instant results.