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

The 'None' choice for recurring_unit and trial_unit fields creates string entries in DB. #3

Open
alup opened this issue May 8, 2010 · 0 comments

Comments

@alup
Copy link

alup commented May 8, 2010

To reproduce:

  1. Use postgres_psycopg2 in db engine settings.
  2. syncdb, migrate.
  3. Go to admin panel.
  4. Create a new Subscription with "None" trial unit or recurring unit and save.

The result will be an exception that the value of trial unit has bigger length than the max_length accepted by the DB.

On the other hand, if sqlite3 is used, the result will be an entry with the 'None' string as a value instead of the null.

I did not use mysql yet, so I do not know, if there is some issue for this engine, too.

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

1 participant