Re: Problem with DJANGO_SETTINGS_MODULE

2016-03-07 Thread James Schneider
On Mar 7, 2016 9:37 PM, "Dariusz Mysior" wrote: > > When I use Console system it work's using manage shell and next import but in PyCharm Edu 2 in Python Console I have this message like below I wright. In PyCharm Ipython run automaticly I am not using manage shell

Re: Problem with DJANGO_SETTINGS_MODULE

2016-03-07 Thread Dariusz Mysior
When I use Console system it work's using manage shell and next import but in PyCharm Edu 2 in Python Console I have this message like below I wright. In PyCharm Ipython run automaticly I am not using manage shell command. How can I set it in PyCharm? W dniu poniedziałek, 7 marca 2016 20:34:42

RegExp problems

2016-03-07 Thread jorrit787
I'm trying to replace *[URL]www.link.com[/URL]* with HTML with this regexp: topic.text = re.sub("(\[URL\])(.*)(\[\/URL\])", '$2', topic .text, flags=re.I) But it's giving me the following problems: 1. The $2 capture group is only able to be repeated once, so I get $2 instead of

Re: Absolute beginner question -- recipes

2016-03-07 Thread James Schneider
On Mon, Feb 29, 2016 at 4:51 AM, Simon Gunacker wrote: > @Mike: the attempts (at least the ones I have seen) to store hierarchical > data in relations [1] don't seem very intuitive to me. At least when it > comes to query the data. Anyway: I would appreciate to be

Re: Problem with DJANGO_SETTINGS_MODULE

2016-03-07 Thread James Schneider
On Mon, Mar 7, 2016 at 11:34 AM, Dariusz Mysior wrote: > I use Django 1.8 Python 3.4.3 and I have problem when i go to Ipython or > Python and I try use command from contact.forms import MessageForm2 I have > a error like below. I add that in wsgi.py and manage.py I have

Re: Python on the web

2016-03-07 Thread Brian Schott
Dude. Try django gigs.com or freelance.com Sent from my iPhone > On Mar 7, 2016, at 11:11 AM, Bob Gailer wrote: > > > On Mar 7, 2016 10:51 AM, "Gregg Turner" wrote: > > > > Hey, > > > > Need a simple python script put into a website. It uses the

Problem with DJANGO_SETTINGS_MODULE

2016-03-07 Thread Dariusz Mysior
I use Django 1.8 Python 3.4.3 and I have problem when i go to Ipython or Python and I try use command from contact.forms import MessageForm2 I have a error like below. I add that in wsgi.py and manage.py I have line os.environ.setdefault("DJANGO_SETTINGS_MODULE", "biblio.settings") where

GeoDjango: strip z dimension; force 2D

2016-03-07 Thread Jônatas Castro
In my project I need to import *shapefiles* and same some geometry. Some of these are *MULTIPOLYGON Z* type, but all Z coordinates are 0-value. When I try to save the geometry, I get the error: *"Geometry has Z dimension but column does not".* *What is the best way to strip the Z dimension?*

Re: Google App Engine in 2016

2016-03-07 Thread Silvan Spross
yes thx, I did take a look at it. the sandbox stuff looks interesting for my current problem, but the hole project seems a little bloated, no offence! maybe I'll be able to contribute, after I unterstand, whats should go on here. On Monday, March 7, 2016 at 5:32:30 PM UTC+1, Tim Graham wrote:

Re: Google App Engine in 2016

2016-03-07 Thread Tim Graham
Djangae is a database backend for App Engine that's under active development: https://github.com/potatolondon/djangae On Monday, March 7, 2016 at 10:33:16 AM UTC-5, Silvan Spross wrote: > > Hi everybody > > Does anyone use Google App Engine to run a "real" Django application? I > want to give

Re: Redis cache for Django

2016-03-07 Thread Dheerendra Rathor
I want to use redis as cache backend instead of memcached due to presence of set like data structures and persistent. On Mon, 7 Mar 2016 at 21:10 Avraham Serour wrote: > so do you want to use redis as a backend for cache instead of memcached or > do you want to use redis

Re: Python on the web

2016-03-07 Thread Bob Gailer
On Mar 7, 2016 10:51 AM, "Gregg Turner" wrote: > > Hey, > > Need a simple python script put into a website. It uses the requests module. > > $20? Any takers? Strictly speaking this isn't the place to buy services. Also we would need a lot more information. Can you guess

Python on the web

2016-03-07 Thread Gregg Turner
Hey, Need a simple python script put into a website. It uses the requests module. $20? Any takers? -- 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: Redis cache for Django

2016-03-07 Thread Avraham Serour
so do you want to use redis as a backend for cache instead of memcached or do you want to use redis complex data structures in your project? On Mon, Mar 7, 2016 at 4:50 PM, Dheerendra Rathor wrote: > Hey folks, > > This post is for getting opinions > > I want to use

Google App Engine in 2016

2016-03-07 Thread Silvan Spross
Hi everybody Does anyone use Google App Engine to run a "real" Django application? I want to give Google App Engine a try. I don't want to use Google Container Engine or Google App Engine Managed VM for now. I consider them as another option if using plain Google App Engine does not work out.

Redis cache for Django

2016-03-07 Thread Dheerendra Rathor
Hey folks, This post is for getting opinions I want to use Redis cache for my Django project. I found two apps for that Django Redis (https://github.com/niwinz/django-redis) and Django Redis Cache (https://github.com/sebleier/django-redis-cache). I was going through docs and both looks

Re: Single Page Application in Django

2016-03-07 Thread acheraime .
Django Rest Framework. A powerful framework to build REST API on top of Django. Here's the link http://www.django-rest-framework.org/ On Mon, Mar 7, 2016 at 9:19 AM, Bob Gailer wrote: > > On Mar 7, 2016 7:04 AM, "Avraham Serour" wrote: > > > > DRF > I'll

Re: Single Page Application in Django

2016-03-07 Thread Dheerendra Rathor
Trying googling DRF django or DRF python. Anyway it is Django Rest Framework :-) On Monday, 7 March 2016 19:50:35 UTC+5:30, bob gailer wrote: > > > On Mar 7, 2016 7:04 AM, "Avraham Serour" > wrote: > > > > DRF > I'll bite - what is DRF? Google does not help with that. >

Re: Single Page Application in Django

2016-03-07 Thread Bob Gailer
On Mar 7, 2016 7:04 AM, "Avraham Serour" wrote: > > DRF I'll bite - what is DRF? Google does not help with that. -- 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

Re: Single Page Application in Django

2016-03-07 Thread Avraham Serour
> As far as I understand the django philosophy, no, implementing something as a SPA is more of a concern to your frontend, if you use django solely as a backend (say using DRF for example) it won't matter if your client side is an SPA, mobile app or anything else, django will see requests and

Re: more than one field for aggregates? (ArrayAgg, StringAgg)

2016-03-07 Thread Tomasz Nowak
Thank you, Simon! W dniu poniedziałek, 7 marca 2016 05:26:39 UTC+1 użytkownik Simon Charette napisał: > > Hi Tomasz, > > Unfortunately I'm now pretty sure you are affected by an ORM bug when > annotating > over multiple multi-valued relationships[1]. > > Since this bug is 7 years old and