Skip to content

Commit cafa81a

Browse files
committed
Merge pull request pythonclub#165 from erichideki/pelican
Adjust names, titles and images
2 parents a6b4142 + 74b2bec commit cafa81a

4 files changed

Lines changed: 3 additions & 9 deletions

File tree

content/bottle-framework-full-stack-sem-ser-o-django.md

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,13 @@ Site: http://ericstk.wordpress.com
99
Twitter: erichideki
1010
Category: begginers, bottle, tutorial
1111

12-
# Bottle, framework full-stack sem Django
13-
-------
14-
1512
#Esse artigo foi originalmente traduzido de:
1613

1714
[http://www.avelino.xxx/2014/12/bottle-full-stack-without-django]
1815

1916
Este artigo é baseado em uma palestra que apresentei aqui no Brasil, seguem os [slides](https://speakerdeck.com/avelino/bottle-o-full-stack-sem-django)!
2017

21-
![Bottle micro framework web](/images/bottle.png)
18+
![Bottle micro framework web](/images/erichideki/bottle.png)
2219

2320
Bottle é um micro framework web compatível com WSGI, depende apenas da biblioteca padrão do Python, sendo compatível com Python 2.6, 2.7, 3.2, 3.3 e 3.4, [sendo um arquivo único](https://github.com/defnull/bottle/blob/master/bottle.py). Ele foi criado pelo Marcel Hellkamp ([@defnull](https://github.com/defnull)) e mantido pela [comunidade](https://github.com/orgs/bottlepy/people) que mantém esse framework.
2421

content/desenvolvendo-com-bottle-parte-1.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,6 @@ Site: http://ericstk.wordpress.com
99
Twitter: erichideki
1010
Category: begginers, bottle, tutorial
1111

12-
Desenvolvendo com Bottle - Parte 1
13-
-------
14-
1512
# Texto originalmente escrito em:
1613

1714
[https://realpython.com/blog/python/developing-with-bottle-part-1/]
@@ -108,8 +105,8 @@ Mude ```abc``` para seu nome. Dê refresh no navegador.
108105

109106
1. O decorator ```@route``` diz que a aplicação deve interpretar o caminho depois do ```/``` como variável ```qualquer```.
110107
2. Isto é passado para a função sendo como um argumento```(def alguma_coisa(qualquer='')```.
111-
3. Nós então passamos isto para a função do template sendo um argumento(```author=qualquer```)
112-
4. O template então renderiza a variável author com ```{{ author }}```
108+
3. Nós então passamos isto para a função do template sendo um argumento(```autor=qualquer```)
109+
4. O template então renderiza a variável autor com ```{{ autor }}```
113110

114111
#Shell script
115112

content/images/bottle.png

-6.66 KB
Binary file not shown.
5.89 KB
Loading

0 commit comments

Comments
 (0)