Yup, I'm waiting on one more pull request to land and I'll issue a 1.0.2
release to address the issue.
Andrew
On Wed, Jan 11, 2017 at 4:10 PM, Gene wrote:
> waiting for update in pip ..
>
> четверг, 12 января 2017 г., 3:09:50 UTC+3 пользователь Gene написал:
>
>> After accepting your patch it s
waiting for update in pip ..
четверг, 12 января 2017 г., 3:09:50 UTC+3 пользователь Gene написал:
>
> After accepting your patch it started to work! :-)
>
> четверг, 12 января 2017 г., 3:04:10 UTC+3 пользователь Gene написал:
>>
>> I managed to reproduce it in small project:
>>
>> see here test ca
After accepting your patch it started to work! :-)
четверг, 12 января 2017 г., 3:04:10 UTC+3 пользователь Gene написал:
>
> I managed to reproduce it in small project:
>
> see here test case:
> https://github.com/emakarov/chantest
>
> четверг, 12 января 2017 г., 2:26:37 UTC+3 пользователь Andrew G
I managed to reproduce it in small project:
see here test case:
https://github.com/emakarov/chantest
четверг, 12 января 2017 г., 2:26:37 UTC+3 пользователь Andrew Godwin
написал:
>
> Oh, disregard that, cross-checking with the django-channels IRC channel I
> see that it's the new message buffer
Oh, disregard that, cross-checking with the django-channels IRC channel I
see that it's the new message buffering behaviour going awry. You can track
the status of the fix in https://github.com/django/channels/issues/481
On Wed, Jan 11, 2017 at 3:22 PM, Andrew Godwin wrote:
> Yes, as long as the
Yes, as long as the management command uses the same settings and talks to
the same Redis server, it should all intercommunicate. If you can get it
reproducible I can definitely help more.
Andrew
On Wed, Jan 11, 2017 at 3:14 PM, Gene wrote:
> so, should it theoretically work in combination when
so, should it theoretically work in combination when runserver is launched
and I'm running in python manage.py shell ?
in case I will not be able to find a solution, I'll try to reproduce it on
some special small project
четверг, 12 января 2017 г., 2:11:16 UTC+3 пользователь Andrew Godwin
напи
It will only work with a Redis channel layer - in memory does not transport
things across processes. As long as everything being used has the same
channel layer settings and talks to the same Redis, I don't see why it
wouldn't work.
Andrew
On Wed, Jan 11, 2017 at 3:07 PM, Gene wrote:
> I tried
I tried first with inmemory, then with asgi_redis.RedisChannelLayer
same result
working in runserver mode
четверг, 12 января 2017 г., 2:06:15 UTC+3 пользователь Andrew Godwin
написал:
>
> That code looks correct. What channel layer are you using?
>
> On Wed, Jan 11, 2017 at 2:55 PM, Gene >
> wro
That code looks correct. What channel layer are you using?
On Wed, Jan 11, 2017 at 2:55 PM, Gene wrote:
> I'm trying to send messages to channels outside of consumers, as said in
> documentation but can't get a result.
>
> For example,
> in consumers.py I have:
>
> def channel_send(channel, data
I'm trying to send messages to channels outside of consumers, as said in
documentation but can't get a result.
For example,
in consumers.py I have:
def channel_send(channel, data):
channel.send({
'text': json.dumps(data)
})
def group_send(kind, data):
data = {
'kind
For anyone interested,
In django/django/forms/forms.py ln 45:
# Walk through the MRO.
declared_fields = OrderedDict()
for base in reversed(new_class.__mro__):
# Collect fields from base class.
if hasattr(base, 'declared_fields'):
declared_fields.update(base.declared_fields)
"r
Hello, I've been using AuditTrail from here
(https://code.djangoproject.com/wiki/AuditTrail) for quite a while, in 1.6,
and it's great.
Now, I'm upgrading django to 1.9 and running into some troubles with this
specifically. It seems that some model internals have changed and can't
quite figure
I found one solution :
in this section :
9. Add the following code after “if not third_party_auth_successful:”
I've replace
if db_profile is user:
by
if db_profile is None:
Le mercredi 11 janvier 2017 11:50:32 UTC+1, Pierre-Philippe Fady a écrit :
>
>
> Thank you from this explications.
Maybe because this is a list for django, not particular django libraries.
Did you look at the source code? Did you implement the get_table_data()
method?
On Wed, Jan 11, 2017 at 3:43 AM, Ali khan wrote:
> Vijay,
>
> I've tried many ways but its not working.
> Can you show me an example the way
Instead of passing prefix as an argument, you could set it as an
attribute of your models. Something like this:
class User(AbstractUser):
prefix = "mugshot"
mugshot = models.ImageField('AB', upload_to= generate_attachment, ...)
then generate_attachment would be something like
Hi,
I'm creating the Generic model for Comments i have following scenerios:
1. Comments conversion should happen between one to one.
2. Comments should show based on particular programs id.
thank you.
--
You received this message because you are subscribed to the Google Groups
"Django users"
Thank you from this explications.
Please could you help me about that ?
I can connect with an account from LDAP the first time, but next, i've an
error : IntegrityError: (1062, "Duplicate entry '37' for key 'user_id'")
--
You received this message because you are subscribed to the Google Grou
I wrote 3 models:
...
def generate_mugshot(instance, filename):
filename, ext = os.path.splitext(filename)
return "mugshot/%s/%s%s" % (instance.id, uuid4(), ext)
def generate_team_photo(instance, filename):
filename, ext = os.path.splitext(filename)
return "team/%s/%s%s" % (instan
19 matches
Mail list logo