Created
January 29, 2012 10:49
-
-
Save xen/1698253 to your computer and use it in GitHub Desktop.
Bright future with formgear
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title: Order | |
| # fuck description | |
| fields: | |
| - name: name | |
| - name: second | |
| - name: body |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ~/dev/project % managegear.py run | |
| # Client asks for some improvements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title: Order | |
| # fuck description | |
| fields: | |
| - name: name | |
| required: 1 | |
| - name: second | |
| - name: phone | |
| widget: | |
| name: phone | |
| - name: body | |
| type: text | |
| widget: | |
| name: textarea | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ~/dev/project % managegear.py run | |
| # Client asks for some improvements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| title: Order | |
| description: > | |
| Orders model | |
| # fuck description | |
| fields: | |
| - name: name | |
| type: string | |
| required: 1 | |
| - name: second | |
| type: string | |
| - name: phone | |
| required: 1 | |
| widget: | |
| name: phone | |
| - name: body | |
| type: text | |
| widget: | |
| name: textarea | |
| - name: addtime | |
| title: Add time | |
| type: date | |
| required: 1 | |
| widget: date | |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| $ ~/dev/project % managegear.py run | |
| # Client asks for some improvements |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| from formgear import models | |
| class Order(models.Model): | |
| __yaml__ = 'order.step3.yaml' | |
| # some logic |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| .... |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| PROFIT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment