<commit_before># -*- coding: utf-8 -*-

from django.shortcuts import render
from memcache import Client

# dotKom: To manually see the mailinglists in memcache, do this:
#
# $ ssh <EMAIL>               # connect to morgan
# $ sudo su www-data -                          # log in as web user
# $ python                                      # open the interactive python shell
# $ from memcache import client                 # error message will appear if the library is not found
# $ mc = Client(["127.0.0.1:11211"], debug=0)   # start the memcache client
# $ lists = mc.get("sympa_lists")               # get sympa lists that are stored in memcache
# $ print lists

def index(request):
    mc = Client(["127.0.0.1:11211"], debug=0) # morgan.online.ntnu.no

    retningslinjer = u"""
    string here
    """

    lists = mc.get("sympa_lists")

    # If we couldn't find any information in memcache right now
    if lists is None:
        lists = [{'name': 'linjeforeninger','members': [{'subscriber': u'','name': u'Alf','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Smørekoppen','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Abakus','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Omega','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Delta','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Aarhønen','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Hybrida','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Janus','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Online','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Placebo','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Spanskrøret','email': u'<EMAIL>'}, {'subscriber': u'','name': u'HC','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Mannhullet','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Volvox','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Nabla','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Leonardo','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Erudio','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Paideia','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'CAF','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'ELF','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'PSI','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Katharsis','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Geolf','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Ludimus','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Eureka','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Theodor','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Kwakiutl','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Primetime','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Akwaaba','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Panoptikon','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Kultura','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Gengangere','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Pareto','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Dionysos','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Apeiron','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Psykolosjen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>iske Selskab','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Timini','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'LiMP','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Ivrig','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Emil','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Solan','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Teaterlosjen','email': u'<EMAIL>'}]}, {'name': 'dragvoll','members': [{'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'CAF','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'ELF','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'PSI','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Katharsis','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Geolf','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Eureka','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Theodor','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Kwakiutl','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Primetime','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Akwaaba','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Panoptikon','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Kultura','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Teaterlosjen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Pareto','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Dionysos','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Apeiron','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Psykolosjen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Paideia','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Erudio','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'LiMP','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Ivrig','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Ludimus','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Gengangere','email': u'<EMAIL>'}]}, {'name': 'gloshaugen','members': [{'subscriber': u'mail','name': u'Hybrida','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Volvox','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Delta','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Alf','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Mannhullet','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Spanskrøret','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Aarhønen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Timini','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Smørekoppen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Online','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Nabla','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'HC','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Janus','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Emil','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Leonardo','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Omega','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Placebo','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Solan','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Abakus','email': u'<EMAIL>'}]}, {'name': 'kjellere','members': [{'subscriber': u'','name': u'Smørekoppen','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Hybrida','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'ICOT','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Lauget','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'HC','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Timini','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Dykkergruppa','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Nabla','email': u'<EMAIL>'}, {'subscriber': u'','name': u'LaBamba','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Omega','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Mannhullet','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Realfagskjellern','email': u'<EMAIL>'}, {'subscriber': u'','name': u'isu-orga','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Aarhønen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'NTNUI','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Psykolosjen','email': u'<EMAIL>'}]}, {'name': 'foreninger','members': [{'subscriber': u'','name': u'NTNUI','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Radio Revolt','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Student-TV','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Velferdstinget','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Linjeforeninger på NTNU','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Studenttinget','email': u'<EMAIL>'}]}, {'name': 'masterforeninger','members': [{'subscriber': u'mail','name': u'Soma','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Projeksjon','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Symbiosis','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Signifikant','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Solan','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Hippodamus','email': u'<EMAIL>'}]}, {'name': 'sr-samarbeid','members': [{'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Spanskrøret','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Delta','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Online','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Abakus','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Omega','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Nabla','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Emil','email': u'<EMAIL>'}]}, {'name': 'ivt-samarbeid','members': [{'subscriber': u'mail','name': u'Mannhullet','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Aarhønen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Hybrida','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Smørekoppen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'BSF','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Teknologiporten','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Leonardo','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Emil','email': u'<EMAIL>'}]}, {'name': 'linjeledere','members': [{'subscriber': u'mail','name': u'Timini','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Nabla','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Placebo','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Omega','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Smørekoppen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Hybrida','email': u'<EMAIL>'}, {'subscriber': u'','name': u'Janus','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Leonardo','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Solan','email': u'<EMAIL>'}, {'subscriber': u'','name': u'<NAME>','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Spanskrøret','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Mannhullet','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Abakus','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Emil','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Online','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Volvox','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Aarhønen','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Berg','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Delta','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'Alf','email': u'<EMAIL>'}, {'subscriber': u'mail','name': u'HC','email': u'<EMAIL>'}]} ]

    return render(request, 'mailinglists/index.html', {'lists': lists, 'retningslinjer': retningslinjer}) <commit_msg>Pep8 in mailinglists, jezus<commit_after># -*- coding: utf-8 -*-

from django.shortcuts import render
from memcache import Client

# dotKom: To manually see the mailinglists in memcache, do this:
#
# $ ssh <EMAIL>               # connect to morgan
# $ sudo su www-data -                          # log in as web user
# $ python                                      # open the interactive python shell
# $ from memcache import client                 # error message will appear if the library is not found
# $ mc = Client(["127.0.0.1:11211"], debug=0)   # start the memcache client
# $ lists = mc.get("sympa_lists")               # get sympa lists that are stored in memcache
# $ print lists

def index(request):
    mc = Client(["127.0.0.1:11211"], debug=0) # morgan.online.ntnu.no

    retningslinjer = u"""
    string here
    """

    lists = mc.get("sympa_lists")

    # If we couldn't find any information in memcache right now
    if lists is None:
        lists = [{'name': 'linjeforeninger', 'members': [{'subscriber': u'', 'name': u'Alf', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Smørekoppen', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Abakus', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Omega', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Delta', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Aarhønen', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Hybrida', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Janus', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Online', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Placebo', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Spanskrøret', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'HC', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Mannhullet', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Volvox', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Nabla', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Leonardo', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Erudio', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Paideia', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'CAF', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'ELF', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'PSI', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Katharsis', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Geolf', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Ludimus', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Eureka', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Theodor', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Kwakiutl', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Primetime', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Akwaaba', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Panoptikon', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Kultura', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Gengangere', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Pareto', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Dionysos', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Apeiron', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Psykolosjen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Timini', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'LiMP', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Ivrig', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Emil', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Solan', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Teaterlosjen', 'email': u'<EMAIL>'}]}, {'name': 'dragvoll', 'members': [{'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'CAF', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'ELF', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'PSI', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Katharsis', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Geolf', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Eureka', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Theodor', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Kwakiutl', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Primetime', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Akwaaba', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Panoptikon', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Kultura', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Teaterlosjen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Pareto', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Dionysos', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Apeiron', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Psykolosjen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Paideia', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Erudio', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'LiMP', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Ivrig', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Ludimus', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Gengangere', 'email': u'<EMAIL>'}]}, {'name': 'gloshaugen', 'members': [{'subscriber': u'mail', 'name': u'Hybrida', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Volvox', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Delta', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Alf', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Mannhullet', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Spanskrøret', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Aarhønen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Timini', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Smørekoppen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Online', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Nabla', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'HC', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Janus', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Emil', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Leonardo', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Omega', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Placebo', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Solan', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Abakus', 'email': u'<EMAIL>'}]}, {'name': 'kjellere', 'members': [{'subscriber': u'', 'name': u'Smørekoppen', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Hybrida', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'ICOT', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Lauget', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'HC', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Timini', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Dykkergruppa', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Nabla', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'LaBamba', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Omega', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Mannhullet', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Realfagskjellern', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'isu-orga', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Aarhønen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'NTNUI', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Psykolosjen', 'email': u'<EMAIL>'}]}, {'name': 'foreninger', 'members': [{'subscriber': u'', 'name': u'NTNUI', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Student-TV', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Under Dusken', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Velferdstinget', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Linjeforeninger på NTNU', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Studenttinget', 'email': u'sti<EMAIL>'}]}, {'name': 'masterforeninger', 'members': [{'subscriber': u'mail', 'name': u'Soma', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Projeksjon', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Symbiosis', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Signifikant', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Solan', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Hippodamus', 'email': u'<EMAIL>'}]}, {'name': 'sr-samarbeid', 'members': [{'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Spanskrøret', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Delta', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Online', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Abakus', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Omega', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Nabla', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Emil', 'email': u'<EMAIL>'}]}, {'name': 'ivt-samarbeid', 'members': [{'subscriber': u'mail', 'name': u'Mannhullet', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Aarhønen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Hybrida', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Smørekoppen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'BSF', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Teknologiporten', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Leonardo', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Emil', 'email': u'<EMAIL>'}]}, {'name': 'linjeledere', 'members': [{'subscriber': u'mail', 'name': u'Timini', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Nabla', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Placebo', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Omega', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Smørekoppen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Hybrida', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'Janus', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Leonardo', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Solan', 'email': u'<EMAIL>'}, {'subscriber': u'', 'name': u'<NAME>', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Spanskrøret', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Mannhullet', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Abakus', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Emil', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Online', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Volvox', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Aarhønen', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Berg', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Delta', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'Alf', 'email': u'<EMAIL>'}, {'subscriber': u'mail', 'name': u'HC', 'email': u'<EMAIL>'}]} ]

    return render(request, 'mailinglists/index.html', {'lists': lists, 'retningslinjer': retningslinjer}) 
{'fraction_non_alphanumeric': 0.3294505844000954, 'fraction_numerical': 0.002027510535103761, 'mean_word_length': 9.26734693877551, 'pattern_counts': {'":': 0, '<': 411, '<?xml version=': 0, '>': 411, 'https://': 0, 'lorem ipsum': 0, 'www.': 2, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '742542', 'n_tokens_mistral': 9942, 'n_tokens_neox': 9846, 'n_words': 2019}