Hi,
I tried overriding the map template using bold line below:
class LocationAdmin(geo_admin.OSMGeoAdmin):
form = LocationForm
map_template = 'gis/admin/google.html
In my settings.py I have added my folder:
TEMPLATES = [
{
'BACKEND': 'django.template.backends.django.Djang
Hi all,
I am using:
with transaction.atomic()
And in the with block, sometimes I use django query like:
models.Customer.objects.count()
and sometimes I use cursor, example:
with transaction.atomic():
count_customers = models.Customer.objects.cou
2 matches
Mail list logo