Skip to content

Instantly share code, notes, and snippets.

@Nagasaki45
Last active August 29, 2015 13:57
Show Gist options
  • Select an option

  • Save Nagasaki45/9720734 to your computer and use it in GitHub Desktop.

Select an option

Save Nagasaki45/9720734 to your computer and use it in GitHub Desktop.
Start to write django views without implementation. Add it later, one by one.
def index(request):
return HttpResponse('in index')
def detail(request, item_pk):
return HttpResponse('in detail. pk = {}'.format(item_pk))
def comment(request, item_pk):
return HttpResponse('in comment. pk = {}'.format(item_pk))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment