Advertisement
Guest User

Untitled

a guest
Jun 16th, 2019
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.68 KB | None | 0 0
  1. class FooCreateView(CreateView):
  2. model = Foo
  3. ...
  4.  
  5. class FooListView(ListView):
  6. model = Foo
  7. ...
  8.  
  9. class FooDetailView(DetailView):
  10. model = Foo
  11. ...
  12.  
  13. class BarCreateView(CreateView):
  14. model = Bar
  15. ...
  16.  
  17. class BarListView(ListView):
  18. model = Bar
  19. ...
  20.  
  21. class BarDetailView(DetailView):
  22. model = Bar
  23. ...
  24.  
  25. class FooCreateView(CreateView):
  26. model = Foo
  27. ...
  28.  
  29. class BarCreateView(CreateView):
  30. model = Bar
  31. ...
  32.  
  33. class FooListView(ListView):
  34. model = Foo
  35. ...
  36.  
  37. class BarListView(ListView):
  38. model = Bar
  39. ...
  40.  
  41. class FooDetailView(DetailView):
  42. model = Foo
  43. ...
  44.  
  45. class BarDetailView(DetailView):
  46. model = Bar
  47. ...
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement