On runing command :
./manage.py cities --flush=all
when is flushing alt_names error:
File "/home/aliona/hpn.aksprendimai.lt/aruodai/cities/management/commands/cities.py", line 517, in flush_alt_name
[geo_alt_name.objects.all().delete() for locales in geo_alt_names.values() for geo_alt_name in locales.values()]
NameError: global name 'geo_alt_names' is not defined
Hello,
On runing command : ./manage.py cities --flush=all
when is flushing alt_names error:
File "/home/aliona/hpn.aksprendimai.lt/aruodai/cities/management/commands/cities.py", line 517, in flush_alt_name [geo_alt_name.objects.all().delete() for locales in geo_alt_names.values() for geo_alt_name in locales.values()] NameError: global name 'geo_alt_names' is not defined
All another date flushing pass OK.