Skip to content

Instantly share code, notes, and snippets.

<button id='hideshow' value='hide/show' class="btn btn-danger">Cerrar</button>
<div class="panel-group" id="accordion" role="tablist" aria-multiselectable="true">
<div class="panel panel-default">
<div class="panel-heading" role="tab" id="headingOne">
<h4 class="panel-title">
<a role="button" data-toggle="collapse" data-parent="#accordion" href="#collapseOne" aria-expanded="true" aria-controls="collapseOne">
2016
</a>
</h4>
</div>
from .forms import BuscarDiaForm
def calendario(request):
if request.method == 'POST':
cs = BuscarDiaForm(request.POST)
if cs.is_valid():
cs.fecha.split("-")
year = int(cs[0])
month = int(cs[1])
day = int(cs[2])
return dia(request, year, month, day)
@solidfounds
solidfounds / servers-python
Last active August 19, 2016 19:17
execute server with python
#python 2.7*
python -m SimpleHTTPServer 8000
#python 3.*
python -m http.server 8000
@solidfounds
solidfounds / .gitignore-global
Created January 12, 2016 20:58 — forked from fjcaetano/.gitignore-global
Global .gitignore file focused on PyCharm
# Compiled source #
###################
*.com
*.class
*.dll
*.exe
*.o
*.so
*.pyc