Re: Integrating Machine Learning Model in Django

2019-04-11 Thread PARTH PATIL
Assuming that you have to do all the processing locally on your server computer. Best Regards, PARTH PATIL On Thu, 11 Apr 2019, 1:29 pm Aakash Baranwal, wrote: > Hi Everybody, > > I need a help in integrating a machine learning model with my website. > > I have a file upload button where I can

Re: Integrating Machine Learning Model in Django

2019-04-11 Thread Aakash Baranwal
Thanks a lot. I read about it and I think it will do the job for me. I plan to send a live video and chunk it after 1 hour time and then run the model on it. How to create a REST API for calling my model to run on the video and then another challenge is how to show the result video to the person

Re: Django 2.2.0 StatReloader not responding to filechanges

2019-04-11 Thread jacob
After more research, I noticed that Django is using the default timeout of 1sec for the pywatchman client. When I try running the watch with a higher timeout, I am able to start it successfully. I would suggest that Django makes the timeout configurable, or chooses a higher default value. On W

Re: Django 2.2.0 StatReloader not responding to filechanges

2019-04-11 Thread jacob
We have noticed the same thing. StatReloader is very unreliable (over docker) and Watchman timed out. I'm gonna try tweaking the Watchman config settings but it was the first time I have upgraded Django and had anything less than a perfectly smooth experience On Wednesday, April 10, 2019 at 5:0

Re: Changing Admin Interface in Django

2019-04-11 Thread Stephen L
You can look at JET. It's not like that, but it does look much better than Django's out of box admin interface. https://github.com/geex-arts/django-jet On Thu, Apr 11, 2019 at 11:58 AM Aayush Bhattarai wrote: > *Hey Buddy, Can I change my Django Interface. I don't like such interface > and I w

Re: Changing Admin Interface in Django

2019-04-11 Thread Chetan Ganji
Django CMS has a different admin site i.e. Layout and CSS is different. There are many admin site available from third party. Maybe you might like some of them. https://djangopackages.org/grids/g/admin-styling/ Other way to do is, list all the templates in the admin site app. Find out their css fi

Re: Changing Admin Interface in Django

2019-04-11 Thread Aayush Bhattarai
Yes I want to change everything. -- 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. To post to this group, send email to

Re: Changing Admin Interface in Django

2019-04-11 Thread Gerardo Palazuelos Guerrero
hi, You said you want to change the standard Admin screens. But you added an screenshot of a bootstrap template. So I assume you are interested on using an Admin template. If that's the case, what you can do is to implement the template: adding files as static files, etc. regards, -- Gerardo Pala

Re: Changing Admin Interface in Django

2019-04-11 Thread Sithembewena L. Dube
If you want to alter how the admin site looks, then that link is quite relevant. Kind regards, Sithu *Sent with Shift * On Thu, Apr 11, 2

Re: Changing Admin Interface in Django

2019-04-11 Thread Sithembewena L. Dube
What do you want to do? Saying you want to "change" the admin could mean anything. Kind regards, Sithu *Sent with Shift * On Thu, Apr 11,

Re: Changing Admin Interface in Django

2019-04-11 Thread Aayush Bhattarai
Yes I read but not related to my questions. On Thursday, 11 April 2019 09:58:30 UTC-7, Aayush Bhattarai wrote: > > *Hey Buddy, Can I change my Django Interface. I don't like such interface > and I want to change it. * > > [image: Capture.PNG] > *I want to change like this.* > *Thanks For Your Sup

Re: Changing Admin Interface in Django

2019-04-11 Thread Sithembewena L. Dube
I highly recommend the (excellent) documentation. If you have done the official tutorial, then check out the link below and take it from there. https://docs.djangoproject.com/en/2.2/intro/tutorial07/ Kind regards, Sithu *Sent with Shift

How can we initiate Multi User Project Management System

2019-04-11 Thread Balaji Shetty
High Can anyone please suggest me how can we initiate Multi User Project Management System> Scenarios is Like For Example, Suppose we have to develop University management System Level One- University Principal as Super User Level 2 - University May have N Department like Engg, Medical, Pharm

Changing Admin Interface in Django

2019-04-11 Thread Aayush Bhattarai
*Hey Buddy, Can I change my Django Interface. I don't like such interface and I want to change it. * [image: Capture.PNG] *I want to change like this.* *Thanks For Your Support* -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fr

Bad request 400

2019-04-11 Thread dlaparicio87
Saludos estoy tratando de publicar en mi red un sitio hecho en Django pero cuando escribo la url en mi navegador me da este error "Bad request 400" Este es mi virtual host ServerName miservidor.midominio.com WSGIScriptAlias / /var/www/html/Despacho_Prov/Despacho_Prov/wsgi.py #WSGIPythonHome /va

OSError: [WinError 126] The specified module could not be found

2019-04-11 Thread Dieu Donne Megnassan
I need help to figure this out. I'm a GeoDjango newbie and I've been trying to setup the geograpic libraries to no avail.I am following the documentation for windows all right, but everytime I runserver after setting GDAL_LIBRARY_PATH, I get this error: PS C:\users\charming\desktop\web\heritage

Django Engineers Bangalore(DEB) Telegram Group.

2019-04-11 Thread Nikhil Kanamadi
Hi All, Here is the brand new* Bangalore django developer community* group to connect each other in a simple click. All Bangalore Django developers please do* connect, code and build*. Link: https://t.me/joinchat/LH26CA9bRUMeajcJfs4rgA -- Best Regards, *Nikhil Kanamadi* -- You received t

Re: Set user permission via python

2019-04-11 Thread Nelson Varela
Correction: u, created = User.objects.get_or_create(username="user_name", defaults={' email': 'user...@example.com', 'password': 'blah'}) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Set user permission via python

2019-04-11 Thread Nelson Varela
Glad you've found the solution. One thing I wanted to advice you is to use the get_or_create method on User. For more detail check the django documentation. So: u, created = User.objects.get_or_create(username="user_name", defaults={ email='user...@example.com', password='blah'}) -- You received

Re: Django 2.1: Image upload form code displays no error - image not saved

2019-04-11 Thread kamibarut609
*NOTE: in the **handle_uploaded_file(**) function, the exact filename is: test.txt* On Thursday, 11 April 2019 15:11:03 UTC+2, kamiba...@gmail.com wrote: > > Hi, > > You will find the relevant files (models.py and views.py) on the following > link: https://pastebin.com/raw/UTfNRuXw > > The above

Django 2.1: Image upload form code displays no error - image not saved

2019-04-11 Thread kamibarut609
Hi, You will find the relevant files (models.py and views.py) on the following link: https://pastebin.com/raw/UTfNRuXw The above code works, the template is rendered with no errors. For some reasons, the image file is never saved. Note: I was inspired by the following Django developer findings

Re: Django + PostgreSQL Installation (pipenv install psycopg2)

2019-04-11 Thread Junaid Burke
Thanks Sandip and Danny, below commend worked for me. pipenv install psycopg2-binary Thanks > On Apr 11, 2019, at 2:08 AM, Sandip Nath wrote: > > Try the command: > pipenv install psycopg2-binary > > -- > You received this message because you are subscribed to the Google Groups > "Django

I am trying to create a search button in an input field . I have inserted an HTML code inside ma code but I hv got a syntax error. Can anyone go through my code and help me please . I need help my fel

2019-04-11 Thread Nanjuki Saidat
the beginning of the code # -*- coding: utf-8 -*- from __future__ import unicode_literals import logging from datetime import timedelta from django.db import models from crispy_forms.layout import Div from crispy_forms.helper import FormHelper from crispy_forms.layout import Submit

Re: Best way to modified third party app database restrictions?

2019-04-11 Thread Vinicius Assef
Try to set default_price.max_digits=9 Or you can create your own class extending DecimalField setting your defaults. On Thu, 11 Apr 2019 at 08:46, Yongky Tria Putra wrote: > Hello everyone, > > What is the best way to modified database field restrictions in third > party app (pretix)? Currentl

Best way to modified third party app database restrictions?

2019-04-11 Thread Yongky Tria Putra
Hello everyone, What is the best way to modified database field restrictions in third party app (pretix)? Currently, i want to change max_digits=7 to max_digits=9 in database below. default_price = models.DecimalField( decimal_places=2, max_digits=7, null=True, blank=True, verbose_name=_("Def

Re: Integrating Machine Learning Model in Django

2019-04-11 Thread panfei
Video analysis is a GPU intensive process, it may take a long time to process a whole video, I think you can use Celery to run the process as an asynchronous task, and use callback to trace the progress of the tasks . Celery can be easily integrated with Django, officially support. Aakash Baranwa

Integrating Machine Learning Model in Django

2019-04-11 Thread Aakash Baranwal
Hi Everybody, I need a help in integrating a machine learning model with my website. I have a file upload button where I can upload either an image or a video. After it is uploaded, I want to run my model into it and whatever is the result I want to display it and keep a record of the whole proce

Re: DB queries in django scripts

2019-04-11 Thread Derek
If you are using PostggeQL you may want to look at the query analysis produced by: https://www.postgresql.org/docs/current/pgstatstatements.html There are various third-party tools to gather output from the pg_stat_statements and make it available e.g. https://github.com/pganalyze/collector http

Re: Is django can run in FIPS mode:

2019-04-11 Thread Derek
Its clear that 28401 is not fixed. I see another project had a similar problem & used a work-around - https://pulp.plan.io/issues/3639 On Wednesday, 10 April 2019 13:12:13 UTC+2, Gowtham Shanmugam wrote: > > Hi All, > I am using graphite-web-1.1.4-1 and python-django-1.11.15. I am facing > so