Author: jbronn
Date: 2008-07-19 20:48:23 -0500 (Sat, 19 Jul 2008)
New Revision: 8002

Modified:
   django/branches/gis/django/db/backends/mysql/creation.py
   django/branches/gis/django/db/backends/oracle/creation.py
   django/branches/gis/django/db/backends/postgresql/creation.py
   django/branches/gis/django/db/backends/sqlite3/creation.py
   django/branches/gis/django/db/models/fields/__init__.py
   django/branches/gis/django/db/models/fields/related.py
Log:
gis: Removed vestige code containing references to the now defunct 'NoField' 
database creation type and `Field.get_placeholder` (which should only exist on 
the `GeometryField` subclass).


Modified: django/branches/gis/django/db/backends/mysql/creation.py
===================================================================
--- django/branches/gis/django/db/backends/mysql/creation.py    2008-07-19 
22:50:06 UTC (rev 8001)
+++ django/branches/gis/django/db/backends/mysql/creation.py    2008-07-20 
01:48:23 UTC (rev 8002)
@@ -25,5 +25,4 @@
     'TextField':         'longtext',
     'TimeField':         'time',
     'USStateField':      'varchar(2)',
-    'NoField':            None,
 }

Modified: django/branches/gis/django/db/backends/oracle/creation.py
===================================================================
--- django/branches/gis/django/db/backends/oracle/creation.py   2008-07-19 
22:50:06 UTC (rev 8001)
+++ django/branches/gis/django/db/backends/oracle/creation.py   2008-07-20 
01:48:23 UTC (rev 8002)
@@ -33,7 +33,6 @@
     'TimeField':                    'TIMESTAMP',
     'URLField':                     'VARCHAR2(%(max_length)s)',
     'USStateField':                 'CHAR(2)',
-    'NoField':           None,
 }
 
 TEST_DATABASE_PREFIX = 'test_'

Modified: django/branches/gis/django/db/backends/postgresql/creation.py
===================================================================
--- django/branches/gis/django/db/backends/postgresql/creation.py       
2008-07-19 22:50:06 UTC (rev 8001)
+++ django/branches/gis/django/db/backends/postgresql/creation.py       
2008-07-20 01:48:23 UTC (rev 8002)
@@ -25,5 +25,4 @@
     'TextField':         'text',
     'TimeField':         'time',
     'USStateField':      'varchar(2)',
-    'NoField':           '',
 }

Modified: django/branches/gis/django/db/backends/sqlite3/creation.py
===================================================================
--- django/branches/gis/django/db/backends/sqlite3/creation.py  2008-07-19 
22:50:06 UTC (rev 8001)
+++ django/branches/gis/django/db/backends/sqlite3/creation.py  2008-07-20 
01:48:23 UTC (rev 8002)
@@ -24,5 +24,4 @@
     'TextField':                    'text',
     'TimeField':                    'time',
     'USStateField':                 'varchar(2)',
-    'NoField':                      None,
 }

Modified: django/branches/gis/django/db/models/fields/__init__.py
===================================================================
--- django/branches/gis/django/db/models/fields/__init__.py     2008-07-19 
22:50:06 UTC (rev 8001)
+++ django/branches/gis/django/db/models/fields/__init__.py     2008-07-20 
01:48:23 UTC (rev 8002)
@@ -280,10 +280,6 @@
         """
         return [name_prefix + self.name]
 
-    def get_placeholder(self, value):
-        "Returns the placeholder substitution string for the field with the 
given value."
-        return '%s'
-
     def prepare_field_objs_and_params(self, manipulator, name_prefix):
         params = {'validator_list': self.validator_list[:]}
         if self.max_length and not self.choices: # Don't give SelectFields a 
max_length parameter.

Modified: django/branches/gis/django/db/models/fields/related.py
===================================================================
--- django/branches/gis/django/db/models/fields/related.py      2008-07-19 
22:50:06 UTC (rev 8001)
+++ django/branches/gis/django/db/models/fields/related.py      2008-07-20 
01:48:23 UTC (rev 8002)
@@ -729,9 +729,6 @@
         msg = ugettext_lazy('Hold down "Control", or "Command" on a Mac, to 
select more than one.')
         self.help_text = string_concat(self.help_text, ' ', msg)
 
-    def get_internal_type(self):
-        return "NoField"
-
     def get_manipulator_field_objs(self):
         choices = self.get_choices_default()
         return [curry(oldforms.SelectMultipleField, size=min(max(len(choices), 
5), 15), choices=choices)]


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to