# encoding: utf-8
'''Model in MVC

:requires: `elixir <http://elixir.ematia.de/>`__
'''

# Ignore the SA string type depr warning
from sqlalchemy.exceptions import SADeprecationWarning
from warnings import filterwarnings
filterwarnings('ignore', 'Using String type with no length for CREATE TABLE',
               SADeprecationWarning)

# Import Elixir & SQLAlchemy
from elixir import *
from sqlalchemy import func

# Disable autosetup by recommendation from Jason R. Coombs:
# http://groups.google.com/group/sqlelixir/msg/ed698d986bfeefdb
options_defaults['autosetup'] = False

# encoding: utf-8
'''Model in MVC

:requires: `elixir <http://elixir.ematia.de/>`__
'''

# Ignore the SA string type depr warning
from sqlalchemy.exceptions import SADeprecationWarning
from warnings import filterwarnings
filterwarnings('ignore', 'Using String type with no length for CREATE TABLE',
               SADeprecationWarning)

# Import Elixir & SQLAlchemy
from elixir import *
from sqlalchemy import func

# Disable autosetup by recommendation from Jason R. Coombs:
# http://groups.google.com/group/sqlelixir/msg/ed698d986bfeefdb
options_defaults['autosetup'] = False

# Control wheretere to include module name or not in table names.
# If True, project.fruits.Apple -> table apples.
# If False, project.fruits.Apple -> table project_fruits_apples.
options_defaults['shortnames'] = True 

Set sqlalchemy option shortnames to True by default.
Set sqlalchemy option shortnames to True by default.
