diff options
| author | Tim Graham <timograham@gmail.com> | 2015-11-25 18:44:28 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2015-11-25 18:44:28 -0500 |
| commit | 6914a716cb062a9a3648deb0360b7e276cd59dba (patch) | |
| tree | 2dd0b9e7f9c87176de967c1bacae2eef6a192d5e | |
| parent | 15a18090c11619d6d884dee73434a45303be006e (diff) | |
[1.8.x] Refs #25274 -- Added missing argument to contrib.gis' inspectdb.
| -rw-r--r-- | django/contrib/gis/management/commands/inspectdb.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/django/contrib/gis/management/commands/inspectdb.py b/django/contrib/gis/management/commands/inspectdb.py index 229be74276..03bfc47028 100644 --- a/django/contrib/gis/management/commands/inspectdb.py +++ b/django/contrib/gis/management/commands/inspectdb.py @@ -22,8 +22,8 @@ class Command(InspectDBCommand): self.gis_tables[table_name] = [geo_col] return field_type, field_params, field_notes - def get_meta(self, table_name, constraints): - meta_lines = super(Command, self).get_meta(table_name, constraints) + def get_meta(self, table_name, constraints, column_to_field_name): + meta_lines = super(Command, self).get_meta(table_name, constraints, column_to_field_name) if table_name in self.gis_tables: # If the table is a geographic one, then we need make # GeoManager the default manager for the model. |
