[Help] Advanced tutorial: How to install my Python package with Virtualenv

2016-09-27 Thread Aline C. R. Souza
Hello Guys, I need some help to install my Python package with virtualenv. I follow the 'Advanced tutorial: How to write reusable apps' and moved the polls directory out of the project. Now I want to install my package using virtualenv and pip, but I don't know how. Consider I am inside of my

Re: [Help] Advanced tutorial: How to install my Python package with Virtualenv

2016-09-27 Thread Aline C. R. Souza
Hi everybody, Pip was working, but I did not know how to use it. Now, I figured out. Inside the project directory: pip install ../django-polls/dist/django-polls-0.1.zip Worked fine, the app is running. Thank you, guys. Em terça-feira, 27 de setembro de 2016 08:21:54 UTC-3, Aline C. R

Re: [Help] Advanced tutorial: How to install my Python package with Virtualenv

2016-09-27 Thread Aline C. R. Souza
problem maybe is just about localization of the files. I am little bit lost. Em terça-feira, 27 de setembro de 2016 08:21:54 UTC-3, Aline C. R. Souza escreveu: > > Hello Guys, > > I need some help to install my Python package with virtualenv. I follow > the 'Advanced tutoria

Re: [Help] Advanced tutorial: How to install my Python package with Virtualenv

2016-09-27 Thread Aline C. R. Souza
problem maybe is just about localization of the files. I am little bit lost. Em terça-feira, 27 de setembro de 2016 08:21:54 UTC-3, Aline C. R. Souza escreveu: > > Hello Guys, > > I need some help to install my Python package with virtualenv. I follow > the 'Advanced tutorial: How to

Re: [Help] Advanced tutorial: How to install my Python package with Virtualenv

2016-09-27 Thread Aline C. R. Souza
problem maybe is just about localization of the files. I am little bit lost. Em terça-feira, 27 de setembro de 2016 08:21:54 UTC-3, Aline C. R. Souza escreveu: > > Hello Guys, > > I need some help to install my Python package with virtualenv. I follow > the 'Advanced tutorial: How to

NoReverseMatch Error using Django + Haystack + Elasticsearch

2016-10-14 Thread Aline C. R. Souza
Hello everybody, I am having a issue using Django + Haystack + Elasticsearch to perform a website search. I made a question on StackOverflow, but I had no satisfatory answer. The problem is in this line: by {{ post.author }} post.author.pk works well when called by several views, but it is

Re: NoReverseMatch Error using Django + Haystack + Elasticsearch

2016-10-15 Thread Aline C. R. Souza
time to build test app to check my idea. > > You can easily set up a break point and check what are the posts inside > your `post_search` view function. > > Regards, > Constantine C. > > On Sat, Oct 15, 2016 at 12:48 AM, Aline C. R. Souza <linec...@gmail.com > > wrote:

Re: Deploy on Heroku Error

2016-10-22 Thread Aline C. R. Souza
fic modifications? > > Regards, > Constantine C. > > On Fri, Oct 21, 2016 at 1:14 PM, Aline C. R. Souza <linec...@gmail.com > > wrote: > >> Hello, Constantine, >> >> I have already followed this article and using `heroku local` the app >> runs fin

Re: HELP - Django variable in style (width) attribute

2016-10-20 Thread Aline C. R. Souza
outubro de 2016 22:28:38 UTC-3, Aline C. R. Souza escreveu: > > Hello Guys, > > favorite > <http://stackoverflow.com/questions/40065604/django-variable-in-style-width-attribute#> > > Why the template tag call {% get_percentage question.pk choice.pk %} > works inside

Deploy on Heroku Error

2016-10-20 Thread Aline C. R. Souza
Hello everybody, I am catching an error on trying to deploy my app on heroku. This is the traceback: File "/app/.heroku/python/lib/python3.5/site-packages/polls/admin.py", line 3, in 2016-10-20T18:42:46.734824+00:00 app[web.1]: File

Re: Deploy on Heroku Error

2016-10-21 Thread Aline C. R. Souza
; > Regards, > > Antonis Christofideshttp://djangodeployment.com > > On 2016-10-20 22:49, Aline C. R. Souza wrote: > > Hello everybody, > > I am catching an error on trying to deploy my app on heroku. This is the > traceback: > > File "/app/.her

Re: Deploy on Heroku Error

2016-10-21 Thread Aline C. R. Souza
t; > On Fri, Oct 21, 2016 at 8:39 AM, Antonis Christofides < > ant...@djangodeployment.com > wrote: > >> Hello, >> >> Link to the repo: https://github.com/alinecrsouza/django-blog-app >> >> >> that repo only contains the blog app. Could you show us the polls a

HELP - Django variable in style (width) attribute

2016-10-15 Thread Aline C. R. Souza
Hello Guys, favorite Why the template tag call {% get_percentage question.pk choice.pk %} works inside the span tag, but doesn't work in style (width) attribute? What is wrong? {% for choice in