skip to main
|
skip to sidebar
Django talk
Wednesday, July 25, 2012
Prevent direct access to some URLs
Hi
I have set up a login page, using "django.contrib.auth.views.login"
and user's would be forwarded to their own web page after being
authenticated, but they can access to their web page directly with
placing the related uri.
how can I prevent direct access to those page ?
Thanks
No comments:
Post a Comment
Newer Post
Older Post
Home
Subscribe to:
Post Comments (Atom)
Followers
Blog Archive
►
2024
(806)
►
November
(73)
►
October
(139)
►
September
(132)
►
August
(19)
►
July
(19)
►
June
(7)
►
May
(7)
►
April
(6)
►
March
(117)
►
February
(285)
►
January
(2)
►
2023
(624)
►
November
(11)
►
October
(52)
►
September
(14)
►
August
(35)
►
July
(55)
►
June
(54)
►
May
(134)
►
April
(114)
►
March
(122)
►
February
(9)
►
January
(24)
►
2022
(1775)
►
December
(61)
►
November
(273)
►
October
(216)
►
September
(393)
►
August
(274)
►
July
(169)
►
June
(32)
►
May
(7)
►
April
(6)
►
March
(24)
►
February
(173)
►
January
(147)
►
2021
(2886)
►
December
(60)
►
November
(27)
►
October
(45)
►
September
(24)
►
August
(31)
►
July
(193)
►
June
(603)
►
May
(442)
►
April
(387)
►
March
(435)
►
February
(348)
►
January
(291)
►
2020
(7609)
►
December
(465)
►
November
(218)
►
October
(420)
►
September
(546)
►
August
(593)
►
July
(659)
►
June
(759)
►
May
(1010)
►
April
(702)
►
March
(701)
►
February
(873)
►
January
(663)
►
2019
(7763)
►
December
(562)
►
November
(638)
►
October
(612)
►
September
(633)
►
August
(651)
►
July
(604)
►
June
(635)
►
May
(744)
►
April
(714)
►
March
(682)
►
February
(600)
►
January
(688)
►
2018
(7433)
►
December
(464)
►
November
(772)
►
October
(705)
►
September
(518)
►
August
(752)
►
July
(720)
►
June
(609)
►
May
(691)
►
April
(488)
►
March
(492)
►
February
(488)
►
January
(734)
►
2017
(5842)
►
December
(509)
►
November
(470)
►
October
(343)
►
September
(474)
►
August
(436)
►
July
(393)
►
June
(504)
►
May
(617)
►
April
(506)
►
March
(553)
►
February
(494)
►
January
(543)
►
2016
(5793)
►
December
(439)
►
November
(406)
►
October
(376)
►
September
(347)
►
August
(653)
►
July
(489)
►
June
(446)
►
May
(496)
►
April
(513)
►
March
(454)
►
February
(666)
►
January
(508)
►
2015
(7015)
►
December
(413)
►
November
(525)
►
October
(475)
►
September
(455)
►
August
(551)
►
July
(596)
►
June
(530)
►
May
(630)
►
April
(639)
►
March
(789)
►
February
(602)
►
January
(810)
►
2014
(8097)
►
December
(702)
►
November
(789)
►
October
(753)
►
September
(740)
►
August
(759)
►
July
(704)
►
June
(631)
►
May
(754)
►
April
(529)
►
March
(537)
►
February
(580)
►
January
(619)
►
2013
(10100)
►
December
(516)
►
November
(635)
►
October
(836)
►
September
(742)
►
August
(862)
►
July
(939)
►
June
(848)
►
May
(967)
►
April
(990)
►
March
(984)
►
February
(862)
►
January
(919)
▼
2012
(12829)
►
December
(824)
►
November
(874)
►
October
(980)
►
September
(1063)
►
August
(1032)
▼
July
(1122)
Re: Issue Deploying Django
Re: form.errors is not a dictionary?
Issue Deploying Django
Re: Error in Brand New Django 1.4.1 released Yeste...
django-allauth and signup or login via twitter?
Re: Adding more data to Generic Views
Detecting browser type after login
Re: Error in Brand New Django 1.4.1 released Yeste...
Re: Error in Brand New Django 1.4.1 released Yeste...
Re: returning a zip file for download
Re: Problem with order_by on one record only
Re: MySQL total overheat (somewhat complex database)
Re: Weird test-behaviour in combination with local...
Re: returning a zip file for download
combobox prepopulated to only related objects to "...
returning a zip file for download
Re: No timezone support for TimeField?
Re: Adding more data to Generic Views
No timezone support for TimeField?
Re: Adding more data to Generic Views
Weird test-behaviour in combination with localization
Re: Working with a Custom, Dynamic Form (using Bas...
Re: Form validation using model data?
Re: Error in Brand New Django 1.4.1 released Yeste...
Working with a Custom, Dynamic Form (using BaseForm)
Catch or raise exception designissue
Re: presenting a manytomany relationship in a tabu...
Re: Exlude xampp-htdocs-projects from beeing treat...
Re: merge data from multiple models
Re: Adding more data to Generic Views
Re: access the state of a Model object prior to it...
Re: merge data from multiple models
Re: merge data from multiple models
Re: Adding more data to Generic Views
Re: merge data from multiple models
Exlude xampp-htdocs-projects from beeing treated a...
presenting a manytomany relationship in a tabular way
Re: Adding more data to Generic Views
Re: Plotting a line graph
Re: Error in Brand New Django 1.4.1 released Yeste...
Re: Error in Brand New Django 1.4.1 released Yeste...
Re: Error in Brand New Django 1.4.1 released Yeste...
Re: Error in Brand New Django 1.4.1 released Yeste...
Error in Brand New Django 1.4.1 released Yesterday
Re: Dynamic forms
Adding more data to Generic Views
Re: Read from an uploaded file and put data in a f...
Re: Is there a way to use 'request.user' in a cust...
Re: Is there a way to use 'request.user' in a cust...
Re: REMOVE ME
Re: ANN: pythonpackages.com beta
Re: Form validation using model data?
Form validation using model data?
Re: REMOVE ME
RE: REMOVE ME
Re: Help for finance sector
Is there a way to use 'request.user' in a custom t...
Re: Django: creating formset is very slow
Re: Read from an uploaded file and put data in a f...
Re: need help on set_password()..............
Re: django FastCGI configuration for Share Host.
Re: django FastCGI configuration for Share Host.
Re: django FastCGI configuration for Share Host.
Re: Models: Referencing A Model In Another App and...
Re: form.save() fails silently - how to debug?
django FastCGI configuration for Share Host.
Help for finance sector
Re: Is this possible using the Django ORM without ...
Re: Models: Referencing A Model In Another App and...
Re: REMOVE ME
Re: REMOVE ME
REMOVE ME
Read from an uploaded file and put data in a form ...
ANN: pythonpackages.com beta
Re: Is this possible using the Django ORM without ...
Re: MySQL total overheat (somewhat complex database)
Re: MySQL total overheat (somewhat complex database)
Re: Django Userena Problem
Re: form.save() fails - due to missing field?
Features in Django1.4
form.save() fails - due to missing field?
Re: Is this possible using the Django ORM without ...
Re: Url regex keeps django busy/crashing
Re: Can i use django book
Re: Is this possible using the Django ORM without ...
Re: Can i use django book
Can i use django book
Re: Need urgrnt help for this new bee...
Re: How is the label_tag's attrs parameter suppose...
Re: Automated updating of data across staging and ...
Re: Models: Referencing A Model In Another App and...
permission denied eror
Re: Need urgrnt help for this new bee...
Returning data belonging to a model (FK)
Re: Need urgrnt help for this new bee...
Re: form.save() fails silently - how to debug?
Re: ignore field during form validation
_set.all()
Re: form.save() fails silently - how to debug?
Re: form.save() fails silently - how to debug?
►
June
(1109)
►
May
(1254)
►
April
(1201)
►
March
(1189)
►
February
(1133)
►
January
(1048)
►
2011
(14283)
►
December
(872)
►
November
(1050)
►
October
(1125)
►
September
(1004)
►
August
(1316)
►
July
(1292)
►
June
(1275)
►
May
(1261)
►
April
(1157)
►
March
(1375)
►
February
(1232)
►
January
(1324)
►
2010
(9629)
►
December
(1175)
►
November
(1257)
►
October
(1215)
►
September
(1287)
►
August
(1393)
►
July
(1348)
►
June
(1382)
►
May
(572)
About Me
faw
View my complete profile
No comments:
Post a Comment