Re: Edx LDAP Auth setting

2015-02-11 Thread 'Yip Terence' via Django users
Hi L, Actually, I has been input the LDAP string in /edx/app/edxapp/edx-platform/lms/envs/common.py. But there a two problems after the configuration. Firstly, the script can't get the %user value I need to hardcode the username / email in the connection string than I can login to edx. Seco

Re: Question about subdomains.

2015-02-11 Thread Sergiy Khohlov
Also one project can serve few domain names. 10 лют. 2015 17:22, користувач "Chen Xu" написав: > Hi > I am using Django to build a website. > > I saw some websites have www.ABC.com, support.ABC.com, and career.ABC.com. > I wonder how this is achieved. Are these 3 different apps in 1 project, or >

Re: Tests and read-only database

2015-02-11 Thread Tom Evans
On Tue, Feb 10, 2015 at 1:29 AM, Scot Hacker wrote: > My project access two databases, one of which is remote and read-only. When > running tests, Django wants to create a test_ copy of that db on the remote > host, but of course it lacks permission (I lack write access to the entire > db host). S

Re: Testing posts to S3

2015-02-11 Thread Tom Evans
On Wed, Feb 11, 2015 at 7:36 PM, Lee Hinde wrote: > I'm using django storages/boto to push json files to s3 where they are to be > read by a different app. > > I'd like to test the file push by using the Test Client to see if the file > is present on S3. > > client = Client() > r = client.get(url,

Re: Question about subdomains.

2015-02-11 Thread Tom Evans
On Tue, Feb 10, 2015 at 3:22 PM, Chen Xu wrote: > Hi > I am using Django to build a website. > > I saw some websites have www.ABC.com, support.ABC.com, and career.ABC.com. I > wonder how this is achieved. Are these 3 different apps in 1 project, or 3 > different projects. > > Thanks Technically:

Testing posts to S3

2015-02-11 Thread Lee Hinde
I'm using django storages/boto to push json files to s3 where they are to be read by a different app. I'd like to test the file push by using the Test Client to see if the file is present on S3. client = Client() r = client.get(url, content_type="application/json") In every case, r comes back as

Any Django developers in Chicago?

2015-02-11 Thread Brian Ray
Hey all, We are having a Django focused meetup with ChiPy (Chicago Python User Group) tomorrow night: RSVP http://chipy.org and/or http://www.meetup.com/_ChiPy_/events/220117890/ Talks will be recorded. Also looking for more talks. Hope to see some of you there. Warm Regards, Brian Ray --

Re: Django Query Set

2015-02-11 Thread C. Kirby
I'm sure someone can help you, but you need to post some more information to get useful support. Please post the models that you are dealing with, as well as maybe an example of the result you are trying to get. On Wednesday, February 11, 2015 at 8:20:59 AM UTC-6, Ajay M wrote: > > I'm on a Dja

Django Query Set

2015-02-11 Thread Ajay M
I'm on a Django Project, I'm stuck with this situation. I've 3 Models, records,users and towns. Records are posted by users who belongs to towns. User may be a mobile user or a web user. Primary key of users is a foreign key in records, primary key of towns is a foreign key in users. I need to

Re: Question about subdomains.

2015-02-11 Thread Bruno Barcarol Guimarães
It depends if there is a need to separate the code from the sites on three projects. If the code is not so complex and you can fit them all on a single project, you can just configure the web servers to serve the same project on the three domains. On Tuesday, February 10, 2015 at 3:22:29 PM UTC, C