These are chat archives for django/django

Dec 2017
Dec 16 2017 10:53
hi in django 2 i have this error when i use namespace in include in
django.core.exceptions.ImproperlyConfigured: Specifying a namespace in include() without providing an app_name is not supported. Set the app_name attribute in the included module, or pass a 2-tuple containing the list of patterns and app_name instead.
this is my url pattern in file
path('restaurants/', include('restaurants.urls',namespace='restaurants')),
how should i fix this?
Deniz Saner
Dec 16 2017 11:08
Check this out @ultra2mh encode/django-rest-framework#5659
Dec 16 2017 11:56
i checked so is it a bug ?
he said i removed the namespace so how should we define the namespace
Dec 16 2017 12:51
i solved my problem with this link ... this is for someone how have similar problem like me
Dec 16 2017 14:40
dose anyone know how to deploy python ML model to android
i need hel
Ace Of Spades
Dec 16 2017 14:40
what do you mean python ML model ?
Dec 16 2017 14:41
@codenoid i train a model using sklearn in python. So i want to use this model in android.
Anish Shrestha
Dec 16 2017 14:46