Re: Domain Names and Web Servers

2020-05-08 Thread Vladimir Knobel
Have a look at divio.com, if you are in NZ perhaps not an option On Sat, May 9, 2020, 07:40 David Merrick wrote: > Ok to rephrase the Question whats a typical set up for Django Web for say > Website > Web Servers and Domain Name Servers. > > For example for Rails I could use Heroku fro the H

Re: Domain Names and Web Servers

2020-05-08 Thread David Merrick
Ok to rephrase the Question whats a typical set up for Django Web for say Website Web Servers and Domain Name Servers. For example for Rails I could use Heroku fro the Hosting https://www.heroku.com/ For the Domain Name Server I could use Domains4less https://www.domains4less.co.nz/ but Domain4les

Re: How to push data fetched from excel to DB using Django?

2020-05-08 Thread Motaz Hejaze
first , check your excel file , see what are the columns types .. then , make a model in django models.py and choose model fields to be the same type as each column in the excel file .. in your views.py make a function that will read the excel file from the file location on your machine .. in this

Re: How to push data fetched from excel to DB using Django?

2020-05-08 Thread ratnadeep ray
Thanks Derek for this. On Friday, 8 May 2020 19:20:31 UTC+5:30, Derek wrote: > > If you can, use an existing app: > > https://github.com/wq/django-data-wizard > > > On Friday, 8 May 2020 14:57:43 UTC+2, Kasper Laudrup wrote: >> >> Hi Ratnadeep, >> >> On 08/05/2020 14.03, ratnadeep ray wrote: >>

Re: How to push data fetched from excel to DB using Django?

2020-05-08 Thread ratnadeep ray
Hi Kasper, I want to read the data from excel and the retrieved data should be pushed to a DB, in my case it's MySQL. I believe the steps mentioned in the link https://www.geeksforgeeks.org/reading-excel-file-using-python/ , should be written in the views.py file. Am I right? Please clarif

Django and uwsgi and nginx is log error

2020-05-08 Thread Hella Nick
我的uwsig日志显示: clock source: unix detected number of CPU cores: 2 current working directory: /project/work/teacher writing pidfile to /project/work/teacher/uwsgi.pid detected binary path: /project/env/online/bin/uwsgi !!! no internal routing support, rebuild with p

Reg: django.urls.exceptions.NoReverseMatch patterns

2020-05-08 Thread Kishore Kumar Alajangi
Hi, In templates.html file if i am defining url pattern like "{ % url "app_name:app_name_function_name" %}. I am getting the following error: "django.urls.exceptions.NoReverseMatch patterns" in urls.py app name is : app_name in views.py file function name : function_name if i give hyphen

How to handle non-uploaded dynamic images ?

2020-05-08 Thread Dorian LE NET
Let's say I have a django app where users can display images by choosing among infinite parameters through a form. These images do not exist before the user generate them as they are built accordingly to its selection of parameters. Such images are dynamically and internally generated. Then they

Re: Charts view function suggestions

2020-05-08 Thread Motaz Hejaze
this way you'll query all the 'mail_items' table for each country , which is a time and resource consuming thing to do .. i think you need to make a separate model that has 2 columns 'country' , 'mail_items_count' , then you can make a signal when new item saved to 'mail_items' the signal will upda

Re: django celery and mqtt

2020-05-08 Thread Motaz Hejaze
please can you put your question in a more clearer way ? On Sat, May 9, 2020 at 3:33 AM Riska Kurniyanto Abdullah < alternative@gmail.com> wrote: > Dear all django users, > > 1. I want to attach my mqtt client script in django apps, where should I > put the script to launch them so the script

Re: Charts view function suggestions

2020-05-08 Thread hajar
hello! thank you so much for your advice , I want to try to use this view function below ,but for example if you see my models.py I have the class mail_items that contains country_origine , I was thinking to do a pie chart contains in the labels the countries names and in the data I want to mak

django celery and mqtt

2020-05-08 Thread Riska Kurniyanto Abdullah
Dear all django users, 1. I want to attach my mqtt client script in django apps, where should I put the script to launch them so the script can run as long task running. 2. In mqtt client i have task to save the message in database? how to make this task possible to handle with celery. Thanks in

Re: ModuleNotFoundError:

2020-05-08 Thread Jorge Gimeno
On Fri, May 8, 2020 at 5:12 PM nor sairi wrote: > AttributeError: module 'django.contrib' has no attribute 'gisproperty' > > During handling of the above exception, another exception occurred: > > Traceback (most recent call last): > File > "/home/sairi/anaconda3/lib/python3.7/site-packages/dja

Re: Tutorial Part 1

2020-05-08 Thread Luqman Jr
Hello Did you create urls.py under polls app? You should have urls.py under polls app which will list all urls fall under this app. Then share with us polls/urls.py and polls/views.py so that we can help more on this. On 9 May 2020, 03:11 +0300, Randy Zeitvogel , wrote: > I just started working w

Re: Help Desk Ticketing system

2020-05-08 Thread Motaz Hejaze
What do you need help with? On Sat, 9 May 2020, 2:11 am Duah Sylvester, wrote: > Hello Fellow Django developers, > I am starting a new project on my own, below is the information, I would > like you guys to help me tackle this, and get it done. > Create Helpdesk ticketing system in Django > The

Re: Deploying Django Project on heroku

2020-05-08 Thread Sunday Iyanu Ajayi
Hi Motaz, Thank you so much. Is today cool? What time (in GMT+1) will be cool for you? *AJAYI Sunday * (+234) 806 771 5394 *sunnexaj...@gmail.com * On Sun, May 3, 2020 at 11:05 PM Motaz Hejaze wrote: > Let us have a zoom meeting to fix it > > On Sun, 3 May 2020, 11:45 pm Sunday Iyanu Ajayi,

Tutorial Part 1

2020-05-08 Thread Randy Zeitvogel
I just started working with Django in the last couple of days. First environment is Ubuntu 19.10, python 3.7.5 and Django 3.1. Second environment is Fedora 31, python 3.7.5, and Django 3.0.6. In both cases after I create the polls app and try it out, I get this: Page not found (404) Request Me

ModuleNotFoundError:

2020-05-08 Thread nor sairi
AttributeError: module 'django.contrib' has no attribute 'gisproperty' During handling of the above exception, another exception occurred: Traceback (most recent call last): File "/home/sairi/anaconda3/lib/python3.7/site-packages/django/utils/autoreload.py", line 225, in wrapper fn(*args,

Help Desk Ticketing system

2020-05-08 Thread Duah Sylvester
Hello Fellow Django developers, I am starting a new project on my own, below is the information, I would like you guys to help me tackle this, and get it done. Create Helpdesk ticketing system in Django The goal is to create help desk ticketing system System should be built in Python Django You sho

Re: Charts view function suggestions

2020-05-08 Thread _M_A_Y_A_N_K_
Hi Hajar, Though you have multiple model, the main thing is to create a queryset. Once you have a queryset (which can be from one model or multiple model).. you should be able to use that queryset for Pie-Charts or any other charts. Also try to use Django-Chart.js, which is much more easier i feel

Charts view function suggestions

2020-05-08 Thread hajar Benjat
Hello everyone how are you doing ? I need your suggestions > I have to use a specific models , and I want to do a pie_chart view function based on this models , " but I don't know what to do I saw some view functions examples but they always use one class but here my classes a bit hard and I

Re: Domain Names and Web Servers

2020-05-08 Thread Kasper Laudrup
Hi David, On 08/05/2020 23.18, David Merrick wrote: Hi, I am interested in what web servers can be used for Django Web Apps and whether the Domain Name Servers are Static or Dynamic. Static Domain Name Servers (DNS) the IP Address doesn't change and Dynamic (DNS) IP Address does change. Th

Domain Names and Web Servers

2020-05-08 Thread David Merrick
Hi, I am interested in what web servers can be used for Django Web Apps and whether the Domain Name Servers are Static or Dynamic. Static Domain Name Servers (DNS) the IP Address doesn't change and Dynamic (DNS) IP Address does change. -- You received this message because you are subscribed to

Re: I am building an open source School Management System

2020-05-08 Thread Kasper Laudrup
An may Heiðrún provide a constant flow of mead On 08/05/2020 22.45, Sherif Adigun wrote: May Allah make it easy. Jazaakumullahu khayran On Fri, May 8, 2020, 8:24 PM Motaz Hejaze > wrote: I will contribute too insha Allah On Fri, 8 May 2020, 5:54 pm Hedric

Re: I am building an open source School Management System

2020-05-08 Thread Sherif Adigun
May Allah make it easy. Jazaakumullahu khayran On Fri, May 8, 2020, 8:24 PM Motaz Hejaze wrote: > I will contribute too insha Allah > > On Fri, 8 May 2020, 5:54 pm Hedrick Godson's, > wrote: > >> Successful cloned it. Looking forward to build this with you guys >> >> On Fri, 8 May 2020, 18:28 D

Re: Getting a error

2020-05-08 Thread Kasper Laudrup
Hi I'm the biggest so let that be your guide On 08/05/2020 13.49, Ravi Prakash wrote: Hi I'm fully bigger so we can not install the pip and Django.  anyone can guide how we can install. -- You received this message because you are subscribed to the Google Groups "Django users" group. To u

Re: I am building an open source School Management System

2020-05-08 Thread Motaz Hejaze
I will contribute too insha Allah On Fri, 8 May 2020, 5:54 pm Hedrick Godson's, wrote: > Successful cloned it. Looking forward to build this with you guys > > On Fri, 8 May 2020, 18:28 Duah Sylvester > wrote: > >> Thank you very much! I will get it done >> >> On Fri, May 8, 2020, 15:04 Sherif A

Re: I am facing this issue

2020-05-08 Thread sahil khan
Plz show our video on youtube and got your sollution on our youtube community errormania. Like,comment and subscribe https://youtu.be/QDk3rI_H3ks Ty broo On Fri, 8 May 2020, 5:58 pm Shubhanshu Arya, wrote: > May be your URL pattern is incorrect. > > On Friday, May 8, 2020 at 4:10:47 PM UTC+5:3

Watch "How to use domain email with gmail account - connect send and receive emails in few steps" on YouTube

2020-05-08 Thread Anonymous Patel
https://youtu.be/-_MYP6m37SA Connect your company domain email with a gmail. -- 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...@googlegrou

Re: I am building an open source School Management System

2020-05-08 Thread Hedrick Godson's
Successful cloned it. Looking forward to build this with you guys On Fri, 8 May 2020, 18:28 Duah Sylvester wrote: > Thank you very much! I will get it done > > On Fri, May 8, 2020, 15:04 Sherif Adigun wrote: > >> Thank you. Let's build on this and improve it. >> >> On Fri, May 8, 2020, 1:02 PM

Re: I am building an open source School Management System

2020-05-08 Thread Duah Sylvester
Thank you very much! I will get it done On Fri, May 8, 2020, 15:04 Sherif Adigun wrote: > Thank you. Let's build on this and improve it. > > On Fri, May 8, 2020, 1:02 PM Luqman Shofuleji > wrote: > >> Hi, >> >> I've just forked the repository on your github account. >> >> On Wed, May 6, 2020 at

Re: I am building an open source School Management System

2020-05-08 Thread Sherif Adigun
Thank you. Let's build on this and improve it. On Fri, May 8, 2020, 1:02 PM Luqman Shofuleji wrote: > Hi, > > I've just forked the repository on your github account. > > On Wed, May 6, 2020 at 4:21 PM Sherif Adigun > wrote: > >> Thanks. Checked. Good job. I think I've got more features than you

Re: Project Ideas

2020-05-08 Thread Deepti sharma
Hi, Well I did one of the course from PluralSight. It was creating a meeting planner project. Second was from Linkedin learninng: Portfolio using Django. On Fri, May 8, 2020 at 2:59 AM jill patel wrote: > Which two courses you did > Even I am a beginner and searching for sources > > On Fri, 8 M

Re: django.core.exceptions.ImproperlyConfigured: error is coming

2020-05-08 Thread Jorge Gimeno
On Fri, May 8, 2020 at 2:00 AM ratnadeep ray wrote: > I am new to Django and hence don't have much idea about it. I am trying to > create an app having the following contents in my view.py file: > > from django.shortcuts import render >> from fusioncharts.models import City >> def pie_chart(reque

Re: Getting a error

2020-05-08 Thread Derek
Hi Ravi You have typed: $pip --version It should be: pip --version When blogs or manuals use the $ sign, its usually to indicate the last character of the command prompt often seen on a Linux machine e.g. user@machine:/path/to/current/directory$ (so for a shortcut people just write $) HT

Re: How to push data fetched from excel to DB using Django?

2020-05-08 Thread Derek
If you can, use an existing app: https://github.com/wq/django-data-wizard On Friday, 8 May 2020 14:57:43 UTC+2, Kasper Laudrup wrote: > > Hi Ratnadeep, > > On 08/05/2020 14.03, ratnadeep ray wrote: > > Hi all, > > > > Can anyone let me know how to push the fetched data from an excel to any

Re: timezone doesn't change

2020-05-08 Thread Andréas Kühne
Hi, That is actually the expected behaviour - django.utils.timezone.now() should always return a UTC time. You should always communicate in the backend with UTC time - saving everything to the database and so on - it should always be in UTC. When you want to present a time in a template or to th

Re: How to push data fetched from excel to DB using Django?

2020-05-08 Thread Kasper Laudrup
Hi Ratnadeep, On 08/05/2020 14.03, ratnadeep ray wrote: Hi all, Can anyone let me know how to push the fetched data from an excel to any DB using Django? It's not very clear what you mean by "the fetched data". Have you fetched some data already? In which format? If you need to extract

Re: I am facing this issue

2020-05-08 Thread Shubhanshu Arya
May be your URL pattern is incorrect. On Friday, May 8, 2020 at 4:10:47 PM UTC+5:30, Gaurav Shrivastava wrote: > > RelatedObjectDoesNotExist at /account/edit/ > > User has no profile. > > Request Method: GET > Request URL: http://localhost:8000/account/edit/ > Django Version: 2.0.5 > Exception Typ

timezone doesn't change

2020-05-08 Thread mehrad nayeri
Hi, I'm using django 1.11.17 and I've changed TIME_ZONE in settings.py to 'Asia/Tehran' but django.utils.timezone.now() returns UTC time. How I have to fix it? Why it doesn't w

Re: hai everyone, i am getting error in sending email portion, after submitting i got nothing in my mail. if anyone please help me

2020-05-08 Thread Kasper Laudrup
Hi Yammuna, On 08/05/2020 13.59, yammuna pari wrote: Dear Kasper Laudrup , I am not using any error handling functions,  only sending email was not working I created a Contact form on my website built in Django but emails sent from the form do not seem to actually send. please check the cod

How to push data fetched from excel to DB using Django?

2020-05-08 Thread ratnadeep ray
Hi all, Can anyone let me know how to push the fetched data from an excel to any DB using Django? -- 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-user

Re: I am building an open source School Management System

2020-05-08 Thread Luqman Shofuleji
Hi, I've just forked the repository on your github account. On Wed, May 6, 2020 at 4:21 PM Sherif Adigun wrote: > Thanks. Checked. Good job. I think I've got more features than you. > > Latest commits now have authentications > > On Tuesday, May 5, 2020 at 9:37:26 PM UTC+1, Sherif Adigun wrote:

Re: Getting a error

2020-05-08 Thread Ravi Prakash
Hi I'm fully bigger so we can not install the pip and Django. anyone can guide how we can install. On Fri, May 8, 2020 at 5:04 PM Kasper Laudrup wrote: > Hi Ravi, > > Why are you posting the same screenshot again without any context? > > If you want someone to help you, at least try to read wh

Re: Getting a error

2020-05-08 Thread Kasper Laudrup
Hi Ravi, Why are you posting the same screenshot again without any context? If you want someone to help you, at least try to read what you're being told and if you don't understand, feel free to ask more questions. Consider reading this: https://stackoverflow.com/help/how-to-ask Kind regard

Re: hai everyone, i am getting error in sending email portion, after submitting i got nothing in my mail. if anyone please help me

2020-05-08 Thread Kasper Laudrup
Hi Yammuna, On 08/05/2020 08.40, yammuna pari wrote: Dear Kasper, Thanks for reply. I am not getting any error message even form also working well  but after submitting the fields are not going to email. You did write that you were getting an error, did you get an error without an error

Re: Getting a error

2020-05-08 Thread Kasper Laudrup
Hi Ravi, On 08/05/2020 12.41, Ravi Prakash wrote: Hi When I'm trying to install the pip at that time there is getting an error. Any buddy can help me. Try to look at exception message. That will most likely give you a hint to what is the cause of the error. You haven't included that in you

Re: No module named 'blog'

2020-05-08 Thread Mukesh Badgujar
First... I... created Project at my machine... then... uploaded to github then from git i import it to my namecheap shared hosting server, i created python app in that folder, then i run migrations cmds... but apps are not detected by django On Thu, 7 May, 2020, 6:09 pm Mohsen Pahleva

Re: App Dev wanted

2020-05-08 Thread ekong, emmanuel
I am available to work with you guys On Fri, 8 May 2020 at 11:40 AM, Kola Badmus wrote: > Hey I’m interested > Reach out +2347036497792 > > > On Tuesday, April 28, 2020, Arne Bollinger > wrote: > >> Hey, >> We came with a project out of a Covid-19 Hackathon that we could not >> finish. Now we w

I am facing this issue

2020-05-08 Thread Gaurav Shrivastava
RelatedObjectDoesNotExist at /account/edit/ User has no profile. Request Method: GET Request URL: http://localhost:8000/account/edit/ Django Version: 2.0.5 Exception Type: RelatedObjectDoesNotExist Exception Value: User has no profile. Exception Location: D:\python\projects\env\bookmarks\lib\

Re: App Dev wanted

2020-05-08 Thread Kola Badmus
Hey I’m interested Reach out +2347036497792 On Tuesday, April 28, 2020, Arne Bollinger wrote: > Hey, > We came with a project out of a Covid-19 Hackathon that we could not > finish. Now we want to launch as fast as possible as long as people are > still in need of social contact. > https://devpo

Getting error while importing xls file from django admin panel to csv for storing in database mysql gating error like

2020-05-08 Thread Chirag Patel
Imported file has a wrong encoding: 'charmap' codec can't decode byte 0x8d in position 1774: character maps to -- 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 d

Re: Django Lessons

2020-05-08 Thread David Merrick
I am asking about web hosting and appropriate Domain Name Servers On Fri, May 8, 2020 at 9:18 PM David Merrick wrote: > Same Domain Name Servers can only handle > static DNS server > https://ticket.cdmon.com/en/support/solutions/articles/706124-what-is-a-static-dns-server-and-where-to-modif

Re: Django Lessons

2020-05-08 Thread David Merrick
Same Domain Name Servers can only handle static DNS server https://ticket.cdmon.com/en/support/solutions/articles/706124-what-is-a-static-dns-server-and-where-to-modify-dns-records Some can Domain Name Servers can only handle https://en.wikipedia.org/wiki/Dynamic_DNS So do Apache (mod_wsgi),

django.core.exceptions.ImproperlyConfigured: error is coming

2020-05-08 Thread ratnadeep ray
I am new to Django and hence don't have much idea about it. I am trying to create an app having the following contents in my view.py file: from django.shortcuts import render > from fusioncharts.models import City > def pie_chart(request): > labels = [] > data = [] > queryset = City.o

Access filefield's/imagefield's url in template

2020-05-08 Thread 'MH' via Django users
Hi I just saw that when I pass not an object, but a queryset with values_list to a template, I cannot access a filefield like object.field_name.url, as url is a property. Can you give me advice how to get from the values_list to the url property? Best regards MH -- You received this message

Re: didn't return an HttpResponse

2020-05-08 Thread cosmos multi
I didn't know that view existed thank you very much, and the error is due to the misuse of the form, I understand thanks El vie., 8 may. 2020, 3:11 a. m., Andréas Kühne escribió: > Hi, > > A couple of pointers: > > 1. If you are using class based views and want a Form, try using the > FormView -

Re: didn't return an HttpResponse

2020-05-08 Thread Andréas Kühne
Hi, A couple of pointers: 1. If you are using class based views and want a Form, try using the FormView - you don't need to write that much code yourself (regarding validation of form and so on). 2. When you populate your context - you use a form class and not a form instance - you should be inst

didn't return an HttpResponse

2020-05-08 Thread cosmos multi
I am trying to populate a database, but when I send it it gives me the following error didn't return an HttpResponse this is the form class ProductForm(forms.ModelForm): name_product = forms.CharField( max_length=25, widget=forms.TextInput( attrs={ 'class': 'form-control', 'id': 'name_product', }

Re: hai everyone, i am getting error in sending email portion, after submitting i got nothing in my mail. if anyone please help me

2020-05-08 Thread yammuna pari
Dear Varun, This error was in home page only but In other page i got the output so i think email settings and port number was correct On Fri, May 8, 2020 at 3:43 PM Varun krishna <90.varunkris...@gmail.com> wrote: > Hi Yammuna pari, > > The issue you are experiencing might be because of the emai

Re: Django tutorial, HttpResponseRedirect, sending multiple arguments

2020-05-08 Thread Andréas Kühne
Cool! Keep learning - I think that django is probably one of the best COMPLETE frameworks there is - And now shortly with async support, it will be even better :) The way you can quickly prototype something that later on can continue into production is one of Pythons and Djangos strengths. Regar

Re: hai everyone, i am getting error in sending email portion, after submitting i got nothing in my mail. if anyone please help me

2020-05-08 Thread Varun krishna
Hi Yammuna pari, The issue you are experiencing might be because of the email settings. Check if the port numbers are correct. Also specify more details about how you are trying to send email( like gmail). They to recheck the smtp settings and that should resolve the issue. Regards, Varun. On Fr