Please post the code of Model and explain what do you want as Queryset?
On Fri, 25 Oct 2019 at 17:26, Cheda me wrote:
> Hey guys,
>
> I have worked out the SQL query I would like to implement but am currently
> struggling to create the Django query. I have been attempting to use the
> .aggregat
where is your wishlist model?
On Fri, 25 Oct 2019 at 19:41, Shubham Mishra
wrote:
> thank you ,
> But I'm not getting the actual logic , I tried so many times but it didn't
> work , so if you suggest me with some code . this will help me a lot . and
> also to get this internship.
>
> On Fri, O
Hi, Good work. The only flaw I noticed was in the calendar. When creating
a post and selecting a date by mouse clicking the calendar is not
disappearing.
otherwise good work. Carry on.
On Sun, 6 Oct 2019 at 20:40, Ehab Al-Qabbani wrote:
> Thanks so much
>
> On Sun, Oct 6, 2019 at 4:51 PM Rach
Unfortunately I'm using django-channels channels 1.1.8, as I missed all the
updates to channels 2.0. Upgrading now is unrealistic as we've just
launched this will take some time to figure out correctly.
Here's my problem:
I'm using the *message.user.id *to differentiate between authenticated
u
> consumers are getting called? As in each event goes to two routing entries?
> That definitely shouldn't happen.
>
> Andrew
>
> On Tue, Dec 19, 2017 at 4:07 AM, SK >
> wrote:
>
>> So I just spent quite an amount of time posting a lengthy question with
>> sp
*Update: *I feel like I'm getting closer to solving this issue, but still
can't understand one thing.
If I have my routing file like this:
fb_routing = [
route("websocket.connect", consumers.connect_face),
route("websocket.receive", consumers.get_face),
route("websocket.disconnect", consumers
Hi,
So maybe I'm getting everything wrong, but I'm a little confused with
routing.
Let's say I want to separate the consumers dealing with messages coming
from my domain root:
http://domain.com/
and my `/import/` route:
http://domain.com/import/
I have my routing as so:
fb_routing = [
ro
So I just spent quite an amount of time posting a lengthy question with
specifics and examples but Google Groups simply didn't post.
I'll make this short:
In github issue below Andew writes:
Ah, well that's because you don't have a path key in your message - the
> routing isn't magical, it ju
I have my standalone box without internet connection and having pythong
packages in a directory to install,
I used the following pip command to install the python package with the
"requirement" file
/usr/bin/pip install --no-download -r ./installer/requirements -b
./installer/SOURCES/python-mo
I have standalone box with python packages downloaded and no internet
connection. And when I tried to execute
/usr/bin/pip install --no-download -r ./installer/requirements -b
./installer/SOURCES/python-modules-sources
--install-option=--prefix=/somepath/tmp
It is hanging when "Running setup.
you have added to the installed_apps?
четверг, 7 мая 2015 г., 12:39:16 UTC+3 пользователь Алексей Широков написал:
>
> I have custom user model.
>
> settings.py
> ---
> ...
> AUTH_USER_MODEL = 'account.User'
> ...
>
>
> also I have following AppConfig
>
> account/apps.py
> ---
To many calculations in the from_db_value function. Need optimizations. And
what about query limitations: 1.5b is really needed?
class SYSGUID16Field(models.Field):
default_error_messages = {
'invalid': "'%(value)s' is not a valid SYS_GUID."
}
description = "A connector to the SYS_GUID
2014 4:19:40 PM UTC-4, george wrote:
>
> Django Waffle is very good.
>
>
> On Mon, Jul 7, 2014 at 5:07 PM, sk > wrote:
>
>> Hello All,
>>
>> I would like to try out one of the feature flag libraries available for
>> Django. So far I have come across G
Hello All,
I would like to try out one of the feature flag libraries available for
Django. So far I have come across Gargoyle - a feature flag library and
cannot wrap my head around as to how it should be implemented. Does anyone
know of any tutorial or can guide me how to go about it?
If ther
> On May 22, 12:51 pm, sk <6b656...@gmail.com> wrote:
>
>
>
>
>
> > If I have a hierarchy of models such that:
>
> > class A(models.Model):
> > name = CharField(max_length=10)
>
> > class B(models.Model):
> > name = Cha
If I have a hierarchy of models such that:
class A(models.Model):
name = CharField(max_length=10)
class B(models.Model):
name = CharField(max_length=10)
a= ForeignKey(A)
class C(models.Model):
name = CharField(max_length=10)
b= ForeignKey(B)
If I have an instance of C, as re
natural_key(self):
return (self.name,)
I realise this is a pretty basic Python 'gotcha' and one I would hope
I would normally spot! In this case I was just not sure where the
problem was.
I hope this helps someone else with the same problem, at some point!
regards
Stephen
On Mar 27, 11
the elegance of Django but little issues caused by my (lack of)
understanding are definitely holding me up!
Regards
Stephen
On Mar 26, 12:01 pm, sk <6b656...@gmail.com> wrote:
> Hi,
>
> I have searched high and low to an answer to this, but have been
> unable too turn anything up.
Hi,
I have searched high and low to an answer to this, but have been
unable too turn anything up. Apologies if I have overlooked an answer
or explanation elsewhere.
I have set up a very simple model as follows:
---
from djang
I clone a directory from hg in pycharm
such like this:
directory (clone from this level)
doc
server
webs
d_web1(this is a django project)
d_web2(another django project)
...
the d_web1 can't be recognized as a django project in pycharm
anyone can help me, thx
20 matches
Mail list logo