import logging

from django.shortcuts import redirect, render

from apps.members.models import Position

from .models import Ally

logger = logging.getLogger(__name__)


def index(request):
    return redirect('about:us')


def us(request):
    positions = [p for p in Position.objects.all() if p.active]
    return render(
        request,
        'about/index.html',
        {
            'positions': positions,
        },
    )


def join(request):
    return render(request, 'about/join.html')


def history(request):
    return render(request, 'about/history.html', {})


def allies(request):
    allies = Ally.objects.all()
    return render(request, 'about/allies.html', {'allies': allies})

b87f5f8793217be8fc06d88188cd2cc55ddd3bc7
<mask token>


def index(request):
    return redirect('about:us')


<mask token>


def join(request):
    return render(request, 'about/join.html')


<mask token>


def allies(request):
    allies = Ally.objects.all()
    return render(request, 'about/allies.html', {'allies': allies})

<mask token>


def index(request):
    return redirect('about:us')


def us(request):
    positions = [p for p in Position.objects.all() if p.active]
    return render(request, 'about/index.html', {'positions': positions})


def join(request):
    return render(request, 'about/join.html')


def history(request):
    return render(request, 'about/history.html', {})


def allies(request):
    allies = Ally.objects.all()
    return render(request, 'about/allies.html', {'allies': allies})

<mask token>
logger = logging.getLogger(__name__)


def index(request):
    return redirect('about:us')


def us(request):
    positions = [p for p in Position.objects.all() if p.active]
    return render(request, 'about/index.html', {'positions': positions})


def join(request):
    return render(request, 'about/join.html')


def history(request):
    return render(request, 'about/history.html', {})


def allies(request):
    allies = Ally.objects.all()
    return render(request, 'about/allies.html', {'allies': allies})

import logging
from django.shortcuts import redirect, render
from apps.members.models import Position
from .models import Ally
logger = logging.getLogger(__name__)


def index(request):
    return redirect('about:us')


def us(request):
    positions = [p for p in Position.objects.all() if p.active]
    return render(request, 'about/index.html', {'positions': positions})


def join(request):
    return render(request, 'about/join.html')


def history(request):
    return render(request, 'about/history.html', {})


def allies(request):
    allies = Ally.objects.all()
    return render(request, 'about/allies.html', {'allies': allies})

import logging

from django.shortcuts import redirect, render

from apps.members.models import Position

from .models import Ally

logger = logging.getLogger(__name__)


def index(request):
    return redirect('about:us')


def us(request):
    positions = [p for p in Position.objects.all() if p.active]
    return render(
        request,
        'about/index.html',
        {
            'positions': positions,
        },
    )


def join(request):
    return render(request, 'about/join.html')


def history(request):
    return render(request, 'about/history.html', {})


def allies(request):
    allies = Ally.objects.all()
    return render(request, 'about/allies.html', {'allies': allies})
