2021-03-22 17:42:07 +00:00
|
|
|
from django.views.generic import CreateView
|
2021-03-01 09:56:10 +00:00
|
|
|
|
2021-03-22 17:42:07 +00:00
|
|
|
from .models import PartnerProfile
|
|
|
|
|
|
|
|
from localauth.mixins import LoginRequiredMixin
|
|
|
|
|
|
|
|
class PartnerRegistrationView(LoginRequiredMixin, CreateView):
|
|
|
|
model = PartnerProfile
|
|
|
|
exclude = ["user"]
|