avocado-framework / avocado-server

REST based interface for applications to interact with an avocado server
Other
3 stars 12 forks source link

Unknown command: 'syncdb' #59

Open omps opened 6 years ago

omps commented 6 years ago
[avocado@avocado-server]$ ./scripts/avocado-server-manage syncdb -v0 --noinput
Unknown command: 'syncdb'
Type 'avocado-server-manage help' for usage.
omps commented 6 years ago

the syncdb command is depreceated from django version 1.7. We need to install django==1.5 for syncdb to work

omps commented 6 years ago

Next Error:

./scripts/avocado-server-manage syncdb -v0 --noinput
AttributeError: 'module' object has no attribute 'BinaryField'
ldoktor commented 6 years ago

Hello @omps we don't really have the resources to port avocado-server to newer version of django. The recommended version ofdjangois (as set byrequirements.txt)django==1.6.3` and it works with this version (checked every release).

There are 2 options, if you need the latest greatest django, feel free to fix avocado-server, othervise please stick with the versions defined in requirements.txt.