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
Tue Jul 23 14:30:08 UTC 2013 | |
/var/lib/openshift/51ede3a585194317da000107/python-2.7/virtenv/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory | |
Tue Jul 23 14:45:08 UTC 2013 | |
/var/lib/openshift/51ede3a585194317da000107/python-2.7/virtenv/bin/python: error while loading shared libraries: libpython2.7.so.1.0: cannot open shared object file: No such file or directory |
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
<!-- Formulário --> | |
<form action="/foo/bar/url/" method="POST" id="id_form">{% csrf_token %} | |
{% for hidden in foo_form.hidden_fields %} | |
{{ hidden }} | |
{% endfor %} | |
<!-- Outros campos do formulário --> | |
</form> |
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
class FuncionarioForm(forms.ModelForm): | |
""" Sobrescreve formulário de funcionários """ | |
class Meta: | |
model = Funcionario | |
exclude = ('usuario', ) | |
def __init__(self, *args, **kwargs): | |
super(FuncionarioForm, self).__init__(*args, **kwargs) | |
# Editar funcionário: valores iniciais |
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
$ heroku logs --tail --ps worker | |
2013-01-10T13:40:31+00:00 app[worker.1]: return Database.Cursor.execute(self, query, params) | |
2013-01-10T13:40:31+00:00 app[worker.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 735, in execute_sql | |
2013-01-10T13:40:31+00:00 app[worker.1]: File "/app/.heroku/python/lib/python2.7/site-packages/celery/worker/consumer.py", line 392, in start | |
2013-01-10T13:40:31+00:00 app[worker.1]: self._result_cache = list(self.iterator()) | |
2013-01-10T13:40:31+00:00 app[worker.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/query.py", line 273, in iterator | |
2013-01-10T13:40:31+00:00 app[worker.1]: for row in compiler.results_iter(): | |
2013-01-10T13:40:31+00:00 app[worker.1]: File "/app/.heroku/python/lib/python2.7/site-packages/django/db/models/sql/compiler.py", line 680, in results_iter | |
2013-01-10T13:40:31+00:00 app[worker.1]: for rows in self.execute_sql(MULTI): | |
2013-01-10T13:40:31+00:00 app[worker. |
NewerOlder