On Sun, Feb 1, 2015 at 1:33 AM, Javier Guerra Giraldez
wrote:
> On Sat, Jan 31, 2015 at 11:52 AM, Robert Rössler
> wrote:
> > what is the best way to restrict downloading files only to authorized
> users?
>
> it's not hard to do if you manage the file
Did you take a look at the official tutorial?
https://docs.djangoproject.com/en/1.7/intro/tutorial01/
On Sat, Jan 31, 2015 at 5:02 PM, Sreenivasarao Pallapu <
sreenivas.eng...@gmail.com> wrote:
> Hi,
>I'm new to django. I know basic python. I heard that django is nothing
> but python. I've
Sure, it's possible. But this is a really hard problem. One way is to
let the database do all the heavy lifting. But you'll have to forget
about using simple databases like SQLite or MySQL. Oracle's advanced
replication documentation talks about exactly this type of situation
w/r/t materialized
Hi,
I'm new to django. I know basic python. I heard that django is nothing
but python. I've installed django and started as on video tutorials. But it
is a bit confusing to me. I know nothing about the classes and functions
they are using. Could you please suggest me better book or tutorial
Django 1.3 only works with python 2, not python 3
On Sat, Jan 31, 2015 at 2:31 PM, Akshit Arora
wrote:
> hey, I am working on this project that requires django with apache
>
> https://github.com/nbproject/nbproject
>
> it's installation guide is here :
>
>
hey, I am working on this project that requires django with apache
https://github.com/nbproject/nbproject
it's installation guide is here :
https://github.com/nbproject/nbproject/wiki/Install-guide
Now, I have installed every dependency mentioned in step 2.
versions installed are:
django 1.3
On Sat, Jan 31, 2015 at 11:52 AM, Robert Rössler wrote:
> what is the best way to restrict downloading files only to authorized users?
it's not hard to do if you manage the file downloading with a view.
of course, file serving within Django is very inefficient, your
i don't know if this is the best way to do that. But you can create a view
that response the file after verify the user credentials.
The problem is: once the user knows the urls from file, he can share the
url with others.
Its not difficult create an "one time url" to the request to solve this
Hello,
what is the best way to restrict downloading files only to authorized users?
I want to let users upload files and let them download them, but restrict
downloading other users files.
Thank you
--
You received this message because you are subscribed to the Google Groups
"Django users"
I'm new to Django and have just deployed my first Django application. My
problem is, the application is used by people in different locations and
networks, so when ever the network is down, those using a different network
can't have access to the application. I need all the networks to have a
On 31 Jan 2015 10:11, "Stephen J. Butler" wrote:
>
> You still could store the do_something_after_badge_awarded result in a
> database table, but cache the lookups from the view for something
> short, like 5 minutes. How quickly after a badge is awarded do people
> need
2015-01-31 7:14 GMT+01:00 Mike :
> I'm building a simple CRUD application to hold some data for our research
> group. After 2 hours I have the basic functionality working using the
> admin site only and no custom views. I just need to figure out if I can go
> ahead and
You still could store the do_something_after_badge_awarded result in a
database table, but cache the lookups from the view for something
short, like 5 minutes. How quickly after a badge is awarded do people
need to be notified?
Also, you could use a memcached library to store/fetch the awards by
Thanks for the info about django-debug-toolbar. I will certainly test it. I
assume that I do a quite a lot of slow queries, but during development I
run with a very reduced dataset, so my database (sqlite too instead of
mysql) only contains a couple of hundred entries whereas in deployment it
I can't just call badge.award_to(user) because I need to wait for the check
logic to verify if the user should receive a badge or not.
My workaround is that I created a new table that inserts badge and user
foreign keys and before the view is rendered I will check this table for
any entries
15 matches
Mail list logo