Parcourir la source

Register the Notification model to Django admin (#4186)

master
Islam Mesha il y a 1 an
Parent
révision
413de1ffae
Aucun compte lié à l'adresse e-mail de l'auteur
1 fichiers modifiés avec 3 ajouts et 2 suppressions
  1. 3
    2
      src/oscar/apps/communication/admin.py

+ 3
- 2
src/oscar/apps/communication/admin.py Voir le fichier

@@ -2,9 +2,10 @@ from django.contrib import admin
2 2
 
3 3
 from oscar.core.loading import get_model
4 4
 
5
-CommunicationEventType = get_model("communication", "CommunicationEventType")
6 5
 Email = get_model("communication", "Email")
7
-
6
+Notification = get_model("communication", "Notification")
7
+CommunicationEventType = get_model("communication", "CommunicationEventType")
8 8
 
9 9
 admin.site.register(Email)
10
+admin.site.register(Notification)
10 11
 admin.site.register(CommunicationEventType)

Chargement…
Annuler
Enregistrer