Scifabric / pybossa

PYBOSSA is the ultimate crowdsourcing framework (aka microtasking) to analyze or enrich data that can't be processed by machines alone.
http://pybossa.com
GNU Affero General Public License v3.0
745 stars 269 forks source link

Add a model/DB constraint to force a project belong to a category #868

Closed alejandrodob closed 10 years ago

alejandrodob commented 10 years ago

As discussed in #533, projects are not force to belong to a category (neither in their model definition nor in the DB schema). However, this is something we are giving for granted in some other places, as every time we create a new project (either web interface or API) we are assigning a default category to the project, as not doing so resulted in the project not being displayed throughout PyBossa. Later modifications of the project could result in a project with no category, which is what we have been trying to avoid by fixing both the API project creation as the web based one, so I believe this constraint should be added.

teleyinex commented 10 years ago

I agree :-) Can you work on this issue @alejandrodob ?

alejandrodob commented 10 years ago

Yes, assigning to myself :+1: