Re: running django 1.9 problem

2016-07-13 Thread Sergiy Khohlov
Simple way is using virtual environment. In this case version of system is not important. I'm using Mac for coding without any issues. 12 лип. 2016 14:28 "Nicolas Favede" пише: > hi i am a bit used to python i have a mac coming with 2.7.6 version and > install 3.4 that

template include for Django 1.8

2016-07-13 Thread Mike Dewhirst
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 the pdf output software I'm using can see the styles. I can get the correct effect by copying and pasting the contents of the css file into the template but that

Re: django_bootstrap_calendar and admin backend

Hello Ludovic, what part of the code would you like me to post ? -- 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

Easiest way to ajax enable django forms

I want functionality such as add/delete line items to an order , do not want a form resubmit every time an item is added . What is the best way to do this without having to use angular/ react etc -- You received this message because you are subscribed to the Google Groups "Django users"

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

I am learning Linux and how to set-up a Django environment for the first time. I am not sure what “: command not found” means when I run virtualenvwrapper commands. Below is the command line sequence: root@intranet-django:/home/lv/# workon root@intranet-django:/home/lv/# mkvirtualenv

Re: Newbie question regarding uninstalling Django system-wide.

Thanks Mike On Tuesday, July 12, 2016 at 8:03:18 PM UTC-4, Mike Dewhirst wrote: > > On 13/07/2016 1:55 AM, Leo wrote: > > I am learning how to use Django. With my first attempt I did not use a > > virtual environment instead installed Django system-wide. Now I have > > learned to utilize

Django PostGis BUG?

I'm trying to create my database tables (*python manage.py migrate*) using Postgis. However it fails because the driver try to connect do default database "postgres" which is not my default name. I'm using django==1.8 and psycopg2==2.6.2 If i look the documentation of psycopg (

djangoCMS 3.3.1 released

Hello all, We've released djangoCMS 3.3.1 Version 3.3.1 fixes dozens of issues with djangoCMS providing additional stability for the 3.3.x milestone. It also offers a few notable improvements to UI/UX for end-users and additional capabilities for project developers. You can read more in our

Re: How manually, in Django 1.9, determinate all urls in a project without the django-extension`s command show_urls?

How about just to look at django-extension source code? It's open source after all... On Mon, Jul 4, 2016 at 8:48 AM, Seti Volkylany wrote: > I don`t found answer for Django 1.9 there >

Re: How do I fetch table values in pdf using django?

http://stackoverflow.com/questions/25665/python-module-for-converting-pdf-to-text 2016-07-12 10:19 GMT-03:00 Derek : > Here's a good tutorial: > > > https://assist-software.net/blog/how-create-pdf-files-python-django-application-using-reportlab > > > On Tuesday, 12 July

Django migration to postgres - 502 badgateway error in ngnix

Am migrating to postgres. My local configuration is runnign without ngnix and my complete migration porcess is working fine in my development machine. During deployment to production, where the ngnix is configured to run django - I get the error as: "upstream prematurely closed connection

[no subject]

-- | Tim Dyer | Sounds Like Design | 07739048398 | t...@soundslikedesign.co.uk -- 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

Re: How can I change the TabularInline "title" on Django Admin?

On Tue, Jul 12, 2016 at 2:42 PM, Fellipe Henrique wrote: > On Tue, Jul 12, 2016 at 1:52 PM, Ramiro Morales wrote: > >> Where the 'Conjunto de dados' seen in the screenshot title comes from? Is >> the code you posted actually in sync with it? > > > Sorry

Re: How can I change the TabularInline "title" on Django Admin?

On Tue, Jul 12, 2016 at 8:39 PM, Lachlan Musicman wrote: > There's a ticket for this in the tracker iirc, but I can't find it now. I > think the reason is because that's the name of the DB field - it's not > localizable (in so much as we don't localize db field names). > That

Re: django_bootstrap_calendar and admin backend

Code would be more useful to understand what is happening. Or you can use the django test client [1] to see what the view is returning as context. The list of event might be empty. [1] https://docs.djangoproject.com/en/1.9/intro/tutorial05/#the-django-test-client 2016-07-12 16:49 GMT+02:00

Re: install of django 1.9

Assuming you have created a virtual env with `virtualenv myvenv` * activate the virtualenv: `source myvenv/bin/activate` * install django: `pip install django` * create a django project: `djang-admin startproject myproject` * move into that project: `cd myproject` * create an app for your

Re: Django Custom Models

Hi, If you find yourself doing that a lot in your project, yes a custom manager is the way to go. Keep in mind that you can more then one manager attached to your model, but the order matters . For the admin purposes,