Code

Changes between Initial Version and Version 1 of Ticket #17868


Ignore:
Timestamp:
03/11/12 12:10:36 (2 years ago)
Author:
aaugustin
Comment:

Fixed formatting -- please use preview.

This looks more like a support request than a bug in Django => see TicketClosingReasons/UseSupportChannels.

AutocompleteForeignKey isn't part of Django; it's probably provided by some third party library. That said, foreign keys across databases won't work anyway — MySQL can't guarantee integrity with an Oracle database and vice versa.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17868

    • Property Status changed from new to closed
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
    • Property Resolution changed from to invalid
  • Ticket #17868 – Description

    initial v1  
    1414Models: 
    1515 
     16{{{ 
    1617# MySQL 
    1718class Realtor(models.Model): 
     
    2930    class Meta: 
    3031        db_table = "USERS_V" 
    31  
     32}}} 
    3233 
    3334My router: 
    3435 
     36{{{ 
    3537class Router(object): 
    3638     
     
    7678        return model 
    7779    return using_decorator 
    78  
     80}}} 
    7981 
    8082I use decorator 'using'. It work. But not work with AutocompleteForeignKey Fields.