My views
from django.shortcuts import render def auto_notification(request): return
render (request, "user/dashboard.html")
My models
from django.db import models from django.contrib.auth.models import User
#articles model
class Articles(models.Model):
title = models.CharField(max_length=300)
gt; On Tue, 2 May 2023, 7:55 pm Vishesh Mangla,
>> wrote:
>>
>>> Looks like issue is with pillow
>>>
>>> On Tue, 2 May, 2023, 22:17 Byansi Samuel,
>>> wrote:
>>>
>>>> Which version of python do you use?
>>>>
>>&
Which version of python do you use?
It's because of python. Change the version of your python from anyone you
have been using and install
Python 3.10, it will work fine and successful
On Tue, May 2, 2023, 7:41 PM Stan Hiebah wrote:
> Can i have a solution for this?
>
> --
> You received this
Your code is not wrong but just add "url" after static. Then it will work
On Tue, May 2, 2023, 5:44 PM William Nash (Bill) wrote:
> Try this. I'm still learning myself
>
> In your HTML file, you can use the img tag to display the image.
>
>
>
> To check if the QR code is true or false, you
I got an error when trying to create a review form in Django and it
returned to that title as the error in my browser.
I have included a text file containing my codes and l would like to request
assistance on how l can solve that issue, tanks, I'm Samuel
--
You received this message because you
hne
wrote:
> Se comments below.
>
>
> Den fre 24 feb. 2023 kl 12:14 skrev Byansi Samuel <
> samuelbyans...@gmail.com>:
>
>> Hey everyone, l got a problem. Am trying to retrieve a single latest
>> object added everytime, and display it in the template.
>>
lished_date')[:4]]
>
>
> On Mon, 27 Feb 2023 at 16:52, Byansi Samuel
> wrote:
>
>> I got a problem with my queryset. Am trying to get 4 latest objects from
>> my model but it returns 1 objects the top latest.
>>
>> Below is my code. Any support and gui
-- Forwarded message --
From:
Date: Feb 27, 2023 11:49 AM
Subject: Getting 4 four latest objects from django model
To:
Cc:
I got a problem with my queryset. Am trying to get 4 latest objects from my
model but it returns 1 objects the top latest.
Below is my code. Any support
I got a problem with my queryset. Am trying to get 4 latest objects from my
model but it returns 1 objects the top latest.
Below is my code. Any support and guidance is appreciated.
#action/views.py
from Action.models import ActionGame
latest_action= [ActionGame.objects.filter
Hey everyone, l got a problem. Am trying to retrieve a single latest object
added everytime, and display it in the template.
Below is my codes but;
Help me figure it out the source of the problem in these different
instances below
___ issue number 1___
Thanks it worked but I would like to ask you, why did you use " game" in
{%for game in combined_list %} ? En what is the role of 'game'
On Sat, Jan 14, 2023, 8:35 PM Hector Mwaky wrote:
>
>1.
>
>In the windows_games view in others/views.py, you are using the
>filter() method on
Hey! Am having a problem. And l request for your Help.
Am having 3 apps in Django project
- action
- adventure
- others
#action/ models.py
class Action(models.Model):
name=models.Charfield()
os= models.Charfield( choices=OS)
#adventure/models.py
class
12 matches
Mail list logo