Commit f09ff42a authored by ViolanteCodes's avatar ViolanteCodes
Browse files

created blank view for irc bot

parent 00165082
from django.shortcuts import render
from rest_framework.decorators import api_view
#Function based view iwth Api-view decorator
def list_irc_pending(request):
"""View to list Pending API totals. GET-only accepted."""
return Response({"message": "Hello, world!"})
# Create your views here.
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