__author__ = 'root'
import django_filters
from .models import StellarObject


class StellarListFilter(django_filters.FilterSet):
    min_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='gte')
    max_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='lte')


    class Meta:
        model = StellarObject
        fields = ['max_mag', 'min_mag']

55ffd7343439996db842c68b1a08a77e785acf40
<mask token>


class StellarListFilter(django_filters.FilterSet):
    <mask token>
    <mask token>


    class Meta:
        model = StellarObject
        fields = ['max_mag', 'min_mag']

<mask token>


class StellarListFilter(django_filters.FilterSet):
    min_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='gte')
    max_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='lte')


    class Meta:
        model = StellarObject
        fields = ['max_mag', 'min_mag']

__author__ = 'root'
<mask token>


class StellarListFilter(django_filters.FilterSet):
    min_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='gte')
    max_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='lte')


    class Meta:
        model = StellarObject
        fields = ['max_mag', 'min_mag']

__author__ = 'root'
import django_filters
from .models import StellarObject


class StellarListFilter(django_filters.FilterSet):
    min_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='gte')
    max_mag = django_filters.NumberFilter(name='magnitudo', lookup_type='lte')


    class Meta:
        model = StellarObject
        fields = ['max_mag', 'min_mag']
