Metadata-Version: 2.1
Name: django-urlman
Version: 0.1.0
Summary: UNKNOWN
Home-page: https://github.com/randydu/django-urlman.git
Author: randydu
Author-email: randydu@gmail.com
License: MIT
Download-URL: https://github.com/randydu/django-urlman/archive/v0.1.0.tar.gz
Description: # django-urlman
        URL manager for Django
        ======================
        
        Django is powerful, we want it to be as simple as possible to use without sacrificing flexibility.
        
        Usage
        ------
        
        In project's urls.py:
        
        ```python
        
        from django_urlman import mount
        
        urlpatterns = [
            # original django urls
            path('polls/', include('polls.urls')),
            path('admin/', admin.site.urls),
        
            # django-urlman aware apps
            * mount('app1/', 'app1'),
            * mount('app2/', 'app2'),
        ]
        
        ```
        
        In app1 module:
        
        ```python
        from django_urlman import url
        
        @url
        def hi(_):
            return HttpResponse('Hello World')
        
        ```
        
        Then the api endpoint "app1/hi" should return "Hello World". 
        
Keywords: django,url,route
Platform: UNKNOWN
Classifier: Development Status :: 2 - Pre-Alpha
Classifier: Intended Audience :: Developers
Classifier: Operating System :: OS Independent
Classifier: Topic :: Software Development :: Libraries
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Classifier: License :: OSI Approved :: MIT License
Classifier: Programming Language :: Python :: 3
Description-Content-Type: text/markdown
