Add render button
This commit is contained in:
parent
b030f5797f
commit
8ecaef0daf
4 changed files with 22 additions and 20 deletions
|
|
@ -3,6 +3,7 @@
|
|||
|
||||
from django.contrib.auth.mixins import LoginRequiredMixin
|
||||
from django.views.generic import CreateView, UpdateView
|
||||
from django.views.generic.base import View
|
||||
from django_tables2 import SingleTableView
|
||||
|
||||
from .models import Billing
|
||||
|
|
@ -32,4 +33,10 @@ class BillingUpdateView(LoginRequiredMixin, UpdateView):
|
|||
"""
|
||||
model = Billing
|
||||
fields = '__all__'
|
||||
# form_class = ClubForm
|
||||
# form_class = BillingForm
|
||||
|
||||
|
||||
class BillingRenderView(View):
|
||||
"""
|
||||
Render Billing
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue