New Ticket

TICKET_CREATE privileges are required to perform this operation. You don't have the required permissions



Login Close

Changeset 73249fa


Ignore:
Timstamp:
Oct 14, 2018 12:23:25 AM (2 months ago)
Author:
Gary Martin <gjm@…>
Branches:
bh_core_experimental
Children:
31f1b1d
Parents:
d3dc9d9
Message:

Complete adding django rest framework example code

git-svn-id: https://svn.apache.org/repos/asf/bloodhound/branches/bh_core_experimental@1843802 13f79535-47bb-0310-9956-ffa450edef68

Files:
3 edited

Legend:

Unmodified
Added
Removed
  • bh_core/settings.py

    r0394b68 r73249fa  
    6060    'django.contrib.messages', 
    6161    'django.contrib.staticfiles', 
     62    'rest_framework', 
    6263] 
    6364 
  • trackers/urls.py

    r0394b68 r73249fa  
    2121urlpatterns = [ 
    2222    path('', views.home, name='home'), 
     23    path('ticket', views.TicketList.as_view()), 
    2324] 
  • trackers/views.py

    rd3dc9d9 r73249fa  
    2828 
    2929 
    30 class PlanetList(generics.ListCreateAPIView): 
     30class TicketList(generics.ListCreateAPIView): 
    3131    queryset = Ticket.objects.all() 
    3232    serializer_class = TicketSerializer 
Note: See TracChangeset for help on using the changeset viewer.