Re: Django queryset returning corrupted value

2017-10-07 Thread Web Architect
Hi Antonis, Thanks for your response: Following is the model: from treebeard.mp_tree import MP_Node @python_2_unicode_compatible [docs] class AbstractCategory(MP_N

Re: Hello All - Wordpress to Django Python Web Developer

2017-10-07 Thread wonder.nk...@gmail.com
Hi. I am new to django too and recently found this eye opening tutorials by Vitor Freitas ( https://simpleisbetterthancomplex.com/series/beginners-guide/1.11/) and I hope it will help. I wish the django's main tutorial may be changed to favor new people by explaining some of the concepts. Thanks

Django collectstatic command with settings flag returning incorrect file path for logging, throwing error.

2017-10-07 Thread Jason
I've recently started restructuring a project to use two scoops style configuration, with a `config` package, with `settings` inside it. Within that package, there's _base.py, development.py, staging.py and production.py. Since this is deployed as a WSGI app with Apache, I'm using a json file

Re: Django collectstatic command with settings flag returning incorrect file path for logging, throwing error.

2017-10-07 Thread Jason
Please ignore this posting. Apparently, Vim created a temp swap file for this when I was fine-tuning the staging environment specific paths and settings, and this particular update was never actually written to the file. After deleting the swap file and re-setting the paths, it's working now.

Django and Oracle 10g

2017-10-07 Thread paulo . sovienski
I'm new Here. I'm know Java and C#. I know php with laravel framework. But in Python I'm starting. I need to connect Python with my oracle 10g database, and with the cx_Oracle driver everything worked out. But I do not know how to use this cx_Oracle driver in Django's frameWork. Would someone pl

Re: Django and Oracle 10g

2017-10-07 Thread Constantine Covtushenko
Hi Paulo, Did you read https://docs.djangoproject.com/en/1.11/ref/databases/#oracle-notes? I did not use oracle backend in any of my projects. But with Django ORM one will never depend on DB type in common scenarios. I hope that helps. Regards, Constantine C. On Sat, Oct 7, 2017 at 8:51 PM, w