I can't find the path of local_settings.py when installing the moocng in my directory

86 views
Skip to first unread message

Mgaed Elgazzar

unread,
Jul 18, 2013, 7:37:52 AM7/18/13
to open...@googlegroups.com
Hi , all


after installing  moocng  ... and when I want to create the DB schema

I can't find the path of local_settings.py when installing the moocng in my directory

I'm using python 2.6 and I checjed the moocng directory I can't find local_settings.py file
Add the following information into the /var/www/moocng/lib/python2.7/site-packages/moocng-X.Y.Z-py2.7.egg/moocng/local_settings.py file:

Oscar Carballal Prego

unread,
Jul 18, 2013, 7:40:15 AM7/18/13
to open...@googlegroups.com
Hi Mgaed,

The file local_settings.py has been renamed to local.py some time ago

2013/7/18 Mgaed Elgazzar <eng.m...@gmail.com>:
> --
> You received this message because you are subscribed to the Google Groups
> "OpenMOOC" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to openmooc+u...@googlegroups.com.
> To post to this group, send email to open...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/openmooc/7eb3a295-6b9d-47b8-8c31-b7bf2847ffbe%40googlegroups.com.
> For more options, visit https://groups.google.com/groups/opt_out.
>
>



--
Oscar Carballal Prego
ocarb...@yaco.es

Yaco Sistemas S.L.
http://www.yaco.es/
C/ Rioja 5, 41001 Sevilla
Teléfono +34 954 50 00 57
Fax +34 954 50 09 29

Mgaed Elgazzar

unread,
Jul 18, 2013, 8:05:56 AM7/18/13
to open...@googlegroups.com
thank you for ur help ... but still I can't find it in this directory

var/www/moocng/lib/python2.6/site-packages/moocng-0.0-py2.6.egg/moocng/

Sixto Martin

unread,
Jul 18, 2013, 8:14:53 AM7/18/13
to open...@googlegroups.com
If you are using the master branch you will see that the way that the configuration files are handled changed.

Now exists a settings folder. You will need to move your local_settings.py file to settings/local.py and add to the header:
from .common import *
DEBUG = False

(There is a setttings/local.py.example template)

Mgaed Elgazzar

unread,
Jul 18, 2013, 8:25:16 AM7/18/13
to open...@googlegroups.com
thank you

On Thursday, July 18, 2013 1:37:52 PM UTC+2, Mgaed Elgazzar wrote:
Reply all
Reply to author
Forward
0 new messages