Thanks for reply.
I am using default value for django cache.
We are building dynamic website so URL should be same for all user. But
Session can be used to display dynamic content.
What are reason for such type behavior?
And I am unable to reproduce the issue again.
Please help me.
On
Firstly you could create a function that uses these to models and renders a
html or csv format invoice. Then you could mail this to yourself. Once
the function is created then you could create a scheduled cron job using
celery or a even simple way would be to use crontab linux command with
Hi, i hope you can help me, im trying to make a django post form without
reloading the page using ajax, but im getting error 500 when submit, can
you help me to fix this, this is my code:
*models.py*
class ProductoConcepto(models.Model):
producto = models.ForeignKey(Producto)
orden =
Cacheing?
1. Do Bob's and James's pages have different URLs
2. Have you configured your cacheing. if you are using it, to not reuse
components that could be confused?
3. Are you sending the correct cacheing directions to try and make sure
caches between your infrastructure and the user's screen
Why not use custom methods on your model? These can effectively act as
extra properties:
*https://docs.djangoproject.com/en/1.9/topics/db/models/#model-methods*(this
is assuming you do not want to store any data of course... otherwise you
will need to give a more concrete example of what
Hello, everybody.
I'm working on one project where I need to render cities on the page in 1-4
columns like this. I'm rendering cities using 'regroup' filter:
A D M U
AberdeenDanbury MacombUkiah
Akron Delano Mandan Urbana
Manhattan
BH
This query is also duplicated on Trac:
https://code.djangoproject.com/ticket/26893 (closed as "worksforme").
For future reference, please ask "is it a bug?" questions on django-users
and wait for confirmation that it is a bug before creating a Trac ticket.
On Friday, July 15, 2016 at 6:26:27
On 15 July 2016 at 11:47, 1351552...@qq.com <1351552...@qq.com> wrote:
> and with the message in file /var/log/nginx/error.log :
> connect() to unix:///home/wangwei/yaohang/yaohang.sock failed (13:
> Permission denied
check under what user is running nginx, and make sure that it has r/w
I used this link without any trouble
https://www.digitalocean.com/community/tutorials/how-to-serve-django-applications-with-uwsgi-and-nginx-on-ubuntu-14-04
Rafael E. Ferrero
2016-07-15 7:47 GMT-03:00 1351552...@qq.com <1351552...@qq.com>:
> hi everyone:
>
> I am tring to deploy my site by
Hello,
I am working on Django Aplication . It has almost 350 users right now.
Problem.
Suppose we have a username bob and james.
So, bob logged in and using our Django web application. But Sometimes bob's
session is showing james account information. So bob is able to see James
private data
hi everyone:
I am tring to deploy my site by nginx and uwagi
in my project yaohang,i have these files:
#yaohang_uwsgi.ini
[uwsgi]
socket = :8001
chmod-socket= 664
master = true
module = yaohang_uwsgi
processes = 8
listen = 120
enable-threads = true
daemonize =
Hi,
Could you verify what your database settings really are for example
printing them out at the end of settings.py. (Or in any view import your
settings to see that values really are what you expect.)
On Wed, Jul 13, 2016 at 7:13 PM, wrote:
> I'm trying to create
Thank U very much solved the prob by
Troque:
PROJECT_PATH = os.path.abspath(os.path.dirname(__file__))
PROJECT_DIR = os.path.abspath(os.path.dirname(__file__))
So it works now. But the widget for GoogleAnalytics still not. I will find
and solve that ;)
But thx U helped me a lot.
Am
On 15 July 2016 at 00:02, Gary Roach wrote:
> While - with the exception of the metafile - these are static files, we are
> talking about hundreds of documents. I do not think that storing them as
> static files will work. They have to be searchable. I assume that I
Hello, I do use nginx + uwsgi + postgres. Maybe you could try one of
following points below ?
Cheers.
1) there is a very good tutorial to install nginx, see below. This is the
one I used for step by step installation on production server :
15 matches
Mail list logo