from django.views.generic import TemplateView
from Website.models import Brand


class AdminReactView(TemplateView):
    template_name = 'admin-ui/admin-ui.html'

    def get_context_data(self, **kwargs):
        context = super().get_context_data(**kwargs)
        context["brand"] = Brand.objects.get(id=1)
        return context
    
971f16dcf6b279f1a727d53f6cd942154a546d5e
<mask token>


class AdminReactView(TemplateView):
    <mask token>
    <mask token>

<mask token>


class AdminReactView(TemplateView):
    <mask token>

    def get_context_data(self, **kwargs):
        context = super().get_context_data(**kwargs)
        context['brand'] = Brand.objects.get(id=1)
        return context

<mask token>


class AdminReactView(TemplateView):
    template_name = 'admin-ui/admin-ui.html'

    def get_context_data(self, **kwargs):
        context = super().get_context_data(**kwargs)
        context['brand'] = Brand.objects.get(id=1)
        return context

from django.views.generic import TemplateView
from Website.models import Brand


class AdminReactView(TemplateView):
    template_name = 'admin-ui/admin-ui.html'

    def get_context_data(self, **kwargs):
        context = super().get_context_data(**kwargs)
        context['brand'] = Brand.objects.get(id=1)
        return context

from django.views.generic import TemplateView
from Website.models import Brand


class AdminReactView(TemplateView):
    template_name = 'admin-ui/admin-ui.html'

    def get_context_data(self, **kwargs):
        context = super().get_context_data(**kwargs)
        context["brand"] = Brand.objects.get(id=1)
        return context
    