These are chat archives for django/django

16th
Dec 2017
mohammadreza
@ultra2mh
Dec 16 2017 10:53
hi in django 2 i have this error when i use namespace in include in urls.py
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 urls.py file
path('restaurants/', include('restaurants.urls',namespace='restaurants')),
how should i fix this?
Deniz Saner
@denizs
Dec 16 2017 11:08
Check this out @ultra2mh encode/django-rest-framework#5659
mohammadreza
@ultra2mh
Dec 16 2017 11:56
i checked so is it a bug ?
@Deniz
he said i removed the namespace so how should we define the namespace
mohammadreza
@ultra2mh
Dec 16 2017 12:51
i solved my problem with this link ... this is for someone how have similar problem like me
lobsangtsering
@khawalobsang_twitter
Dec 16 2017 14:40
dose anyone know how to deploy python ML model to android
i need hel
p
:smile:
Ace Of Spades
@codenoid
Dec 16 2017 14:40
what do you mean python ML model ?
lobsangtsering
@khawalobsang_twitter
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
@annshress
Dec 16 2017 14:46
SL4A?