﻿id	summary	reporter	owner	description	type	status	component	version	severity	resolution	keywords	cc	stage	has_patch	needs_docs	needs_tests	needs_better_patch	easy	ui_ux
33442	contrib.gis.geoip does not support Country-Lite version from DBIP	Nathan Humphreys	nobody	"The 
{{{
db_type
}}}
property of the geoip database metadata for the dbip (https://db-ip.com/db/lite.php) lite databases is being returned as ""DBIP-Country-Lite""

The check here then fails 

https://github.com/django/django/blob/stable/3.2.x/django/contrib/gis/geoip2/base.py#L107

despite the database being in the mmdb format.  

I believe Django should support the (free) dbip lite databases as well as the commercial maxmind databases.

Changing the above line to check for 

{{{
if db_type.contains(""Country""):
    ...
}}}

would be sufficient.  As would a second check to check for

{{{
 if db_type.endswith(""Country-"") or db_type.endswith(""Country-Lite""):
    ...
}}}

A similar change would be required the the dbip City-Lite database to be supported."	Bug	new	GIS	4.0	Normal				Unreviewed	0	0	0	0	0	0
