Hello,
I wish to know how I can call a method that takes in a request as one of its parameters such as
-- I wish to know how I can call a method that takes in a request as one of its parameters such as
def get(self, request, pk):
#I am writing a test method to test the above method too.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/8740fe0d-e6b3-4caf-b35e-a442ee05e209%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
No comments:
Post a Comment