google-code-export / django-syncr

Automatically exported from code.google.com/p/django-syncr
0 stars 0 forks source link

Tweet model depends on Flickr module #80

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. add syncr.twitter to INSTALLED_APPS
2. python manage.py syncdb

What is the expected output? What do you see instead?
You would expect the two models in syncr.twitter.models to be installed. 
However nothing happens because the Tweet model imports the 
BigIntegerField from the flickr module so both need to be installed in order 
to use just the twitter module.

What version of the product are you using? On what operating system?
Trunk.

Please provide any additional information below.
There are two obvious solutions to this:
1. move the BigIntegerField out of the Flickr module and into somewhere 
more generic from whence it can be imported.
2. use Django 1.2's BigIntegerField (clearly breaks compatibility with 
Django <1.2)

Original issue reported on code.google.com by joshuaou...@gmail.com on 13 Feb 2010 at 10:46