Skip to content
Navigation Menu
Toggle navigation
Sign in
Appearance settings
Platform
GitHub Copilot
Write better code with AI
GitHub Spark
New
Build and deploy intelligent apps
GitHub Models
New
Manage and compare prompts
GitHub Advanced Security
Find and fix vulnerabilities
Actions
Automate any workflow
Codespaces
Instant dev environments
Issues
Plan and track work
Code Review
Manage code changes
Discussions
Collaborate outside of code
Code Search
Find more, search less
Explore
Why GitHub
Documentation
GitHub Skills
Blog
Integrations
GitHub Marketplace
MCP Registry
View all features
Solutions
By company size
Enterprises
Small and medium teams
Startups
Nonprofits
By use case
App Modernization
DevSecOps
DevOps
CI/CD
View all use cases
By industry
Healthcare
Financial services
Manufacturing
Government
View all industries
View all solutions
Resources
Topics
AI
DevOps
Security
Software Development
View all
Explore
Learning Pathways
Events & Webinars
Ebooks & Whitepapers
Customer Stories
Partners
Executive Insights
Open Source
GitHub Sponsors
Fund open source developers
The ReadME Project
GitHub community articles
Repositories
Topics
Trending
Collections
Enterprise
Enterprise platform
AI-powered developer platform
Available add-ons
GitHub Advanced Security
Enterprise-grade security features
Copilot for business
Enterprise-grade AI features
Premium Support
Enterprise-grade 24/7 support
Pricing
Search or jump to...
Search code, repositories, users, issues, pull requests...
Search syntax tips
Provide feedback
Saved searches
Use saved searches to filter your results more quickly
Sign in
Sign up
Appearance settings
Resetting focus
You signed in with another tab or window.
Reload
to refresh your session.
You signed out in another tab or window.
Reload
to refresh your session.
You switched accounts on another tab or window.
Reload
to refresh your session.
Dismiss alert
{{ message }}
mozilla
/
django-session-csrf
Public
Notifications
You must be signed in to change notification settings
Fork
24
Star
111
Code
Issues
13
Pull requests
1
Actions
Projects
0
Security
Uh oh!
There was an error while loading.
Please reload this page
.
Insights
Additional navigation options
Code
Issues
Pull requests
Actions
Projects
Security
Insights
Commits
Branch selector
master
User selector
All users
Datepicker
All time
Commit History
Commits on Jan 17, 2018
Make it slightly more obvious what `ANON_ALWAYS` is for (#26)
moggers87
authored and
Peter Bengtsson
committed
bb6ce72
Copy full SHA for bb6ce72
Commits on Oct 5, 2016
prepare for version 0.7.1
peterbe
committed
ed197a2
Copy full SHA for ed197a2
Python 3 support (#36)
Show description for 28520b9
moggers87
authored and
Peter Bengtsson
committed
28520b9
Copy full SHA for 28520b9
don't assume request.user (#34)
Show description for 88d1b14
Peter Bengtsson
authored and
glogiotatidis
committed
88d1b14
Copy full SHA for 88d1b14
Commits on Oct 4, 2016
Merge pull request #33 from peterbe/ignore-build-artifacts
Show description for 167208e
glogiotatidis
authored
167208e
Copy full SHA for 167208e
Merge pull request #35 from peterbe/dont-require-django-to-install
Show description for c0bc471
glogiotatidis
authored
c0bc471
Copy full SHA for c0bc471
Commits on Oct 3, 2016
don't require django to install
peterbe
committed
06065d2
Copy full SHA for 06065d2
ignore build artifacts
peterbe
committed
03803b9
Copy full SHA for 03803b9
Commits on Sep 30, 2016
Merge pull request #30 from ctxis/master
Show description for 5a220fd
Peter Bengtsson
authored
5a220fd
Copy full SHA for 5a220fd
Make compatible with Django 1.10. Replace _get_new_csrf_key with _get_new_csrf_string, use Middleware Deprecation Mixin, fix urlpatterns
pcraston
committed
29d5030
Copy full SHA for 29d5030
Commits on Mar 15, 2016
Merge pull request #19 from moggers87/travis
Show description for 98626d3
Peter Bengtsson
committed
98626d3
Copy full SHA for 98626d3
Commits on Mar 10, 2016
Change tested versions
Show description for ab97e33
moggers87
committed
ab97e33
Copy full SHA for ab97e33
Commits on Jan 15, 2016
version 0.6 for a new release
peterbe
committed
59014dd
Copy full SHA for 59014dd
Commits on Sep 4, 2015
Don't test on Python 3, it's broken
moggers87
committed
c0b1155
Copy full SHA for c0b1155
Update tests to work with newer versions of Django
moggers87
committed
3e362c1
Copy full SHA for 3e362c1
Travis config
Show description for dff6a73
moggers87
committed
dff6a73
Copy full SHA for dff6a73
Commits on Mar 2, 2015
Merge pull request #18 from Osmose/contribute.json
Show description for a9fcd89
Peter Bengtsson
committed
a9fcd89
Copy full SHA for a9fcd89
Add contribute.json file.
Michael Kelly
committed
b975e1d
Copy full SHA for b975e1d
Commits on May 31, 2013
Merge pull request #15 from washort/master
Show description for f00ad91
peterbe
committed
f00ad91
Copy full SHA for f00ad91
Hash received cookies to normalize length and contents. (bug 872263)
Allen Short
committed
13c3cb2
Copy full SHA for 13c3cb2
Commits on May 17, 2013
issue 10 - massive cookies cause memcache trouble, r=Osmose
peterbe
committed
b3b7367
Copy full SHA for b3b7367
Commits on Feb 10, 2012
Merge pull request #9 from carljm/no-code-in-manage-py
Show description for 94e2858
jbalogh
committed
94e2858
Copy full SHA for 94e2858
Commits on Feb 2, 2012
Don't recommend putting important code in manage.py.
carljm
committed
1fa1a42
Copy full SHA for 1fa1a42
Commits on Jan 27, 2012
tagging v0.5
Jeff Balogh
committed
1549252
Copy full SHA for 1549252
Commits on Jan 26, 2012
use a prefix for cache keys
Jeff Balogh
committed
af159ac
Copy full SHA for af159ac
Add documentation about caches for anonymous CSRF (fixes #2)
Jody McIntyre
authored and
Jeff Balogh
committed
d3ec6a8
Copy full SHA for d3ec6a8
use a whitelist for http methods (fixes #3)
Jeff Balogh
committed
25ea4dd
Copy full SHA for 25ea4dd
Add ANON_ALWAYS setting that enables CSRF protection for all anonymous views.
Jody McIntyre
authored and
Jeff Balogh
committed
04a545b
Copy full SHA for 04a545b
Merge pull request #8 from anentropic/master
Show description for a8c4b64
jbalogh
committed
a8c4b64
Copy full SHA for a8c4b64
Commits on Jan 25, 2012
make TestCsrfMiddleware tests work in isolation (without running the other test classes first)
anentropic
committed
c0dbb49
Copy full SHA for c0dbb49
only need urls for the last class after all
anentropic
committed
890060e
Copy full SHA for 890060e
remove dependency on namedtuple (Py 2.6)
anentropic
committed
c9a0c9d
Copy full SHA for c9a0c9d
all TestCase sub-classes need the urls attribute to run
anentropic
committed
8fb3e70
Copy full SHA for 8fb3e70
Commits on Jan 23, 2012
Merge pull request #6 from LucianU/master
Show description for 34f3361
jbalogh
committed
34f3361
Copy full SHA for 34f3361
Commits on Dec 21, 2011
Added a .gitignore file with some rules
LucianU
committed
9ef830c
Copy full SHA for 9ef830c
Pagination
Previous
Next
You can’t perform that action at this time.