Hi,
I am new to django-oscar and i try to understand the structure of oscar. i
have read many times the documentation but i think there is something i
don't understand.
I fork the template and customise the layout.html, base.html. but how can i
build my own first page, i don't see an index.html
Thanks David for the idea i appreciate it i have gone with last way of
doing things but it doesnt render anything on data
Pls correct my code below
*views.py:*
class DeveloperTicketView(TemplateView):
template_name = 'app/ticket_view.html'
ticket = Ticket.objects.all()
extra_content = {'tick
Anyone plz review my code i am struggling to figure out what the issue here
is
On Monday, 22 November 2021 at 16:35:32 UTC+5:30 Trippy Samurai wrote:
> Thanks David for the idea i appreciate it i have gone with last way of
> doing things but it doesnt render anything on data
>
> Pls correct my
I was able to resolve this by overriding `clean()` instead of
`to_python()`. In there, I've the set correct queryset to use for
validation.
I still could not explain why `to_python()` is not called.
On Saturday, November 20, 2021 at 8:38:47 AM UTC+8 Earl Lapus wrote:
> Hi,
>
> I have a ModelFo
i think u forgot to configure model, please once configure and complete
check first
On Mon, Nov 22, 2021 at 4:36 PM Trippy Samurai
wrote:
> Thanks David for the idea i appreciate it i have gone with last way of
> doing things but it doesnt render anything on data
>
> Pls correct my code below
>
iam shahin salim .iam a student.now iam lerning python.but iam confused
with it.they give me this task.idont know were to sart.what i want to do
for learn and also do this task.
1.
Have a clear idea about View Engine and its working. Complete at least 3
sample works using view en
will update asap
On Mon, Nov 22, 2021 at 1:22 PM David Nugent wrote:
> Well, there are several ways you can deal with that.
>
> Probably easiest is to override get_template() and switch the template
> based on whatever type of ticket you're managing or you can change the
> value of self.template
Its done bro model is configured already i didn't just posted the models.py
file
On Monday, 22 November 2021 at 21:18:12 UTC+5:30 ram.asf...@gmail.com wrote:
> will update asap
>
> On Mon, Nov 22, 2021 at 1:22 PM David Nugent wrote:
>
>> Well, there are several ways you can deal with that.
>>
>
On 21/11/2021 06.57, Shahin Salim wrote:
iam shahin salim .iam a student.now iam lerning python.but iam confused
with it.they give me this task.idont know were to sart.what i want to do
for learn and also do this task.
I think you start with step one: "Have a clear idea about View Engine
an
Getting error while working with template view
views.py
class DeveloperTicketView(TemplateView):
def get_template_names(self):
if self.request.get('status') == 'Opened':
template_name = 'app/open_tickets.html'
elif self.request.get('status') == 'Accepted':
template_name = 'app/dev_accepted_tic
10 matches
Mail list logo