django-fluent / django-fluent.org

Code of django-fluent.org, also serving as example how to build django-fluent sites.
http://django-fluent.org/
33 stars 5 forks source link

Error: TypeError: int() argument must be a string or a number, not 'Site' When trying to run: manage.py syncdb #4

Closed sepi2048 closed 9 years ago

sepi2048 commented 9 years ago

File "/home/user/.virtualenvs/project/local/lib/python2.7/site-packages/django/db/models/fields/init.py", line 915, in get_prep_value return int(value) TypeError: int() argument must be a string or a number, not 'Site'

(project)user@host:~/Data/Web/project$ pip freeze akismet==0.2.0 blessings==1.6 bpython==0.14.2 curtsies==0.1.19 Django==1.7.8 django-admin-tools==0.5.2 django-any-imagefield==0.8.2 django-any-urlfield==2.1.1 django-appconf==1.0.1 django-axes==1.3.9 django-categories==1.2.2 django-compressor==1.4 -e git+https://github.com/django/django-contrib-comments.git@8a99ed810e9e94cb9dff1c362b2c4ebe2e37dead#egg=django_contrib_comments-dev django-crispy-forms==1.4.0 django-debugtools==1.3 -e git+https://github.com/smacker/django-filebrowser-no-grappelli.git@911318f0e735ab60485c5783759b3f6a058f2337#egg=django_filebrowser_no_grappelli-3.5.7 django-fluent-blogs==1.0 django-fluent-comments==1.0.2 django-fluent-contents==1.0.1 django-fluent-dashboard==0.5 django-fluent-pages==0.9 django-fluent-utils==1.2.1 django-google-tools==1.0.0 django-mptt==0.7.4 django-parler==1.4 -e git+https://github.com/rizumu/django-ping.git@b9e228fe1f338d87b323383509a975fd9df22ef1#egg=django_ping-origin_rizumu django-polymorphic==0.7.1 django-polymorphic-tree==1.1 django-singleton-admin==0.0.4 django-staff-toolbar==1.0 django-tag-parser==2.1 django-taggit==0.13.0 django-taggit-autosuggest==0.2.7 django-template-analyzer==1.5 django-threadedcomments==1.0b1 django-tinymce==1.5.3 django-wysiwyg==0.7.0 future==0.14.3 greenlet==0.4.7 html5lib==1.0b6 micawber==0.3.2 Pillow==2.8.1 psycopg2==2.6 Pygments==2.0.2 python-memcached==1.54 pytz==2015.4 raven==5.2.0 requests==2.7.0 six==1.9.0 sorl-thumbnail==12.2 South==1.0.2 uWSGI==2.0.10 wheel==0.24.0

Please help!

vdboor commented 9 years ago

Thanks for reporting! I've just released django-fluent-contents 1.0.2 on PyPI that fixes this!

sepi2048 commented 9 years ago

I am now able to sync the database! Thank you :)