Re: Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread 06userit
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 : http://uwsgi-docs.readthedocs.io/en/latest/tutorials/Dja

Re: Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread khaleela . visolve
Hello all,thanks for the response. I do use ngnix + uwsgi + postgres. Before it was mongo DB, am migrating that to postgres. When I change the settings from mongo to postgres in Django settings file, immediately I get 502 bad gateway error. And in ngnix log following error occurs: " upstream

Re: 分享一个用python和javascript开发的Django: advanced network website

2016-07-14 Thread muin
我杭州的 On Thursday, July 14, 2016 at 7:31:45 PM UTC+8, Cherry Chen wrote: > > > > > 大家好,我是内地的,想知道这个群里是否有来自中国内地,香港和台湾的朋友。希望大家喜欢我的分享,多多交流。 > > > https://www.livecoding.tv/oli

Re: 分享一个用python和javascript开发的Django: advanced network website

2016-07-14 Thread David Wong
我上海的 发自我的 iPhone > 在 2016年7月14日,16:11,Cherry Chen 写道: > > > 大家好,我是内地的,想知道这个群里是否有来自中国内地,香港和台湾的朋友。希望大家喜欢我的分享,多多交流。 > > https://www.livecoding.tv/olivierpons/videos/JYpDK-django-advanced-network-website-cogofly-2 > > > -- > You received this message because you are subscribed to the Google Gr

Document storage and data mining

2016-07-14 Thread Gary Roach
Hi all; I have finished most of the official Django tutorial, have started fooling around with my actual project and have realized that I'm not sure how to start. My projects initial objectives are as follows: Photos of the pages of a document are aggregated into a single pdf file for those

Re: Jet Admin Backend Prob with Google Analytics

2016-07-14 Thread ludovic coues
You have no variable named PROJECT_DIR your file pressmedia/pm/settings.py. You might want to remove os.path.join as you already specify the full path. 2016-07-14 17:16 GMT+02:00 Michael Schintler : > Hi all , > > I m sorry but new to Django and after some learning i came to Jet Admin > Backend. A

Jet Admin Backend Prob with Google Analytics

2016-07-14 Thread Michael Schintler
Hi all , I m sorry but new to Django and after some learning i came to Jet Admin Backend. All works fine excepting the "Google Analytics Widget". Could anybody help me ? I folowed absolutly this link https://github.com/geex-arts/django-jet/blob/master/docs/dashboard_modules.rst but it s a p

ModelAdmin dynamic fields

2016-07-14 Thread Bernat Bonet
I need to add dynamic fields to ModelAdmin fieldset that are not part of Model. This field is to show or hide certain fields. How can I do this? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop r

Dynamic ModelAdmin Field

2016-07-14 Thread Bernat Bonet
I need to add dynamic fields to ModelAdmin that are not part of the Model. Models: product: cod, des product_categories: cat, val I want to add val1, val2 in ProductAdmin Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

Re: Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread Vijay Khemlani
nginx + uwsgi + postgres here On Thu, Jul 14, 2016 at 10:43 AM, Rafael E. Ferrero < rafael.ferr...@gmail.com> wrote: > YES, I do !! > > > Rafael E. Ferrero > > 2016-07-14 11:16 GMT-03:00 : > >> >> Any one tried of Django Postgres with Ngnix? >> >> -- >> You received this message because you are

Re: Easiest way to ajax enable django forms

2016-07-14 Thread Derek
Not surprisingly, someone (well, more than one someone, actually) has already done this: https://realpython.com/blog/python/django-and-ajax-form-submissions/ or http://stackoverflow.com/questions/14099038/an-easy-way-to-submit-django-forms-using-ajax-jquery or https://aliteralmind.wordpress.com/2

Re: Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread Rafael E. Ferrero
YES, I do !! Rafael E. Ferrero 2016-07-14 11:16 GMT-03:00 : > > Any one tried of Django Postgres with Ngnix? > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and stop receiving emails from it, send an >

Any one tried of Django Postgres with Ngnix?

2016-07-14 Thread khaleela . visolve
Any one tried of Django Postgres with Ngnix? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group,

Re: Django REST - localization settings

2016-07-14 Thread monoBOT
If you want the django app to be timzone, localization and intentioanlization aware you have to set the propper settings in the settings.py 2016-07-14 11:07 GMT+01:00 Wequu A : > Hello, > > I am using django to create rest api with django-rest-framework. I will > not use its template system. My d

Re: I am not sure what “: command not found” means when I run virtualenvwrapper mkvirtualenv command

2016-07-14 Thread monoBOT
2016-07-13 20:00 GMT+01:00 Leo : > virtualenvwrapper ​You have to follow the setup process step by step ... you are probably missing the location of the wrapper command in your path. http://virtualenvwrapper.readthedocs.io/en/latest/install.html​ -- *monoBOT* Visite mi sitio(Visit my site):

Re: django_bootstrap_calendar and admin backend

2016-07-14 Thread ludovic coues
I haven't managed to reproduce your error. In fact, I managed to make it working. What output do you get when you hit http://localhost:8000/calendar/json/?from=146532400&to=149000240 ? Adjust the hostname and port to your dev server. 2016-07-14 11:54 GMT+02:00 Cronos Cto : > > > > Yes htt

Re: Django Custom Models

2016-07-14 Thread AT
Thanks for this. Now everything makes perfect sense. On 13/07/2016 09:18, Bruno A. wrote: > |defget_queryset(self,request):qs > =self.model.with_expired_objects.get_queryset() > ordering =self.get_ordering(request)ifordering:qs > =qs.order_by(*ordering)

Re: drop-in replacement for admin module foreign key relation UI

2016-07-14 Thread muin
when I use this method, I can only use its id, So how can it show related model's field which has been defined in __str__ On Tuesday, February 17, 2015 at 3:20:22 PM UTC+8, Jani Tiainen wrote: > > On Mon, 16 Feb 2015 15:03:05 -0800 (PST) > Jani Kajala > wrote: > > > Hi all, > > > > I have ton

Django REST - localization settings

2016-07-14 Thread Wequu A
Hello, I am using django to create rest api with django-rest-framework. I will not use its template system. My database backend is PostgreSQL where I set client_encoding to UTF8 and timezone to UTC. In settings.py there are options like USE_I18N, USE_L10N and USE_TZ. Do I need them? I don't u

Django invoice generation system

2016-07-14 Thread USMAN MALIK
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 automatic invoice based on the information in th

Django and aws elastic beanstalk

2016-07-14 Thread matthew
Hi, I’ve been directed to you for technical support regarding Django. I can get it working on my own computer running on the provided local server however when I follow any tutorial to host it on elastic beanstalk I get one of two of the following errors:     “ERROR: your requirements.txt is

分享一个用python和javascript开发的Django: advanced network website

2016-07-14 Thread Cherry Chen
大家好,我是内地的,想知道这个群里是否有来自中国内地,香港和台湾的朋友。希望大家喜欢我的分享,多多交流。 https://www.livecoding.tv/olivierpons/videos/JYpDK-django-advanced-network-website-cogofly-2 -- You received th

Re: django_bootstrap_calendar and admin backend

2016-07-14 Thread Cronos Cto
Yes https://github.com/sandlbn/django-bootstrap-calendar/ this is the one I am using. This are the parts I changed. \mysite\mysite\settings.p

Re: Easiest way to ajax enable django forms

2016-07-14 Thread ludovic coues
A JS library like Jquery or plain javascript. Listen to event, intercept & cancel them, make the query to django, insert or remove the appropriate item. 2016-07-13 20:25 GMT+02:00 J Singh : > I want functionality such as add/delete line items to an order , do not want > a form resubmit every time

Re: django_bootstrap_calendar and admin backend

2016-07-14 Thread ludovic coues
If you are using https://github.com/sandlbn/django-bootstrap-calendar/, I assume you have changed some things. For exemple, the module don't come with an admin.py file. All your change would be nice so we can replicate your problem :) 2016-07-13 22:33 GMT+02:00 Cronos Cto : > Hello Ludovic, what p

Re: template include for Django 1.8

2016-07-14 Thread Mike Dewhirst
On 14/07/2016 5:17 PM, James Schneider wrote: Includes the css file thanks James but it doesn't satisfy the pdf software. Back to the embedded styles copied and pasted. Oh well. I'd be curious as to why. There should be no difference between you c/p the styles in to the template vs. havi

Re: template include for Django 1.8

2016-07-14 Thread James Schneider
> > > Includes the css file thanks James but it doesn't satisfy the pdf software. > > Back to the embedded styles copied and pasted. > > Oh well. > I'd be curious as to why. There should be no difference between you c/p the styles in to the template vs. having them included via the template tag.

Re: template include for Django 1.8

2016-07-14 Thread Mike Dewhirst
On 14/07/2016 4:53 PM, James Schneider wrote: On Jul 13, 2016 6:54 PM, "Mike Dewhirst" mailto:mi...@dewhirst.com.au>> wrote: I need to include the contents of a css file in my template [1] The css content needs to exist within and
 tags so that th