File: views.py

package info (click to toggle)
django-sortedm2m 3.1.1-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 344 kB
  • sloc: python: 954; javascript: 129; makefile: 17
file content (10 lines) | stat: -rw-r--r-- 191 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
from django.views.generic import UpdateView

from .models import ParkingArea


class ParkingAreaUpdate(UpdateView):
    model = ParkingArea


parkingarea_update = ParkingAreaUpdate.as_view()