Re-added syntax to check flags for GeoServer public url to layers/models.py