File: urls.py

package info (click to toggle)
python-django-zeal 2.0.4-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 284 kB
  • sloc: python: 1,387; makefile: 25; sh: 9
file content (8 lines) | stat: -rw-r--r-- 220 bytes parent folder | download
1
2
3
4
5
6
7
8
from django.urls import path

from .social.views import all_users_and_profiles, single_user_and_profile

urlpatterns = [
    path("users/", all_users_and_profiles),
    path("user/<int:id>/", single_user_and_profile),
]