forked from 0x2620/pandora
15 lines
263 B
Python
15 lines
263 B
Python
|
# -*- coding: utf-8 -*-
|
||
|
from django.core.management.base import BaseCommand
|
||
|
|
||
|
from ... import config
|
||
|
|
||
|
|
||
|
class Command(BaseCommand):
|
||
|
"""
|
||
|
"""
|
||
|
help = 'update geoip database'
|
||
|
args = ''
|
||
|
|
||
|
def handle(self, **options):
|
||
|
config.update_geoip(True)
|