Example #1
0
def base(request):
    all_contacts = Contact.objects.all()
    template = 'contacts.html'
    return r(template,
            {'all_contacts': all_contacts},
            request)
Example #2
0
 def get_home_page(self, request, *args, **kwargs):
     template = 'index.html'
     return r(template, {}, request)
Example #3
0
 def get_home_page(self, request, *args, **kwargs):
     template = 'index.html'
     return r(template, {}, request)
Example #4
0
def base(request):
    all_contacts = Contact.objects.all()
    template = 'contacts.html'
    return r(template, {'all_contacts': all_contacts}, request)