Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add validation to Ads model #4

Open
ylecuyer opened this issue Apr 12, 2013 · 2 comments
Open

Add validation to Ads model #4

ylecuyer opened this issue Apr 12, 2013 · 2 comments

Comments

@ylecuyer
Copy link

In order to avoid blank ads

@ghost ghost assigned ceduquey Apr 13, 2013
@fernandohur
Copy link
Contributor

@ceduquey

  1. El precio debe ser un integer > 50 (para evitar que pongan 30 cuando en realidad quieran decir 30.000 )
  2. El título debe tener por lo menos 10 caracteres (debe haber validación de esto tanto en el cliente como en el servidor)
  3. La descripción por lo menos 10 caracteres

@fernandohur
Copy link
Contributor

@ceduquey hágale push

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants