replace
- Item.objects.filter(designer=user)
with
- Item.objects.filter(*request.user*)
On Thursday, 30 July 2020 at 09:03:26 UTC+10 coolguy wrote:
> Please share the project directory structure. Send a screen shot or write
> it. Tnx
>
>
> On Tuesday, July 28, 2020 at 11:14:14 P
Replace Item.objects.filter(*designer=user*).order_by('-timestamp') with
Item.objects.filter*(designer = request.user*).order_by('-timestamp')
On Thursday, 30 July 2020 at 09:03:26 UTC+10 coolguy wrote:
> Please share the project directory structure. Send a screen shot or write
> it. Tnx
>
>
Hi guys,
Am getting the below error when we I tried updating to 3.1a1 from 3.0.6
from rest_framework import filters as rest_filters
File
"/home/jules/.cache/pypoetry/virtualenvs/plum-TXT4_AUl-py3.8/lib/python3.8/site-packages/rest_framework/filters.py",
line 11, in
Hi guys,
Am getting the below error when we I tried updating to 3.1a1 from 3.0.6
from .router import router
File "/home/jules/plum/plum/router.py", line 4, in
from plum.plum_task.views_api import TaskViewSet, TaskStatusViewSet
File "/home/jules/plum/plum/plum_ta
Hi,
I would like to do something like this in views.py :
message = {"message":msg}
Channel('chat').send(message, immediately=True)
but the import : from channels import Channel doen't work. I'm using
channels==2.0.2.
--
You received this message because you are subscribed to the Google Groups
pictures are saved.
Does anyone have an idea of what I may be doing wrong?
Thanks
Jules
from django.db import models
from connect.post.models import Post
from nesh.thumbnail.field import ImageWithThumbnailField
class Picture(models.Model):
post
6 matches
Mail list logo