17 lines
382 B
Python
17 lines
382 B
Python
from django.apps import AppConfig
|
|
|
|
|
|
class WhatsappConfig(AppConfig):
|
|
default_auto_field = "django.db.models.BigAutoField"
|
|
name = "whatsapp"
|
|
|
|
def ready(self):
|
|
from django.urls import include, path
|
|
|
|
from horilla.urls import urlpatterns
|
|
|
|
urlpatterns.append(
|
|
path("whatsapp/", include("whatsapp.urls")),
|
|
)
|
|
super().ready()
|