jrief / django-angular

Let AngularJS play well with Django
http://django-angular.awesto.com/
MIT License
1.23k stars 294 forks source link

no urls_by_namespace in djng.core.urlresolvers #285

Closed monsieurTut closed 7 years ago

monsieurTut commented 7 years ago

The documentation about partials mentions:

from djng.core.urlresolvers import urls_by_namespace

my_partials = urls_by_namespace('partials')

But there is no function urls_by_namespace in djng.core.urlresolvers (v.0.8.4).

adrienbrunet commented 7 years ago

Indeed this function has been deprecated in favor of a new approach, see here to handle URLs with djng. You can see the deprecation warning in previous version : See this commit

Would you like to contribute to the project and correct this part of the documentation ? It would be appreciated !

jrief commented 7 years ago

I removed it from the documentation now.