#399: Bigint field object needed
---------------------------------------------------+------------------------
          Reporter:  jmad...@techie.com            |         Owner:  permon     
         
            Status:  assigned                      |     Milestone:             
         
         Component:  Database layer (models, ORM)  |       Version:  SVN        
         
        Resolution:                                |      Keywords:  
sprintsept14, bigint
             Stage:  Design decision needed        |     Has_patch:  1          
         
        Needs_docs:  0                             |   Needs_tests:  0          
         
Needs_better_patch:  1                             |  
---------------------------------------------------+------------------------
Comment (by CAJoel):

 I could not get mwdiers's patch to work or the fnl patch.

 It appears to result in a KeyError on the next "manage.py reset SITE".

 Traceback (most recent call last):
   File "./manage.py", line 11, in <module>
     execute_manager(settings)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 1672, in execute_manager
     execute_from_command_line(action_mapping, argv)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 1630, in execute_from_command_line
     output = action_mapping[action](mod, options.interactive)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 661, in reset
     sql_list = get_sql_reset(app)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 352, in get_sql_reset
     return get_sql_delete(app) + get_sql_all(app)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 468, in get_sql_all
     return get_sql_create(app) + get_custom_sql(app) +
 get_sql_indexes(app)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 127, in get_sql_create
     output, references = _get_sql_model_create(model, known_models)
   File "/var/lib/python-support/python2.5/django/core/management.py", line
 175, in _get_sql_model_create
     col_type = data_types[data_type]
 KeyError: 'BigIntegerField'

 In the meantime, I've been using CharFields.

 I wish this wasn't so hard to fix.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/399#comment:46>
Django <http://code.djangoproject.com/>
The Web framework for perfectionists with deadlines.
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django updates" group.
To post to this group, send email to django-updates@googlegroups.com
To unsubscribe from this group, send email to 
django-updates+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-updates?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to