Skip to content

Commit

Permalink
Loads of bug fixes; Example project finished;
Browse files Browse the repository at this point in the history
  • Loading branch information
James Pacileo committed Apr 18, 2011
1 parent aeb7ad7 commit 94def63
Show file tree
Hide file tree
Showing 24 changed files with 6,071 additions and 16 deletions.
3 changes: 2 additions & 1 deletion .gitignore
@@ -1,4 +1,5 @@
*.pyc
*.pyo
.idea**
local**
local**
build**
File renamed without changes.
2 changes: 2 additions & 0 deletions MANIFEST.in
@@ -0,0 +1,2 @@
include LICENSE.txt
recursive-include pure_pagination/templates *
28 changes: 26 additions & 2 deletions README.rst
@@ -1,3 +1,27 @@
django-pure-paginator
=====================
django-pure-pagination
======================

This django app is meant to pagination capabilities without enforcing code changes within a Django app.

The app is based upon the Django core pagination module.

Installation
------------

Add `purepagination` to INSTALLED_APPS

:
INSTALLED_APPS = (
...
'purepagination',
)

Substitute `from django.core.paginator import Paginator` with `from purepagination.pagination import Paginator`

Usage
-----

There a few different way you can make use of the features introduced within django-pure-pagination.

Firstly you can just use the render the pagination html directly by using `{{ page.render_pagination }}`v

Binary file added dist/django_pure_pagination-0.1-py2.7.egg
Binary file not shown.
15 changes: 15 additions & 0 deletions django_pure_pagination.egg-info/PKG-INFO
@@ -0,0 +1,15 @@
Metadata-Version: 1.0
Name: django-pure-pagination
Version: 0.1
Summary: UNKNOWN
Home-page: https://github.com/jamespacileo/django-pure-pagination/
Author: James Pacileo
Author-email: jamespacileo@gmail.com
License: BSD
Description: UNKNOWN
Keywords: pagination,django
Platform: UNKNOWN
Classifier: Programming Language :: Python
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: Framework :: Django
Classifier: Environment :: Web Environment
11 changes: 11 additions & 0 deletions django_pure_pagination.egg-info/SOURCES.txt
@@ -0,0 +1,11 @@
LICENSE.txt
MANIFEST.in
setup.py
django_pure_pagination.egg-info/PKG-INFO
django_pure_pagination.egg-info/SOURCES.txt
django_pure_pagination.egg-info/dependency_links.txt
django_pure_pagination.egg-info/not-zip-safe
django_pure_pagination.egg-info/top_level.txt
pure_pagination/__init__.py
pure_pagination/paginator.py
pure_pagination/templates/pure_pagination/pagination.html
1 change: 1 addition & 0 deletions django_pure_pagination.egg-info/dependency_links.txt
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions django_pure_pagination.egg-info/not-zip-safe
@@ -0,0 +1 @@

1 change: 1 addition & 0 deletions django_pure_pagination.egg-info/top_level.txt
@@ -0,0 +1 @@
pure_pagination
Empty file added example_project/__init__.py
Empty file.
Empty file.
4 changes: 4 additions & 0 deletions example_project/core/models.py
@@ -0,0 +1,4 @@
from django.db import models

# Create your models here.

0 comments on commit 94def63

Please sign in to comment.