WebFaction
Community site: login faq

Hello,

Made couple webistes in Django, but I really want to do now how to solve 1 problem. Want to create small website just a login that I have already done with "@login_decorator" and its working fine. What I cant do is ti place a photo after login in template but its only accessible to download when you login. If I use fixed path I can download it without even entering the username & password. What I want to create is simple website to download photos but only when u login. Please help thanks.

asked 13 Aug '12, 01:13

rentgeeen
4721319
accept rate: 0%


This has been asked on the forum before. Here, Here, and on our old forum here.

permanent link

answered 13 Aug '12, 01:46

johns
5.4k312
accept rate: 23%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×909
×45
×12
×3
×2

question asked: 13 Aug '12, 01:13

question was seen: 2,701 times

last updated: 13 Aug '12, 01:46

WEBFACTION
REACH US
SUPPORT
AFFILIATE PROGRAM
LEGAL
© COPYRIGHT 2003-2019 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM