|
@@ -1,11 +1,11 @@
|
|
from django import forms
|
|
from django import forms
|
|
from SharixAdmin.models import SharixUser
|
|
from SharixAdmin.models import SharixUser
|
|
-from webservice_running.models import OrdersLocal
|
|
|
|
|
|
+from webservice_running.models import Event
|
|
from django.contrib.auth.forms import UserCreationForm
|
|
from django.contrib.auth.forms import UserCreationForm
|
|
|
|
|
|
class OrderRegForm(forms.ModelForm):
|
|
class OrderRegForm(forms.ModelForm):
|
|
class Meta:
|
|
class Meta:
|
|
- model = OrdersLocal
|
|
|
|
|
|
+ model = Event
|
|
fields = '__all__'
|
|
fields = '__all__'
|
|
|
|
|
|
def __init__(self, *args, **kwargs):
|
|
def __init__(self, *args, **kwargs):
|