예제 #1
0
    def __init__(self, based_fields=None, zoom=None, *args, **kwargs):
        super(LocationField, self).__init__(based_fields=based_fields,
                                            zoom=zoom,
                                            *args,
                                            **kwargs)

        PointField.__init__(self, *args, **kwargs)
예제 #2
0
    def __init__(self, *args, **kwargs):
        super(LocationField, self).__init__(*args, **kwargs)

        kwargs.pop('based_fields', None)
        kwargs.pop('zoom', None)
        kwargs.pop('suffix', None)

        PointField.__init__(self, *args, **kwargs)
예제 #3
0
    def __init__(self, based_fields=None, zoom=None, suffix='', *args, **kwargs):
        super(LocationField, self).__init__(based_fields=based_fields,
                                            zoom=zoom, suffix=suffix, *args, **kwargs)

        PointField.__init__(self, *args, **kwargs)