Metadata-Version: 2.1
Name: django-routeview
Version: 1.0.1
Summary: A RouteView class which register itself
Home-page: https://github.com/TiphaineLAURENT/Django_RouteView
Author: Tiphaine LAURENT
Author-email: tip.lau@hotmail.fr
License: BSD
Platform: any
Classifier: Environment :: Web Environment
Classifier: Intended Audience :: Developers
Classifier: License :: OSI Approved :: BSD License
Classifier: Operating System :: OS Independent
Classifier: Programming Language :: Python
Classifier: Topic :: Internet :: WWW/HTTP :: Dynamic Content
Classifier: Topic :: Software Development :: Libraries :: Python Modules
Requires-Python: >=3.6
Description-Content-Type: text/markdown
Requires-Dist: Django

# Django_RouteView
Implement an auto-registered view


## Usage

Declare your view
```py
# views.py

from django_routeview import RouteView

class MyView(RouteView):

    route = "/myurl"
    name = "myname" # default to __name__

    def get(*args, **kwargs):
        pass
    ...
```

Import urls
```py
# urls.py

from django.urls import include

urlpatterns = [
    path("", include("django_routeview"))
]
```

