As configured in my dotfiles.
start new:
tmux
start new with session name:
As configured in my dotfiles.
start new:
tmux
start new with session name:
#!/usr/bin/env python3 | |
""" | |
The idea here is to have one demo of each common argparse format | |
type. This is useful for me to be able to copy/paste into a new | |
script and have something to quickly edit and trim down to get | |
the functionality I need. | |
Expect this file to grow/change as I need new options. | |
This is, however, a working example. I hate examples that don't |
from django.db.models import Q | |
from django.db.models.constants import LOOKUP_SEP | |
from django_filters import rest_framework as django_filters | |
from django_filters.constants import EMPTY_VALUES | |
class GroupFilterSet(django_filters.FilterSet): | |
def filter_queryset(self, queryset): | |
""" | |
Group the fitlers by the first join table to |