mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-30 22:29:32 +00:00
Make StudentCardFormView fragment only
This commit is contained in:
1 parent
b81cf49d0a
commit
d4b9c3afb1
8 files changed
+233
-187
No files matched your search
@@ -54,7 +54,6 @@ from counter.views.home import (
|
||||
from counter.views.invoice import InvoiceCallView
|
||||
from counter.views.student_card import (
|
||||
StudentCardDeleteView,
|
||||
StudentCardFormFragmentView,
|
||||
StudentCardFormView,
|
||||
)
|
||||
|
||||
@@ -81,11 +80,6 @@ urlpatterns = [
|
||||
StudentCardFormView.as_view(),
|
||||
name="add_student_card",
|
||||
),
|
||||
path(
|
||||
"customer/<int:customer_id>/card/add/counter/<int:counter_id>/",
|
||||
StudentCardFormFragmentView.as_view(),
|
||||
name="add_student_card_fragment",
|
||||
),
|
||||
path(
|
||||
"customer/<int:customer_id>/card/delete/<int:card_id>/",
|
||||
StudentCardDeleteView.as_view(),
|
||||
|
||||
Reference in new issue
Block a user