Hi, MIDDLEWARE is in settings.py of your project. Sam
Le ven. 7 avr. 2017 23:29, shahab emami <royarame...@gmail.com> 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 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 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 'secretballot', > to my installed_apps It says: > > * add a secretballot middleware to MIDDLEWARE_CLASSES (see middleware > section for details) > > > I now where MIDDLEWARE_CLASSES is. it's in setteings.py right after > installed_apps but i don't > what I have to add to it. > can you tell me what's the point when it says "add a secretballot > middleware" ? > i mean how many secretballot middleware we have that i have to add one of > them to my installed_apps? > > thank you again > > > > Well, as you quoted, the instruction goes on to say "see middleware > section for details". That section does indeed show you what to put in the > setting. > -- > DR. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at https://groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/a51dbbf7-c195-4563-a1e2-0f2526447ce7%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/a51dbbf7-c195-4563-a1e2-0f2526447ce7%40googlegroups.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJVNoBdpdh8%2ButSTs-JtKXrAYxoCVM2CS2b6CVaqkXaT4%3DEuYw%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.