Commit e1a5ea1c authored by Daniel W Bond's avatar Daniel W Bond
Browse files

added pagination on the templated and finished with the views

parent 1b16aeec
......@@ -9,3 +9,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
......@@ -9,3 +9,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
......@@ -9,3 +9,5 @@
{% endfor %}
{% endblock %}
{% include 'pagination.html' %}
......@@ -112,6 +112,15 @@ def person(request, slug):
context_instance = RequestContext(request),
)
# ux display all thing continued
@login_required
def all_person(request):
return render_to_response('all_person.html', {
all_person = Person.objects.all(),
},
context_instance = RequestContext(request),
)
@login_required
def organization(request, slug):
return render_to_response('organization.html', {
......@@ -120,6 +129,15 @@ def organization(request, slug):
context_instance = RequestContext(request),
)
# ux display all things continued
@login_required
def all_organization(request):
return render_to_response('all_organization.html', {
all_organization = Organization.objects.all(),
},
context_instance = RequestContext(request),
)
@login_required
def search(request):
return render_to_response('search.html', {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment