Hi all,
I'm on a Django project, and I have written the following functions in my 
views.py.

def my_view_function_1(request):
    #Some code
    return HttpResponse(------)


def my_view_function_2(request):
    #Some code
    return HttpResponse(------)


def my_view_function_3(request):
    #Some code
    return HttpResponse(------)


Some of them are POST requests and some of them are GET.
I need to switch to class based views. Is there any ways to include 
multiple GET requests and POST requests in class based views?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9ea40ca1-387e-4234-be01-504886d7de07%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to