framework, CMS and CRM for aiohttp
Project description
<<<<<<< HEAD
# Example of a simple module.
You can create a module in the library and in the project.
The modules can be placed in two locations in folders "apps".
Example of the structure of the module.
* apps
* module
* locale
* stat
* templ
* routes.py
* view.py
Example `routes.py`:
```python
from apps.app.view import page
from core.union import route
route( '/', page, 'GET' )
route( '/login', login, 'GET' )
```
Example `view.py`:
```python
#!/usr/bin/env python
# coding: utf-8
@asyncio.coroutine
def page(request):
return templ('apps.app:index', request, {'key':'val'})
```
=======
# tao
>>>>>>> bdde3467fde44ee7fb4804658844ff166ef97f55
# Example of a simple module.
You can create a module in the library and in the project.
The modules can be placed in two locations in folders "apps".
Example of the structure of the module.
* apps
* module
* locale
* stat
* templ
* routes.py
* view.py
Example `routes.py`:
```python
from apps.app.view import page
from core.union import route
route( '/', page, 'GET' )
route( '/login', login, 'GET' )
```
Example `view.py`:
```python
#!/usr/bin/env python
# coding: utf-8
@asyncio.coroutine
def page(request):
return templ('apps.app:index', request, {'key':'val'})
```
=======
# tao
>>>>>>> bdde3467fde44ee7fb4804658844ff166ef97f55
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tao1-0.1.3.tar.gz
(5.0 kB
view details)
File details
Details for the file tao1-0.1.3.tar.gz
.
File metadata
- Download URL: tao1-0.1.3.tar.gz
- Upload date:
- Size: 5.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | dcdef447f7563980fbfb699910e03d00545dd0d4411ad77220979b4fd5d23de8 |
|
MD5 | b422c1b1c637683519d5109dd8c48e9b |
|
BLAKE2b-256 | af51cc8d93ebdd84622899b2af74439690756843b84f3c433b0fdb0e379871c4 |