Skip to content

Commit

Permalink
update production.ini
Browse files Browse the repository at this point in the history
  • Loading branch information
gawel committed Jul 9, 2011
1 parent afca859 commit 3b196bf
Show file tree
Hide file tree
Showing 6 changed files with 16 additions and 7 deletions.
2 changes: 1 addition & 1 deletion fa.jquery
Submodule fa.jquery updated 519 files
4 changes: 2 additions & 2 deletions formalchemy_project/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -24,10 +24,10 @@
Base = declarative_base()

from fa.jquery.utils import HTML, Color, Slider
from fa.jquery.pyramid import renderers
from datetime import datetime

from pyramid_formalchemy import actions
from pyramid_formalchemy import renderers

from pyramid.i18n import TranslationStringFactory

Expand Down Expand Up @@ -70,7 +70,7 @@ class User(Base):
# the renderer argument will be used for the group relation. You can use a
# backref_renderer option to set the renderer of the users relation
group_id = Column(Integer, ForeignKey('groups.id'),
renderer=renderers.PyramidAutocompleteFieldRenderer(filter_by='name'))
renderer=renderers.autocomplete_relation(filter_by='name'))

group = relation("Group", uselist=False, backref='users')

Expand Down
11 changes: 10 additions & 1 deletion production.ini
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
[pipeline:main]
pipeline =
fanstatic
map

[filter:fanstatic]
use = egg:fanstatic#fanstatic
minified = true
bundle = true

[app:main]
[app:map]
use = egg:Paste#urlmap
/pyramid_formalchemy = pyramid_formalchemy
/formalchemy = formalchemy
Expand Down
2 changes: 1 addition & 1 deletion pyramid_formalchemy

0 comments on commit 3b196bf

Please sign in to comment.