{set-cookie:
csrftoken=dsEtx2CP6rX5bhIbRmkTOv5LmciytID5t6ShQbgNMTALTnhCoXdxWQ1TcAzxQoDO;
expires=Wed, 06 Jan 2021 17:01:00 GMT; Max-Age=31449600; Path=/;
SameSite=Lax,sessionid=2rtrkbnhc8m30iqs7sw4em014hr6a3ss; expires=Wed, 22 Jan
2020 17:01:00 GMT; HttpOnly; Max-Age=1209600; Path=/;
It works, I didn't change anything(maybe somewhere I didn't realize)...
interesting...
在 2016年12月19日星期一 UTC+8下午8:17:09,Xin Belter写道:
>
> Here is the strange thing I just met:
>
> My project's name is *showMetDDA*, and has only one app named *showTable*,
> in my app's vimes.
Here is the strange thing I just met:
My project's name is *showMetDDA*, and has only one app named *showTable*,
in my app's vimes.py file, I have a view function named *show_table().*
When I import my view function in
urls.py(~/djcode/showMetDDA/showMetDDA/urls.py) file, I cannot import it.
Now, Let's look at the following scenario:
A website manage 10,000 students, and show top 100 of student's achievement.
I use mysql storage every student personal information(name email sex and
achievement)
but I have to get every student achievement and caculate Top 100, so I use
redis to solve
Let's look at the following scenario:
A website has 1 player, to make question easier, I use mysql storage
player with just one table: "player_table"
--table here-
name string
score int
now, I want to show Top 100 of those players by socre.
if only with mysql, I have to caculate
hi,
Why django project name must be start with letter or underline? Why not
number?
I found flask project name can begin with a number.
thanks.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop
No, I haven't.
How should I override? And Which file should I put the LOGGING settings in?
在 2015年9月19日星期六 UTC+8下午7:49:56,Xin Ji写道:
>
> I'm using apache + django + mod_wsgi to serve my app.
> My apache version is 2.4.7 and my django version is 1.8.4
>
> My django settings are:
&
I'm using apache + django + mod_wsgi to serve my app.
My apache version is 2.4.7 and my django version is 1.8.4
My django settings are:
* DEBUG=False*
* ADMINS = [ ('username','usern...@comp.nus.edu.sg'), ] MANAGERS =
[ ('username','usern...@comp.nus.edu.sg'), ]
I find there are some configuration about using Django with Apache and
mod_wsgi in Django document. So, I install apache-2.4.7 and mod_wsgi.
But the thing is that I'm confused about how it can work. Should I start a
server on mod_wsgi? Is that possible to support https?
--
You received this
Hi, everyone. I'm a new user of Django.
I have established an app and run a server on Django.
However, when I open a URL of my app(e.g. *https*://example.com/.../), it
always shows the following error on the command line.
*You're accessing the development server over HTTPS, but it only supports
Hi,
I am developing a management system by django 1.6. Using django + wsgi +
apache to implement this project, there are some html on the one directory,
angularjs $http use "POST" mehtod to visit the django web url to get some
data (django web url on the other directory).
front end
I am unsure if this a bug in Django, or django-multidb-router, or
something I've done wrong.
I'm using django-multidb-router from here:
http://github.com/jbalogh/django-multidb-router
With two database definitions, a read_only_user and a read_write_user
(with the intentions of having multiple
Hello,
First, sorry for my english.
Well, I want out a form for a human verification with an image and an
input field. But I don't know how is the best practice for make this.
How do you do it?
I need print:
- An image (different in each case)
- An hidden input with data relationated
As a part of the application I'm writing I need to do certain things to
the database every night. The easiest way to implement this would be a
python script run every night by cron.
As django offers an interactive shell (through manage.py) I figured
there must be a way to use this functionality
14 matches
Mail list logo