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 need a
> model that will set up
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 Donne
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 my database tables (*python ma
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 = /home/wangwei/yaohang/yao
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 a
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 nginx
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
permissio
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 AM
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
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 you
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 are
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 = models.For
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
monthl
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 Sa
>
> 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.
>
Sometimes
On Jul 14, 2016 4:31 AM, "USMAN MALIK" wrote:
>
> Hi. I'm new to django and i'm creating a buisness application for my
company. i want to generate a monthly invoice for every member in my
company and for this i have two models in which all the information is
stored. Is there a way to generate an a
16 matches
Mail list logo