On 03/12/2019 15.30, EMPOWER EXCEL wrote:

   File "/home/flavien/MyProjects/alertprot/ZSalertprot/models.py", line 11
     objects = models.GeoManager()
IndentationError: unindent does not match any outer indentation level

Indentation is important in Python as it is used for scoping. You clearly have placed this line:

objects = models.GeoManager()

so it doesn't match the surrounding scope.

This is very basic Python, so I suggest you start with a basic tutorial on Python programming before going on to more advanced topics like Django. That will save you a lot of time.

Maybe someone can recommend some tutorials books for beginners?

Kind regards,

Kasper Laudrup

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 django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 

Reply via email to