Error

2019-05-05 Thread Soumen Khatua
Hi Folks, I'm getting one error from models.py,here is my models.py. Error: from django.db.models import SubfieldBase ImportError: cannot import name 'SubfieldBase' models.py import uuid from django.conf import settings from django.db import models from django.db.models import Q, Value fro

How to design database for django rest api

2019-05-05 Thread RONAK JAIN
Hello, I am trying to start a new website in Django so the whole website my task is here make Django rest API. I have an angular template which is related to education + eCommerce there. So, I am not getting here how can I start to make Django rest API and what is my first step? because of mostl

Re: Handling multiple protocols in Channels 2

2019-05-05 Thread Fly Style
for example: from asgiref.sync import async_to_sync as a2s from channels.layers import get_channel_layer from channels_mqtt import settings event = {"type": settings.MQTT_PUBLISH, "text": {"topic": topic, "payload": payload, "qos": qos, "retain": retain}} a2s(channel_layer.send)(channel, event)

Re: Handling multiple protocols in Channels 2

2019-05-05 Thread Fly Style
you could send message to channel "mqtt" that defined in routing.py via django channels usage Andrea Conti於 2019年5月2日星期四 UTC+8下午11時17分02秒寫道: > > > First of all, thanks for responding. > > While the example does route the incoming MQTT messages to a consumer, the > consumer is still in the same

Re: Serving Files with Django

2019-05-05 Thread Joe Reitman
Greetings, Django can do all the file handling internally. You can create a model (database) with a FileField() as Kayode suggested. Using a CreateView class you can allow users to upload files from an input form. The model does not store the actual files. It stores a file path to where the fil

Help: how to fix FATAL Exited too quickly (process log may have details) ??

2019-05-05 Thread Rotense Gabriel
hello everyone? i keeps getting the error (*crazyproject FATAL Exited too quickly (process log may have details*) after i enter *sudo supervisorctl status crazyproject* this is my */etc/supervisor/conf.d/urban-train.conf* [program:crazyproject] > command=/home/rotense/bin/gunicorn_start > user

quill tries to import deprecated django.forms.util

2019-05-05 Thread Tim Johnson
Using python 3.7.2 and django 2.1.5 quill was installed via pip I'm getting the following: /quill/widgets.py", line 3, in from django.forms.util import flatatt ModuleNotFoundError: No module named 'django.forms.util' Indeed. In django with python 3.7.2 the module is now forms.utils

Re: Projects to work on

2019-05-05 Thread Pushkar Bhuse
Hello everyone, I’ve been working with Django for a little over 2-3 months and have used it for simple projects of my own. However I was looking for a project which incorporated Machine Learning and/or Data Science and Analytics. I have a fairly good knowledge about ML and would like to work on a p

Projects to work on

2019-05-05 Thread Pushkar Bhuse
Hello everyone, I’ve been working with Django for a little over 2-3 months and have used it for simple projects of my own. However I was looking for a project which incorporated Machine Learning and/or Data Science and Analytics. I have a fairly good knowledge about ML and would like to work on

Re: Projects to work on

2019-05-05 Thread rocky2sdat
I understand you've interested and well experienced in Django to do new projects. I've a beginner in Django and Python just now started learning. I'm helpless and don't know what to do. Could you please help me with the below simple project? I recently accept one of my office project. which is

Re: Projects to work on

2019-05-05 Thread Rob Gmail
Go ahead and email me if you could you’ll find my email in the group Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 2:51 PM, Emmanuel klutse wrote: > > Hello Rob, > Let me know what role I can play. Thx > > Emmanuel Klutse > Sent from my iPhone

Re: Projects to work on

2019-05-05 Thread Emmanuel klutse
Hello Rob, Let me know what role I can play. Thx Emmanuel Klutse Sent from my iPhone > On 5 May 2019, at 5:54 PM, Rob Gmail wrote: > > Maybe the three of us could work on the same project? > > Rob > 203-671-6514 > Sent from my mobile device, please excuse the typos. > >> On May 5, 2019,

Re: Projects to work on

2019-05-05 Thread Ahmed Ishtiaque
I also have a small chat project that you could possibly take a look at! It's called chatter and it's on PyPI: www.pypi.org/django-chatter It definitely needs a lot of tuning up to get to a properly usable state. Best, Ahmed On Sun, May 5, 2019, 1:33 PM Jamiu Olashile Salimon < tunedae1shi...@gm

Re: Projects to work on

2019-05-05 Thread Rob Gmail
Maybe the three of us could work on the same project? Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 1:52 PM, Emmanuel klutse wrote: > > Hello team, > I also started two months ago. Working on a really problem will be of great > help to me > C

Re: Projects to work on

2019-05-05 Thread Emmanuel klutse
Hello team, I also started two months ago. Working on a really problem will be of great help to me Can I work with you when you get a project. Sent from my iPhone > On 5 May 2019, at 5:40 PM, Rob Gmail wrote: > > I have a reports project that you might be interested in working on > > Ro

Re: Projects to work on

2019-05-05 Thread Rob Gmail
Yes but let’s talk about it privately via our own emails Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 1:43 PM, salimon jamiu olashile > wrote: > > Can you give me more details on it? To understand what you’re talking about. > >> On Sun, 5 May 2

Re: Projects to work on

2019-05-05 Thread salimon jamiu olashile
Can you give me more details on it? To understand what you’re talking about. On Sun, 5 May 2019 at 6:41 PM, Rob Gmail wrote: > I have a reports project that you might be interested in working on > > Rob > 203-671-6514 > Sent from my mobile device, please excuse the typos. > > On May 5, 2019, at

Re: Projects to work on

2019-05-05 Thread Rob Gmail
I have a reports project that you might be interested in working on Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 12:56 PM, Jamiu Olashile Salimon > wrote: > > Hello guys, > > I've been learning Django for about 6 months now. So far, it's been gr

Projects to work on

2019-05-05 Thread Jamiu Olashile Salimon
Hello guys, I've been learning Django for about 6 months now. So far, it's been great. Currently, I've been looking for a project to work on and its been difficult for me to decide. One that will challenge me to know more about Django. I will much appreciate any project suggestions. Regards.

Re: I'm very new to Django. Its possible to do the below project with Django?

2019-05-05 Thread pranayreddy788
I worked on Django from 2 years , you can use lot of Django features to build these kind of project. Use Django admin for faster development Post_save and decorator are very useful for ur project. Go through these concepts once in Django documentation Faster and easier way Django On May 5, 2019

I'm very new to Django. Its possible to do the below project with Django?

2019-05-05 Thread rocky2sdat
Recently I've signed in my office project which is for HR department. I want to create an admin panel and Agent view. We have a separate tool named 'PeopleSoft' In that tool somebody(agents) moved to bench it will automatically publish on my tool and an email triggered to Supervisor(Every agent

Re: Print data from Database in Django

2019-05-05 Thread anchal agarwal
Thanks alot , it worked !! On 05-May-2019 7:43 pm, "Thomas Lockhart" wrote: > Your context variable for all students is “stud”. Try changing that to > “Student” as you refer to it in your template. > > - Tom > > On May 5, 2019, at 7:09 AM, anchal agarwal > wrote: > > I want to display the name o

Re: Print data from Database in Django

2019-05-05 Thread Thomas Lockhart
Your context variable for all students is “stud”. Try changing that to “Student” as you refer to it in your template. - Tom > On May 5, 2019, at 7:09 AM, anchal agarwal wrote: > > I want to display the name of all the students from the Student model using > cards , i have set it all up but it

Print data from Database in Django

2019-05-05 Thread anchal agarwal
I want to display the name of all the students from the Student model using cards , i have set it all up but it isn't displaying anything, here are my files models.py from django.db import models from django.utils import timezone from datetime import date from ckeditor.fields import RichTextField

Re: Website slowed down drasticaly

2019-05-05 Thread Sally Middleton
Hi >From a generic debugging point of view, you need to find out the root cause of the performance decline. Ideally you need to isolate and test each part of the system in turn and look for the one which is causing the problem. 1. If it can be reproduced on a prod-like environment then that's