Re: Difference

2017-02-15 Thread Luvpreet Singh
YES. Thank you very much for explaining this. On Thursday, February 16, 2017 at 12:20:45 PM UTC+5:30, Michal Petrucha wrote: > > On Wed, Feb 15, 2017 at 12:48:21PM -0800, Luvpreet Singh wrote: > > What is the difference between realted_name and related_query_name ?? > > One is used as the

Re: Difference

2017-02-15 Thread Michal Petrucha
On Wed, Feb 15, 2017 at 12:48:21PM -0800, Luvpreet Singh wrote: > What is the difference between realted_name and related_query_name ?? One is used as the name of the related manager on the remote side, the other is used to traverse the relationship in queryset filters from the remote side. Let

Re: How to integrate a python algorithm in a Django website

2017-02-15 Thread François Schiettecatte
David You don’t say which platform you are on, I use linux so use cron for this, works very well. François > On Feb 15, 2017, at 10:51 AM, david ekchajzer wrote: > > Hello, > > > I am a novice in web programming. Knowing well python I turned to Django. I > am on a

Difference

2017-02-15 Thread Luvpreet Singh
What is the difference between realted_name and related_query_name ?? -- 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 django-users+unsubscr...@googlegroups.com.

Re: counting words in word document works in python but not in django

2017-02-15 Thread agoulouzegouna
Tnak you very much. I tried the first version. and added the following code to my view when save. And it works. I am very grateful. Thanks a lot pathy = submitDoc.uploadDoc.path solution= get_docx_text(pathy) counted = len(solution.split()) On Wednesday, February

Re: Django documentation tutorial part 1

2017-02-15 Thread Dário Carvalho
Yeah, was that. 2017-02-14 17:32 GMT-02:00 Alexis Carmona : > Hey, I checked your code on githubt and i think that you missed yo import > your views in your urls file > > El lunes, 6 de febrero de 2017, 17:12:30 (UTC-4), Philip escribió: >> >> Hello, >> >> I am working

Re: How to integrate a python algorithm in a Django website

2017-02-15 Thread Shawn Milochik
It's not clear what aspect of this you are looking for help with. Can you be more specific? Have you written any code? If so, what is not working the way you expect it to? If you want to schedule something to run regularly, you can use Celery or make a Django management command that gets run by

error using runtests.py with a reusable application

2017-02-15 Thread Danielta
Hi, I'm developing unit tests for simple Models that interact with a MySQL database. The app is configured as reusable application as indicated here: https://docs.djangoproject.com/en/1.10/topics/testing/advanced/#testing-reusable-applications and the tests are created according to the

How to integrate a python algorithm in a Django website

2017-02-15 Thread david ekchajzer
Hello, I am a novice in web programming. Knowing well python I turned to Django. I am on a project where I have to retrieve data from a form and then process them every week. More precisely, I want to apply an algorithm (python) that allows to classify people with different criteria in

Re: About create a web GPS aplication

2017-02-15 Thread ludovic coues
Yes, sure Django provide out of the box a really nice user model and some extensive permission facility https://docs.djangoproject.com/en/1.10/topics/auth/default/#topic-authorization On 15 Feb 2017 6:23 p.m., "Pedro Araujo" wrote: > Greetings to all. > > This is my

About create a web GPS aplication

2017-02-15 Thread Pedro Araujo
Greetings to all. This is my firts topic in this group. I hope you can guide in the matter of the development of an application that allows to show and to follow up vehicles with installed GPS devices. There's a customer who provides this service; And requires a platform where it can have

Re: OpenFace Integration with Django

2017-02-15 Thread Shawn Milochik
It's probably some difference between environments. If you know your code works (it runs locally) and you're running the same versions of all your dependencies (Python, Django, Openface, etc.), then it doesn't *seem* too likely to be a major bug. It *could* be a bug -- not checking for and

RE: counting words in word document works in python but not in django

2017-02-15 Thread Matthew Pava
You may want to consider a different package or python function. Here is a way to extract only the text from a docx without using python-docx: http://etienned.github.io/posts/extract-text-from-word-docx-simply/ There is also another script that appears to be more accurate by taking headers and

OpenFace Integration with Django

2017-02-15 Thread RON MICHAEL
Hello! I'm 16 and I'm working on a project using Facial Recognition. I'm working on a face recognition API called OpenFace. Here's the link to Openface The way I did it was a imported the necessary files and folders required for OpenFace to work.

counting words in word document works in python but not in django

2017-02-15 Thread agoulouzegouna
Hello everyone, I have been struggling with a function for days. The following function opens a word document, count the number of words in it and returns it. but it just doesn't work in my django app. please help me *import os* *import re* *import docx* *from docx import Document* *cwd =

Re: Is it possible to save children before parents?

2017-02-15 Thread Melvyn Sopacua
On Wednesday 15 February 2017 19:17:55 Mike Dewhirst wrote: > On 14/02/2017 12:14 PM, Melvyn Sopacua wrote: > > P.S. I left two bugs in there, for now I'll leave them in as an > > exercise for the reader. > > Three bugs ... and 2 questions: > > 1. You obviously forgot the sugar! That's part of

Re: Is it possible to save children before parents?

2017-02-15 Thread Mike Dewhirst
On 14/02/2017 12:14 PM, Melvyn Sopacua wrote: P.S. I left two bugs in there, for now I'll leave them in as an exercise for the reader. Three bugs ... and 2 questions: 1. You obviously forgot the sugar! 2. With that proportion of Earl Gray the tea would have been far too strong. 3. There