make sure the "objects=models.GeoManager()"  statement aligns with the
statement "location=models.PointField(sid=4326)"

On Tue, Dec 3, 2019 at 6:30 AM EMPOWER EXCEL <[email protected]> wrote:

> PLEASE PUSH ME UP TO CORRECT THIS PROBLEM:
>
> class Alerts(models.Model):
>         name = models.CharField(max_length=20)
>         location = models.PointField(srid=4326)
>     objects = models.GeoManager()
>
>
>     self.models_module = import_module(models_module_name)
>   File "/usr/lib/python2.7/importlib/__init__.py", line 37, in
> import_module
>     __import__(name)
>   File "/home/flavien/MyProjects/alertprot/ZSalertprot/models.py", line 11
>     objects = models.GeoManager()
>                                                       ^
> IndentationError: unindent does not match any outer indentation level
>
> --
> FLAVIEN HERI
>
> *Information management AscociateUNHCR-Kinshasa*
> Tél:+243978587009
> Skype: flavien.heri1
> Facebook: flavien semi
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/CAG3GEnzWm_4wAcFboaT%3Dn8OD%3DC1cigm%2B9N-%2Bvib8pin2Uv7BCA%40mail.gmail.com
> .
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CAFgO-6jn5dr-hBM5_SA6kZFiNLi4rk%2B-5ZnzNsbbErmfWpVeHw%40mail.gmail.com.

Reply via email to