@ingenieroariel I made the change above.  

I'm not clear on what you want to do with public_url and ows exactly though.  The various URLs generated in layers/models.py currently point to the individual service endpoints (wms, wfs, wcs).  Right now in this branch I am still using the public_url property to generate those.  It works, and I think there's still a value in having a 'public_url' property in the OGC_Server class.  Example below:

kml_reflector_link_download = ogc_server_settings.public_url + "wms/kml?" + urllib.urlencode({
        'layers': instance.typename.encode('utf-8'),
        'mode': "download"
    })

Micah