Issue #5 new

Incorrect input processing

yevgeniy shchemelev
created an issue

{{{

!python

answer = raw_input(message) while not answer.lower() in ('y', 'n', 'yes', 'no'): raw_input("You need to either decide yes ('y') or no ('n'). Default is no. (y/N): ")

from django.db import connection
cursor = connection.cursor()
cursor.execute("ALTER TABLE auth_user MODIFY COLUMN username varchar(75) NOT NULL")

}}} I have no way to cancel alter table statment... if i try to syncdb then i will receive error message(postgresql 9.0)

Comments (0)

  1. Log in to comment