Django test command fail after changing models.py to a directory structure

2019-01-10 Thread Gonzalo Amadio


This is in Django 2.0 , python 3.6.5

I have an app called posts, and I changed models.py to a folder structure, 
i.e., create a directory models and move the file models.py insid. Also 
config __ init__.py file, as explained next. The project runs ok, but my 
test suite fails.

In my settings, installed apps i have the app as:

'myproject.apps.posts.apps.PostsConfig'

My app config (posts/apps.py)

from django.apps import AppConfigclass PostsConfig(AppConfig):
name = 'posts'   
verbose_name = 'posts'

I have move posts/models.py to a directory structure. So I have

posts/models/models.py
posts/models/proxymodels.py
posts/models/__init__.py

inside models/__ init__.py I do import my models as explained in doc

from .models import Jobfrom .proxys import ActiveJob

The project works well, but when trying to run tests:

python manage.py test

I have this error:

RuntimeError: Model class tektank.apps.posts.models.models.Job doesn't declare 
an explicit app_label and isn't in an application in INSTALLED_APPS.

The model is a normal one, with fields, nothing extrange. The thing is that 
if I declare in the meta

class Meta:
app_label = 'posts'

I got the following error:

RuntimeError: Conflicting 'job' models in application 'posts':  and .

Note: If I use pytest, I run the command:

pytest

It runs OK

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e1ff18f4-daca-4e5e-94e0-d0dce9d71306%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


How can I launch a page from a model method

2019-01-10 Thread Mike Dewhirst
Depending on field content before or after saving, it may - or may not - 
be necessary (in the Admin) to launch a non-Admin page.


In the Admin one particular model can have a combination of properties 
which require a payment. I want to launch a payment page if that combo 
is detected.


How can I do that?

Thanks

Mike



--
You received this message because you are subscribed to the Google Groups "Django 
users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4b1beb3e-33e2-1901-ad89-85cb619def4b%40dewhirst.com.au.
For more options, visit https://groups.google.com/d/optout.


Re: Django template translation not working as expected

2019-01-10 Thread shiva kumar
Can you explain what are django translation

On Thu 10 Jan, 2019 11:59 pm Ashutosh Das  I am using django 2.1 , here is all the settings related to translation:
>
>
> MIDDLEWARE = [
> 'corsheaders.middleware.CorsMiddleware',
> 'django.middleware.security.SecurityMiddleware',
> 'django.contrib.sessions.middleware.SessionMiddleware',
> 'django.middleware.locale.LocaleMiddleware',
> 'django.middleware.common.CommonMiddleware',
> 'django.middleware.csrf.CsrfViewMiddleware',
> 'django.contrib.auth.middleware.AuthenticationMiddleware',
> 'django.contrib.messages.middleware.MessageMiddleware',
> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
> 'debug_toolbar.middleware.DebugToolbarMiddleware',]
>
> LANGUAGE_CODE = 'en'
>
> LANGUAGES = (
> ('en', _('English')),
> ('bn', _('Bengali')))
>
> LOCALE_PATH = (
> os.path.join(BASE_DIR, 'locale'))
>
> TIME_ZONE = 'Asia/Dhaka'
>
> USE_I18N = True
>
> USE_L10N = True
>
> USE_TZ = False
>
> Template tag that I want to translate:
>
>
> {% load i18n %}
>   {% trans "About Us" %}
> I run both ./manage.py makemessages --all ./manage.py compilemessages
> commands , also added translation in .po file after makemessages command:
>
>
> # locale/bn/LC_MESSAGES/django.po#: templates/partials/footer.html:8
> msgid "About Us"
> msgstr "আমাদের সম্পর্কে"
>
> When I changed the language code from en to bn, template string still
> rendering the default english "About Us".
>
> Here are all the codes that I am using for changing language:
>
>
> 
> {% get_current_language as LANGUAGE_CODE %}
> {% if LANGUAGE_CODE == 'en' %}
> ENGLISH
> {% else %}
> বাংলা
> {% endif %}
> 
> 
> ENGLISH
> বাংলা
> 
> 
>
>
> views.py :
>
>
> def change_lan(request):
> allowed_lan = ('en', 'bn')
> get_lan = request.GET.get('lan', 'en')
> if get_lan in allowed_lan:
> translation.activate(get_lan)
> request.session[translation.LANGUAGE_SESSION_KEY] = get_lan
> return redirect(request.META.get('HTTP_REFERER', '/'))
> else:
> return redirect(request.META.get('HTTP_REFERER', '/'))
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/3ed3c00a-148e-4817-a470-bada1af10ba3%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMsYeuG%3DB65MCOZAz-z3x40iB94jG4HmR2TY-8Ma3siycQ7EJg%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


SPAM sent via this list?

2019-01-10 Thread rbrown107074
Helen, you got that shit right!!

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/8db90e70-6a0b-401d-9163-15dd2adca23f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Django template translation not working as expected

2019-01-10 Thread Ashutosh Das
 

I am using django 2.1 , here is all the settings related to translation:


MIDDLEWARE = [
'corsheaders.middleware.CorsMiddleware',
'django.middleware.security.SecurityMiddleware',
'django.contrib.sessions.middleware.SessionMiddleware',
'django.middleware.locale.LocaleMiddleware',
'django.middleware.common.CommonMiddleware',
'django.middleware.csrf.CsrfViewMiddleware',
'django.contrib.auth.middleware.AuthenticationMiddleware',
'django.contrib.messages.middleware.MessageMiddleware',
'django.middleware.clickjacking.XFrameOptionsMiddleware',
'debug_toolbar.middleware.DebugToolbarMiddleware',]

LANGUAGE_CODE = 'en'

LANGUAGES = (
('en', _('English')),
('bn', _('Bengali')))

LOCALE_PATH = (
os.path.join(BASE_DIR, 'locale'))

TIME_ZONE = 'Asia/Dhaka'

USE_I18N = True

USE_L10N = True

USE_TZ = False

Template tag that I want to translate:


{% load i18n %}
  {% trans "About Us" %}
{% get_current_language as LANGUAGE_CODE %}
{% if LANGUAGE_CODE == 'en' %}
ENGLISH
{% else %}
বাংলা
{% endif %}


ENGLISH
বাংলা

 


views.py :


def change_lan(request):
allowed_lan = ('en', 'bn')
get_lan = request.GET.get('lan', 'en')
if get_lan in allowed_lan:
translation.activate(get_lan)
request.session[translation.LANGUAGE_SESSION_KEY] = get_lan
return redirect(request.META.get('HTTP_REFERER', '/'))
else:
return redirect(request.META.get('HTTP_REFERER', '/'))

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3ed3c00a-148e-4817-a470-bada1af10ba3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: How & Where are Django View Functions Called?

2019-01-10 Thread Vivek Jha
you have to call in urls.py

from django.urls import path
projectname.appname.views import home

url patterns=[
  path('home/',home),


On Thu, Jan 10, 2019 at 10:11 PM abel otugeme  wrote:

> Ones your view matches your use patterns it gets called and run anytime
> you try access the site
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAMrS0S8J6VwHTqfDiWNN250JAU%2BCwqhJsNUdCdP5ni%3Dyj%3DYkEQ%40mail.gmail.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMriZeE9fywZX_%2BgG1JBedxnNKz2v_h9a1Q-LcQDtKFcSF9myA%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How & Where are Django View Functions Called?

2019-01-10 Thread abel otugeme
Ones your view matches your use patterns it gets called and run anytime you
try access the site

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAMrS0S8J6VwHTqfDiWNN250JAU%2BCwqhJsNUdCdP5ni%3Dyj%3DYkEQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


Re: How & Where are Django View Functions Called?

2019-01-10 Thread Jason
Check out https://www.youtube.com/watch?v=Lwp73bSaplo for a nice 
explaination of how the request response cycle works

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3ca3b325-70a0-47f6-bc68-b63b18dd2324%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: Django Channels and multi-tenant will this be a world of hurt?

2019-01-10 Thread N Muchai
@Filbert,

Am in the same exact spot using Django Channels with django-tenants. Did 
you find a way to identify the tenant?

Thanks.

On Tuesday, November 28, 2017 at 4:22:10 AM UTC+3, Filbert wrote:
>
> Sorry, yeah dig before I post :-|  Can create a class-based consumer and 
> use the message->headers->host. I'll get chest deep before ask another 
> question.
>
> On Monday, November 27, 2017 at 6:04:48 PM UTC-5, Andrew Godwin wrote:
>>
>> That would be correct (though please be aware Origin can be faked like 
>> host headers, so don't use it as the sole point of security).
>>
>> Is it not available via the headers list in the connect message?
>>
>> Andrew
>>
>> On Mon, Nov 27, 2017 at 2:58 PM, Filbert  wrote:
>>
>>> Thanks again. One last question, in order to "multi-tenant-ify" Channels 
>>> I think the challenge will be trickle the websocket "orgin" into the 
>>> consumer from Daphne somehow as it seems there is no way to know in a 
>>> consumer which tenant (unique domain) the message originated from. Without 
>>> the domain you can't establish the Postgres schema, without the schema you 
>>> have no tenant :-)
>>>
>>> Please confirm this would be the approach or whether I am wrong-headed 
>>> here.
>>> Thanks.
>>>
>>> On Sunday, November 26, 2017 at 9:58:58 AM UTC-5, Andrew Godwin wrote:

 I've never used attach-daemon so I can't help you there I'm afraid. As 
 long as it does sensible process-management things it's probably alright?

 Andrew

 On Sat, Nov 25, 2017 at 5:17 PM, Filbert  wrote:

> Andrew,
> Thanks for the response. Seeing that I am keeping uWSGI for the 
> non-websocket paths, any heartache with me starting daphne and the 
> consumers using uWSGI's attach-daemon? I do this with celery and it is a 
> convenient way to have everything for the App managed as a unit via a 
> single /etc/init (upstart) conf file.
> Thanks. 
>
> On Friday, November 24, 2017 at 7:10:29 PM UTC-5, Andrew Godwin wrote:
>>
>> Your assumptions all seem correct. Also consider that the security 
>> model of WebSockets is... interesting, so securing a multi-tenant setup 
>> is 
>> going to require a bit more work than you would merely doing the same 
>> for 
>> HTTP requests.
>>
>> There are other non-Channels options around if you want to look into 
>> them, but I suspect they'll all have similar architectural challenges.
>>
>> Andrew
>>
>> On Fri, Nov 24, 2017 at 3:09 PM, Filbert  wrote:
>>
>>> Running multi-tenant site using a fork of Django tenant schemas with 
>>> tens of web servers and thousands of tenants
>>>
>>> Piloting a project to implement Channels for real-time 
>>> notifications, etc.
>>>
>>> I want to confirm these assumptions:
>>>
>>> 1. Channels really has no support for multi-tenant, I will have to 
>>> roll my own.
>>> 2. Since uWSGI is serving us well and (at this point) I wouldn't 
>>> trust Daphne to serve HTTP, I've got split paths in NGinx for uWSGI and 
>>> ASGI.
>>> 3. We are running RabbitMQ, so we have to cluster it and implement 
>>> channels using asgi_rabbitmq (Redis would just add yet another moving 
>>> part)
>>> 4. Plan on significant additional resource requirements on the web 
>>> server and serious scaling challenges.
>>>
>>> Are their any other non-Channels options, or is it the really the 
>>> only game in town?
>>>
>>> Thanks.
>>>
>>>
>>>
>>> -- 
>>> You received this message because you are subscribed to the Google 
>>> Groups "Django users" group.
>>> To unsubscribe from this group and stop receiving emails from it, 
>>> send an email to django-users...@googlegroups.com.
>>> To post to this group, send email to django...@googlegroups.com.
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/aae2725b-d873-40fd-ae09-d1668ab9e727%40googlegroups.com
>>>  
>>> 
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>> -- 
> You received this message because you are subscribed to the Google 
> Groups "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send 
> an email to django-users...@googlegroups.com.
> To post to this group, send email to django...@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/d4906dc8-040b-4ee0-b11d-a7cc918b9e5d%40googlegroups.com
>  
> 

How to add a new record in django admin list_view, in a way similar to what extra forms do in inlines

2019-01-10 Thread Ivan Molineris
Hi,
I asked a question on stackoverflow 
 but I will ask also on this 
group just in case.

Using ModelAdmin.list_editable 

 
I can edit the fields of records listed in a list view of django admin, in 
a way similar to what is done with InlineModelAdmin.

Using InlineModelAdmin.extra 

 
I can show forms to add new records in inline models admin view.


How can I show similar empty forms in the admin list view in order to add 
new records?


Thanks

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cc40e752-0b45-4392-afda-c9500ba1c0fb%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Re: SPAM sent via this list?

2019-01-10 Thread Joel Mathew
I've got multiple emails of similiar sort from aphiso...@gmail.com and
blocked this account. Didnt find any other option.
Sincerely yours,

 Joel G Mathew



On Thu, 10 Jan 2019 at 13:56, Markus Holtermann 
wrote:

> Hi, if the response you got is related to https://bitbounce.com/ , we're
> in touch with them so that they can fix their system. Unfortunately, Google
> Groups makes it really hard to find individual members and kick them, for
> lists of the size of django-developers and django-users.
>
> Cheers,
>
> Markus
>
> On Thursday, January 10, 2019 at 5:22:07 AM UTC+1, Lachlan Musicman wrote:
>>
>> I just got a spam email from the account
>>
>> aphi...@gmail.com
>>
>> That is threaded to my previous response to Alejandro Reyes's email
>>
>> Here's the raw header
>>
>>
>> Delivered-To: dat...@gmail.com
>> Received: by 2002:ab0:59f2:0:0:0:0:0 with SMTP id k47csp1496731uad;
>> Wed, 9 Jan 2019 20:15:11 -0800 (PST)
>> X-Received: by 2002:a17:906:e2c9:: with SMTP id 
>> gr9-v6mr7444893ejb.108.1547093711410;
>> Wed, 09 Jan 2019 20:15:11 -0800 (PST)
>> ARC-Seal: i=1; a=rsa-sha256; t=1547093711; cv=none;
>> d=google.com; s=arc-20160816;
>> b=Uk1KEWZpXj57NrLSw/NrkYofbu7/WAxFBbuzEY7jMIpScKUGzLMh6hxFd89RhPMo7/
>>  7eMRsfWxvPeVAknN7Ghc+A+jK+ZidGjRsv/DsKiCJYWLE4m/B2w2i5PpL0jPCTD/cJ7Q
>>  /A3FbBDkoaegCbDZzBHwy1RF2lejE8joiT7VaIUKxINQ1Tq4Z0IGyCPdPjI/ThKWU+FU
>>  xn+laGAltdoUG3WbvIueNXA8jChxUagFoMlns0yDr1FETv1ymUgcLefeqi7F5F65r9vo
>>  9Rz6kyp33FSo5tqGRf1ZBmcSd4cXiIUwcEPTFMisEPxBLUTpspNcedop625YpWljG8sb
>>  PRvw==
>> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; 
>> s=arc-20160816;
>> h=to:subject:message-id:date:references:in-reply-to:mime-version:from
>>  :dkim-signature;
>> bh=Azuv04E2o8dshX5o1BJ8WGQr6D9cswM1D1HqW5tXEoo=;
>> b=UCngM/tm+Rg242qMf/EbLYW8Cw+DpPvskZ1KVvBfqS7xDOqGg6vNHwKh+eJ/BZAjvS
>>  gaLZFT2Z4uCt5BSeuQTclwi5Uw0NkZ3OrEwXSbm9dAe7k5dJ5vGv9XQFNncxd3BAx5AS
>>  SE26fuct4nn3chaXCKmzZlaIYIlO0jfZ5uBgnpQFEGWAyAVYo6sUnhswLw5dPpKuckh/
>>  dCGq1TIvd0hRrcqNw4jAIh4L6qyB96TlKbJSO/7nTbb7dN5/a5VxKXM/tT4/qkqfNW/D
>>  bnmXoa7nHxKFFe9/WlY4ktFRo1ovndNqE2D/xZtptOEEneY46CaFvzI6ODFYbjMR5io/
>>  SS8w==
>> ARC-Authentication-Results: i=1; mx.google.com;
>>dkim=pass header.i=@gmail.com header.s=20161025 header.b=dd8veXeU;
>>spf=pass (google.com: domain of aphi...@gmail.com designates 
>> 209.85.220.41 as permitted sender) smtp.mailfrom=aphi...@gmail.com;
>>dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
>> Return-Path: 
>> Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. 
>> [209.85.220.41])
>> by mx.google.com with SMTPS id 
>> e44sor3343283ede.13.2019.01.09.20.15.11
>> for 
>> (Google Transport Security);
>> Wed, 09 Jan 2019 20:15:11 -0800 (PST)
>> Received-SPF: pass (google.com: domain of aphi...@gmail.com designates 
>> 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
>> Authentication-Results: mx.google.com;
>>dkim=pass header.i=@gmail.com header.s=20161025 header.b=dd8veXeU;
>>spf=pass (google.com: domain of aphi...@gmail.com designates 
>> 209.85.220.41 as permitted sender) smtp.mailfrom=aphi...@gmail.com;
>>dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
>> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>> d=gmail.com; s=20161025;
>> 
>> h=from:mime-version:in-reply-to:references:date:message-id:subject:to;
>> bh=Azuv04E2o8dshX5o1BJ8WGQr6D9cswM1D1HqW5tXEoo=;
>> b=dd8veXeUlee7ACSL3xnZk1RzWT44ZXlifjzUuqnUVlxZu5S0dkUgoVSsT8MaevKOGe
>>  WorIqWc4/K6XFuz6caxwn+U+sWrYiESrusvkXsNAZAXzQ1G0e4tAc8uvh77AnoYUPstk
>>  K2ZQyTRB42EuREJN94GArD6E0D+3cYk86eYF2BdXD1s59r7z97+LHNUJLE/EErHTiQ9B
>>  TE3+AzAKpSgJF5a49sSIeFDGzF5O64qFqIr2wHL3ZuYYk0+LDP3mLIOtCEU1kmcpfRxS
>>  mxyFqQ5t1XjkcZRuMVc0jvxsMTBeTSMs73i5PVmmWkmeXykc9YOPNFSXEg9+QeCduOEC
>>  /yIA==
>> X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
>> d=1e100.net; s=20161025;
>> h=x-gm-message-state:from:mime-version:in-reply-to:references:date
>>  :message-id:subject:to;
>> bh=Azuv04E2o8dshX5o1BJ8WGQr6D9cswM1D1HqW5tXEoo=;
>> b=cFU5b8+MRXUtvTznVlGZLohfDDKdWCWXLdsPcP8TSYKGINSy+80JnJI5GL9Ogh6vQk
>>  VDJyuuXsarPxBhew98u5kpThsAAQ6L92S2vA6b5I08S9KR4xIL6W+CsTa4bS3RZo17Ev
>>  C4fP8wHwpCmylgqOVO2Kwp39HXgXg3mySVv9HyZ2JzzwgXF9bhqFeOWVXdWzHK4WdF1v
>>  5S0/1Cr/8vIkjpOkD4NVtBp3frWUgDFIJN7wpukYdhcpc2FNpRJY15RKtBCv8MXOBGlA
>>  FF/4uQXnGeyAiLd0yaGTROuR9cSzBzMlW+YWtXn4Xc3b8fYLZ9u4OwK2ty58NfAGMlPH
>>  yJCQ==
>> X-Gm-Message-State: AJcUukfvXzy9WecRe6/K4iC0iWtIxysbNXeBqUtF2Kd2ps8N/L8fOOHe 
>> 40EtFgLtrpivvrGCWt4YnGRlV/Rdh2ioyee6AZX45w==
>> X-Google-Smtp-Source: 
>> 

Re: SPAM sent via this list?

2019-01-10 Thread Markus Holtermann
Hi, if the response you got is related to https://bitbounce.com/ , we're in 
touch with them so that they can fix their system. Unfortunately, Google 
Groups makes it really hard to find individual members and kick them, for 
lists of the size of django-developers and django-users.

Cheers,

Markus

On Thursday, January 10, 2019 at 5:22:07 AM UTC+1, Lachlan Musicman wrote:
>
> I just got a spam email from the account
>
> aphi...@gmail.com 
>
> That is threaded to my previous response to Alejandro Reyes's email
>
> Here's the raw header
>
>
> Delivered-To: dat...@gmail.com 
> Received: by 2002:ab0:59f2:0:0:0:0:0 with SMTP id k47csp1496731uad;
> Wed, 9 Jan 2019 20:15:11 -0800 (PST)
> X-Received: by 2002:a17:906:e2c9:: with SMTP id 
> gr9-v6mr7444893ejb.108.1547093711410;
> Wed, 09 Jan 2019 20:15:11 -0800 (PST)
> ARC-Seal: i=1; a=rsa-sha256; t=1547093711; cv=none;
> d=google.com; s=arc-20160816;
> b=Uk1KEWZpXj57NrLSw/NrkYofbu7/WAxFBbuzEY7jMIpScKUGzLMh6hxFd89RhPMo7/
>  7eMRsfWxvPeVAknN7Ghc+A+jK+ZidGjRsv/DsKiCJYWLE4m/B2w2i5PpL0jPCTD/cJ7Q
>  /A3FbBDkoaegCbDZzBHwy1RF2lejE8joiT7VaIUKxINQ1Tq4Z0IGyCPdPjI/ThKWU+FU
>  xn+laGAltdoUG3WbvIueNXA8jChxUagFoMlns0yDr1FETv1ymUgcLefeqi7F5F65r9vo
>  9Rz6kyp33FSo5tqGRf1ZBmcSd4cXiIUwcEPTFMisEPxBLUTpspNcedop625YpWljG8sb
>  PRvw==
> ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; 
> s=arc-20160816;
> h=to:subject:message-id:date:references:in-reply-to:mime-version:from
>  :dkim-signature;
> bh=Azuv04E2o8dshX5o1BJ8WGQr6D9cswM1D1HqW5tXEoo=;
> b=UCngM/tm+Rg242qMf/EbLYW8Cw+DpPvskZ1KVvBfqS7xDOqGg6vNHwKh+eJ/BZAjvS
>  gaLZFT2Z4uCt5BSeuQTclwi5Uw0NkZ3OrEwXSbm9dAe7k5dJ5vGv9XQFNncxd3BAx5AS
>  SE26fuct4nn3chaXCKmzZlaIYIlO0jfZ5uBgnpQFEGWAyAVYo6sUnhswLw5dPpKuckh/
>  dCGq1TIvd0hRrcqNw4jAIh4L6qyB96TlKbJSO/7nTbb7dN5/a5VxKXM/tT4/qkqfNW/D
>  bnmXoa7nHxKFFe9/WlY4ktFRo1ovndNqE2D/xZtptOEEneY46CaFvzI6ODFYbjMR5io/
>  SS8w==
> ARC-Authentication-Results: i=1; mx.google.com;
>dkim=pass header.i=@gmail.com header.s=20161025 header.b=dd8veXeU;
>spf=pass (google.com: domain of aphi...@gmail.com  
> designates 209.85.220.41 as permitted sender) smtp.mailfrom=aphi...@gmail.com 
> ;
>dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
> Return-Path: >
> Received: from mail-sor-f41.google.com (mail-sor-f41.google.com. 
> [209.85.220.41])
> by mx.google.com with SMTPS id e44sor3343283ede.13.2019.01.09.20.15.11
> for >
> (Google Transport Security);
> Wed, 09 Jan 2019 20:15:11 -0800 (PST)
> Received-SPF: pass (google.com: domain of aphi...@gmail.com  
> designates 209.85.220.41 as permitted sender) client-ip=209.85.220.41;
> Authentication-Results: mx.google.com;
>dkim=pass header.i=@gmail.com header.s=20161025 header.b=dd8veXeU;
>spf=pass (google.com: domain of aphi...@gmail.com  
> designates 209.85.220.41 as permitted sender) smtp.mailfrom=aphi...@gmail.com 
> ;
>dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com
> DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
> d=gmail.com; s=20161025;
> h=from:mime-version:in-reply-to:references:date:message-id:subject:to;
> bh=Azuv04E2o8dshX5o1BJ8WGQr6D9cswM1D1HqW5tXEoo=;
> b=dd8veXeUlee7ACSL3xnZk1RzWT44ZXlifjzUuqnUVlxZu5S0dkUgoVSsT8MaevKOGe
>  WorIqWc4/K6XFuz6caxwn+U+sWrYiESrusvkXsNAZAXzQ1G0e4tAc8uvh77AnoYUPstk
>  K2ZQyTRB42EuREJN94GArD6E0D+3cYk86eYF2BdXD1s59r7z97+LHNUJLE/EErHTiQ9B
>  TE3+AzAKpSgJF5a49sSIeFDGzF5O64qFqIr2wHL3ZuYYk0+LDP3mLIOtCEU1kmcpfRxS
>  mxyFqQ5t1XjkcZRuMVc0jvxsMTBeTSMs73i5PVmmWkmeXykc9YOPNFSXEg9+QeCduOEC
>  /yIA==
> X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
> d=1e100.net; s=20161025;
> h=x-gm-message-state:from:mime-version:in-reply-to:references:date
>  :message-id:subject:to;
> bh=Azuv04E2o8dshX5o1BJ8WGQr6D9cswM1D1HqW5tXEoo=;
> b=cFU5b8+MRXUtvTznVlGZLohfDDKdWCWXLdsPcP8TSYKGINSy+80JnJI5GL9Ogh6vQk
>  VDJyuuXsarPxBhew98u5kpThsAAQ6L92S2vA6b5I08S9KR4xIL6W+CsTa4bS3RZo17Ev
>  C4fP8wHwpCmylgqOVO2Kwp39HXgXg3mySVv9HyZ2JzzwgXF9bhqFeOWVXdWzHK4WdF1v
>  5S0/1Cr/8vIkjpOkD4NVtBp3frWUgDFIJN7wpukYdhcpc2FNpRJY15RKtBCv8MXOBGlA
>  FF/4uQXnGeyAiLd0yaGTROuR9cSzBzMlW+YWtXn4Xc3b8fYLZ9u4OwK2ty58NfAGMlPH
>  yJCQ==
> X-Gm-Message-State: AJcUukfvXzy9WecRe6/K4iC0iWtIxysbNXeBqUtF2Kd2ps8N/L8fOOHe 
> 40EtFgLtrpivvrGCWt4YnGRlV/Rdh2ioyee6AZX45w==
> X-Google-Smtp-Source: 
> ALg8bN40FdsN8UjLFM7ESJPXEvdSS/UpieqzzaYvx8rwlAn8+JpAg1Nnt5kHhcXV47odMIri/HcQiFHsBIykx26t1P0=
> X-Received: by 2002:a50:94f4:: with SMTP id t49mr8318854eda.24.1547093710815; 
> Wed, 09 Jan 2019 20:15:10 -0800 (PST)
> Received: from 930449438146 named unknown by gmailapi.google.com with 
> HTTPREST; Wed, 9 Jan 2019 20:15:10 -0800
> From: aphi...@gmail.com 
> Mime-Version: