from django.shortcuts import render
from . import models
from django.views.generic import DetailView , ListView , CreateView ,UpdateView


# Create your views here.
class RoomList(ListView):
    model = models.Room
    #fields = '__all__'

class RoomDetail(DetailView):
    model = models.Room
    #fields = '__all__'




class CreatRoom(CreateView):
    model = models.Room



class UpdateRoom(UpdateView):
    model = models.Room
4bba7ac73146d9db20604284099fc9c39c5bea9c
<mask token>


class RoomDetail(DetailView):
    <mask token>


class CreatRoom(CreateView):
    model = models.Room


class UpdateRoom(UpdateView):
    model = models.Room

<mask token>


class RoomDetail(DetailView):
    model = models.Room


class CreatRoom(CreateView):
    model = models.Room


class UpdateRoom(UpdateView):
    model = models.Room

<mask token>


class RoomList(ListView):
    <mask token>


class RoomDetail(DetailView):
    model = models.Room


class CreatRoom(CreateView):
    model = models.Room


class UpdateRoom(UpdateView):
    model = models.Room

<mask token>


class RoomList(ListView):
    model = models.Room


class RoomDetail(DetailView):
    model = models.Room


class CreatRoom(CreateView):
    model = models.Room


class UpdateRoom(UpdateView):
    model = models.Room

from django.shortcuts import render
from . import models
from django.views.generic import DetailView , ListView , CreateView ,UpdateView


# Create your views here.
class RoomList(ListView):
    model = models.Room
    #fields = '__all__'

class RoomDetail(DetailView):
    model = models.Room
    #fields = '__all__'




class CreatRoom(CreateView):
    model = models.Room



class UpdateRoom(UpdateView):
    model = models.Room