Skip to content

Commit

Permalink
Hello 0.0.3 version!
Browse files Browse the repository at this point in the history
  • Loading branch information
uralbash committed Jul 13, 2015
1 parent cedec1c commit f05dad7
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 17 deletions.
28 changes: 12 additions & 16 deletions pyramid_pages/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,20 @@
"""
Models for page.
"""
from sqlalchemy import (Boolean, Column, ForeignKey, Integer, String,
UnicodeText)
from sqlalchemy.ext.declarative import declared_attr
from sqlalchemy import (
Column,
String,
Boolean,
Integer,
ForeignKey,
UnicodeText
)
from sacrud.common import ClassProperty
from sacrud.exttype import SlugType, ChoiceType
from sqlalchemy.orm import foreign, relationship
from sqlalchemy.orm.session import Session

from sacrud.common import TableProperty, ClassProperty
from sacrud.exttype import ChoiceType, SlugType
from sqlalchemy_mptt import BaseNestedSets
from sqlalchemy.orm.session import Session
from sqlalchemy.ext.declarative import declared_attr

from .common import Menu

Expand Down Expand Up @@ -102,15 +107,6 @@ def redirect(cls):

class SacrudOptions(object):

@TableProperty
def sacrud_css_class(cls):
col = cls.columns
return {
'tinymce': [col.description],
'description': [col.description],
'name': [col.name]
}

@ClassProperty
def sacrud_detail_col(cls):
options = [
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def read(name):

setup(
name='pyramid_pages',
version='0.0.3.dev1',
version='0.0.3',
url='http://github.com/ITCase/pyramid_pages/',
author='Svintsov Dmitry',
author_email='[email protected]',
Expand Down

0 comments on commit f05dad7

Please sign in to comment.