Re: Why so complicated :O??

2015-05-06 Thread Andrew Farrell
Hi Vesko, I might take a look at Harry Perceval's Test Driven Development with Python , which is available for free. Although the book focuses on teaching TDD, it teaches Django along the way and does so by focusing on getting the smallest piece working at a

Re: JSON data

2015-05-06 Thread Tim Chase
On 2015-05-07 02:14, palansh agarwal wrote: > I am making a django app in which I require to read json data from > an external API and display data, But it's working very slowly. Any > suggestions to speed up the process will be appreciated. which part is slow? the API, the processing of the

JSON data

2015-05-06 Thread palansh agarwal
Hello, I am making a django app in which I require to read json data from an external API and display data, But it's working very slowly. Any suggestions to speed up the process will be appreciated. Regards, -- PALANSH AGARWAL Y13UC185 Computer Science Engineering 2nd Year The LNM Institute of

Re: Why so complicated :O??

2015-05-06 Thread Carl Meyer
Hi Vesko, On 05/06/2015 12:47 PM, Vesko Nikolov wrote: > Hello everyone. So i have been trying to learn Django for the last > couple of months but have been seeing it quite hard. I have a decent set > of skills in PHP but i wanted to learn something newer and that is what > brought me here. So on

Re: Why so complicated :O??

2015-05-06 Thread Charly Román
Maybe you need a Python tutorial, not a Django tutorial. Charly Román Software Developer http://croman.mx 2015-05-06 13:47 GMT-05:00 Vesko Nikolov : > Hello everyone. So i have been trying to learn Django for the last couple > of months but have been seeing it quite hard. I

Why so complicated :O??

2015-05-06 Thread Vesko Nikolov
Hello everyone. So i have been trying to learn Django for the last couple of months but have been seeing it quite hard. I have a decent set of skills in PHP but i wanted to learn something newer and that is what brought me here. So on with the question. Where can i get a BASIC tutorial of how

Admin site in Django 1.8 tutorial giving CSRF errors

2015-05-06 Thread David Riddle
Hi, I am working through the Django 1.8 tutorial. I finished part one and am starting on part 2. I created an admin user but when I login to the /admin page I receive a 403 Error because CSRF verification failed. https://docs.djangoproject.com/en/1.8/intro/tutorial02/ Any idea what the problem

Re: inspectdb on different Oracle schemas

2015-05-06 Thread Stephen J. Butler
Yes, I've done this with a schema from a vendor app I wanted to read. Define additional database aliases, one per schema, and then when running inspectdb use the "--database" parameter with the alias name. On Wed, May 6, 2015 at 2:42 AM, Shekar Tippur wrote: > > > Hello, > >

Re: Firing an html file from within a view/template

2015-05-06 Thread Vijay Khemlani
The paths inside statcosti.html are absolute to the filesystem of your machine, so they don't make sense for the web server For example resolves to (asuming localhost at port 8000) http://localhost:8000/var/www/magazantea/templates/R2HTML/grafico2.png So your browser makes a request to

Firing an html file from within a view/template

2015-05-06 Thread Victor
Production Context, Ubuntu 14.04, Django 1.7.7 & Apache2 Dear experts, I'm stranded! What I would like to do is: 1) to provide an initial and final date to make some statistical computation in that period, 2) pass those dates to an R procedure which by means of the package R2HTML produces

Stale contenttype

2015-05-06 Thread Timothy W. Cook
Django 1.8.1, PostgreSQL 9.3, Python 3.4, Ubuntu I have a project that started under Django 1.4 and I have been migrating through the updates as they were published. At one point (I think under Django 1.5) I installed django-authtools (currently at 1.2.0) I am of course using Django migrations

Re: Choosing an auth module: Login via Facebook, Google, ...

2015-05-06 Thread Filipe Ximenes
I have some experience with python-social-auth. https://github.com/omab/python-social-auth It's a very good tool, well maintained, and with good support. The problem with it, is that it's a generic package, it works with a lot of frameworks and ORM configurations and this turns it a bit

Re: "RuntimeError: Error creating new content types."

2015-05-06 Thread Max Usachev
Try to migrate auth application first, and then others: manage.py migrate auth manage.py migrate среда, 29 апреля 2015 г., 14:12:33 UTC+3 пользователь Shubham Goyal написал: > > Facing the same problem. Any leads..?? > > On Saturday, April 18, 2015 at 2:38:56 AM UTC+5:30, Christophe Pettus >

run MQTT server on celery

2015-05-06 Thread Ashish Verma
Hi, I want to run MQTT server in celery and send it output to make Django app.. but I am not able to run server on celery,Can anybody help me,...Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and

Re: 'type' object is not iterable when I use any decorators

2015-05-06 Thread Shekar Tippur
Vijay, Thanks a lot. That helped. - Shekar On Sunday, 3 May 2015 15:27:58 UTC-7, Vijay Khemlani wrote: > > user_passes_test is for decorating functions, not classes > > Django Rest Framework has its own system for permissions (and you seem to > be already using it) > >

inspectdb on different Oracle schemas

2015-05-06 Thread Shekar Tippur
Hello, Is there a way to run inspactdb on different schemas? I have around 3 schemas and when I run inspectdb, I get details from just 1 schema. DATABASES = { 'default': { 'ENGINE': 'django.db.backends.oracle', 'NAME': '(DESCRIPTION = (ADDRESS = (PROTOCOL = TCP)(HOST =

Re: Choosing an auth module: Login via Facebook, Google, ...

2015-05-06 Thread rush
Hi, What kind of issues do you have?It should support 1.8 now. You can even check that support request for 1.8 is already closed at github (https://github.com/pennersr/django-allauth/issues/858). -- wbr,rush.   06.05.2015, 09:17, "guettli" :I need a library to let users loging

Choosing an auth module: Login via Facebook, Google, ...

2015-05-06 Thread guettli
I need a library to let users loging via Facebook, Google, ... I looked at this page: https://www.djangopackages.com/grids/g/authentication/ It's hard for me to decide which one to use. I have no special requirements except the end user experience should be good. The login for new users