I'm trying to print inside these methods in from this example in django
channels:
https://github.com/andrewgodwin/channels-examples/blob/master/multichat/chat/consumers.py
But nothing is coming through to the console.
I haven't worked with python Async before, so I'm not sure if I'm doing
some
you need to use libapache2-mod-wsgi-py3, since the package you used is for
python2 only
On Thursday, March 8, 2018 at 1:23:44 PM UTC-5, drone4four wrote:
>
> I’m having some issues deploying Django.
>
>
> Here is my site: https://daniel496.agency/
>
>
> I’m running a Digital Ocean Droplet with U
Ok i will try out the second one you gave now. Thanks
Sent from my HTC
- Reply message -
From: "Andy"
To: "Django users"
Subject: Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s)
tried: ['(?P[0-9]+)/$']
Date: Thu, Mar 8, 2018 20:00
which one of your calls to detail
This
But my views on the section of adding subject, please is it correct.
- Reply message -
From: "Andy"
To: "Django users"
Subject: Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s)
tried: ['(?P[0-9]+)/$']
Date: Thu, Mar 8, 2018 20:00
which one of your calls to deta
which one of your calls to detail are failing?
or
reverse('student:detail', kwargs={'pk': self.pk})
?
if its the second one, try with args=[self.pk]
Am Donnerstag, 8. März 2018 19:48:44 UTC+1 schrieb anyi.lloyd:
>
> Yes it is named profile.
>
> - Reply message -
> From: "Andy Grabo
Yes it is named profile.
- Reply message -
From: "Andy Grabow"
To:
Subject: Reverse for 'detail' with arguments '('',)' not found. 1 pattern(s)
tried: ['(?P[0-9]+)/$']
Date: Thu, Mar 8, 2018 05:18
Well, is it actually named profile inside the view? Rather than the default
original? Ch
I’m having some issues deploying Django.
Here is my site: https://daniel496.agency/
I’m running a Digital Ocean Droplet with Ubuntu 14.04 and Python v3.4 with
Django 2.0.2 installed.
In this post first I share what errors I am encountering, then what I think
is the issue is and then what
Hello Angel,
Did you try the following
transaction = Transaction.objects.filter(
user=user,
status=F('detail__status'),
).first()
Best,
Simon
Le jeudi 8 mars 2018 09:52:44 UTC-5, Angel Rojas a écrit :
>
> Hello friends, I have a little problem with a relationship with 3 tables
>
> table
thank you for your answer, but I need a next result
select * select User as u inner join transaction as tr on u.id=user_id.id
inner join transactionDetail as trd on tr.id=trd.transaction_id
where tr.current_status=trd.status
please how can I do that
thanks for your attention.
On Thursday
As written it looks like you want to get all the 0 status transactions for
a given user, and then get all the transaction details for those
transactions (.filter allows for any number of results) Since your var
transaction is a list, and you really only care about the ids to pull the
transactio
Hello friends, I have a little problem with a relationship with 3 tables
tables
- User
- Transaction
- TransactionDetail
my query is
class TransactionInitiated(generics.ListAPIView):
"""
List Transaction Initiated
"""
serializer_class = TransactionSerializer
def get_obje
Hi Alexis,
You'll need to do some work yourself - hook into database changes (either
via signals or overriding the save method) to send change notifications to
a different Group for each user (maybe use group names like "user-123213",
where the number is their ID).
Then, when someone connects via
Well, is it actually named profile inside the view? Rather than the default
original? Check if the name is right and your profile is named profile in
the template.
anyi.ll...@gmail.com schrieb am Mi. 7. März 2018 um
20:15:
> The profile already have an id. Just wanted to add to an existing profi
My goal is to send send any database updates to the relevant users. I was
thinking of utilizing the views of the post and patch requests to do this
but am not sure if there is better or more documented way.
--
You received this message because you are subscribed to the Google Groups
"Django u
Take a deeper look at the *RelatedFieldWidgetWrapper
(https://github.com/django/django/blob/1.3.2/django/contrib/admin/widgets.py#L200)*
Am Mittwoch, 7. März 2018 21:11:18 UTC+1 schrieb Justin Johnson:
>
> I have a user who saw how new objects can be created using the Admin
> forms, and asked if
15 matches
Mail list logo