Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-08 Thread shahab emami
thank you fabio I needed this line: 'secretballot.middleware.SecretBallotIpUseragentMiddleware', my problem solved thanks again On Saturday, April 8, 2017 at 3:52:51 PM UTC+4:30, Fabio Caritas Barrionuevo da Luz wrote: > > Hello Shahab. > > Perhaps the real problem is that you apparently have

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-08 Thread Samuel Brunel
Sorry. I think i'ts in "tokens and SecretBallotMiddleware" Have à look to http://www.pygarden.com/pkg/django-likes, http://stackoverflow.com/questions/1954/django-likes-setup-and-error, http://stackoverflow.com/questions/16179080/django-django-secretballot-middleware Le ven. 7 avr. 2017

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-08 Thread Fabio C. Barrionuevo da Luz
Hello Shahab. Perhaps the real problem is that you apparently have not completed a good tutorial to learn how django works and how to use it. I would recommend these two tutorials: https://tutorial.djangogirls.org/ and http://www.marinamele.com/taskbuster-django-tutorial said that, this is the

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-08 Thread shahab emami
I knew where middleware is myself. if you read my first post you will see that . my question is: what i have to add to middleware? On Friday, April 7, 2017 at 7:16:36 PM UTC+4:30, shahab emami wrote: > > hello > i have a simple question > please help me if you can > > > i want to install this

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-07 Thread Samuel Brunel
Hi, MIDDLEWARE is in settings.py of your project. Sam Le ven. 7 avr. 2017 23:29, shahab emami a écrit : > tanks > but my problem is: > I don't know where middleware section is. > i looked for middleware section in the app but i couldn't find anything. > that's why i

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-07 Thread shahab emami
On Saturday, April 8, 2017 at 1:59:20 AM UTC+4:30, shahab emami wrote: > > tanks > but my problem is: > I don't know where middleware section is. > i looked for middleware section in the app but i couldn't find anything. > that's why i asked that question here > > On Friday, April 7, 2017 at

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-07 Thread shahab emami
nobody can help me in this? what i have to add to middleware class? On Friday, April 7, 2017 at 7:16:36 PM UTC+4:30, shahab emami wrote: > > hello > i have a simple question > please help me if you can > > > i want to install this package on my project: > >

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-07 Thread shahab emami
tanks but my problem is: I don't know where middleware section is. i looked for middleware section in the app but i couldn't find anything. that's why i asked that question here On Friday, April 7, 2017 at 9:10:05 PM UTC+4:30, Daniel Roseman wrote: > > > > On Friday, 7 April 2017 15:46:36

Re: add a secretballot middleware to MIDDLEWARE_CLASSES

2017-04-07 Thread Daniel Roseman
On Friday, 7 April 2017 15:46:36 UTC+1, shahab emami wrote: > > hello > i have a simple question > please help me if you can > > > i want to install this package on my project: > > https://pypi.python.org/pypi/django-secretballot/ > > I am doing the installation step by step but after adding