[wouso-dev] Probleme...

Mitra George mirai_no_shinigami at yahoo.com
Fri May 7 19:22:51 EEST 2010


Salutări!

Am încercat din nou să fac ceva pentru a îmi testa codul...Aceeasi problemă...cea pe care am uitat mereu să o raportez.

Dacă încerc să mă loghez normal îmi dă asta:


"403 Forbidden
CSRF verification failed. Request aborted.
Help
Reason given for failure:
    CSRF cookie not set.

In general, this can occur when there is a genuine Cross Site Request Forgery, or when Django's CSRF mechanism has not been used correctly.  For POST forms, you need to ensure:
	* The view function uses RequestContext for the template, instead of Context.
	* In the template, there is a {% csrf_token %} template tag inside each POST form that targets an internal URL.
	* If you are not using CsrfViewMiddleware, then you must use csrf_protect on any views that use the csrf_token template tag, as well as those that accept the POST data.
You're seeing the help section of this page because you have DEBUG = True in your Django settings file. Change that to False, and only the initial error message will be displayed. 
You can customize this page using the CSRF_FAILURE_VIEW setting."
M-am holbat prin cod, dar nu părea nicăieri să se întâmple chestiile sugerate de django sau nu am știut eu unde să caut...


Eh, am încercat si ca admin:

"Looks like your browser isn't configured to accept cookies. Please enable cookies, reload this page, and try again."

Browserul meu acceptă cookie-uri...Nu știu care e problema. Am încercat cam toate soluțiile date de ăia.Am încercat să caut nu-știu-ce minune del inie de comentat, am încercat să îmi updatez python, am căutat o versiune care „nu a fost distrusă de debian”, dar nimic.


Am încercat și să mă loghez prin facebook. Dar aplicația trimite adresa ei facebook-ului și lui nu îi place să primească localhost sau 127.0.0.1

O să încerc să îmi formatez cu totul pc-ul, din nou...Cred că am făcut ceva greșit sau incomplet și nu îi place ideea.

George



      
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rosedu.org/pipermail/wouso-dev/attachments/20100507/70a1b983/attachment.htm>


More information about the wouso-dev mailing list