Re: Tutorial Part 1

2020-05-09 Thread tejasri mamidi
Change mysite.urls , Path(' ',include('polls.url'))... You were not created any polls function your view and and not import any polls view in your mysite.urls On Sun, May 10, 2020, 01:15 Randy Zeitvogel wrote: > This is from my mysite/settings.py file: > > # Application definition > >

Re: No module named 'blog'

2020-05-09 Thread sahil khan
I think blog app is not there where manage.py file. please check and if your blog app's location is wrong delete blog app and create again app inside your project with correct location. New app command: Django-admin startapp On Sat, 9 May 2020, 7:26 pm sri vishva, wrote: > Try creating a

Django models for user

2020-05-09 Thread Irfan Khan
i am working on a LMS project, so if a tutor signed up and he can upload his tutorials from his account. And when rendering to template each user should have their list of tutorials. as well as he will upload new tutorials. How to design it dynamically. Please guide me. Thank you in advance.

Re: Multiple submit for same form refresh the page

2020-05-09 Thread Motaz Hejaze
try this : On Sun, May 10, 2020 at 1:01 AM Jim Illback wrote: > Nirantar, I think you could do this in your class (or even in your > function if you use that instead): > - Override (or use) the get() method > - Add a conditional such as this in that get() method: > if

Re: Multiple submit for same form refresh the page

2020-05-09 Thread Jim Illback
Nirantar, I think you could do this in your class (or even in your function if you use that instead): - Override (or use) the get() method - Add a conditional such as this in that get() method: if request.GET.get(‘wordcloud’): elif request.GET.get(‘bar’):

Re: Tutorial Part 1

2020-05-09 Thread Randy Zeitvogel
This is from my mysite/settings.py file: # Application definition INSTALLED_APPS = [ 'polls.apps.PollsConfig', 'django.contrib.admin', 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessions', 'django.contrib.messages',

Re: Charts view function suggestions

2020-05-09 Thread hajar
thank you so much Motaz Hejaze , Le samedi 9 mai 2020 03:05:05 UTC+1, Motaz Hejaze a écrit : > > 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' ,

install Microsoft visual C ++ 14.0 to be able to use mysqlclient in my Django projects

2020-05-09 Thread Anselme SERI
[image: nscreen.jpg] Hello, I have been struggling for a few days wanting to install Microsoft visual C ++ 14.0 to be able to use mysqlclient in my Django projects. I use Win10, Python 3.8.2 and Django 3.0.5. Has anyone ever encountered this problem and solved it? I need help. -- You

Re: Messages not appearing after creating an app for it in Django

2020-05-09 Thread Motaz Hejaze
In templates , you need to loop through marketing_message because its not a single object its a query result On Sat, 9 May 2020, 4:44 pm Ahmed Khairy, wrote: > I created an app called marketing app which customizes messages to be > written on top of website page. My problem is that these

Re: I am building an open source School Management System

2020-05-09 Thread johnf
Your website was very nice.  I liked the slider over. Johnf On 5/9/20 4:08 AM, ola neat wrote: Mine is for secondary school,  i have it on heroku https://dhope-sms.herokuapp.com/my-sms/ Still have somethings to tidy sha On Sat, May 9, 2020, 11:15 Adedotun Richard

Messages not appearing after creating an app for it in Django

2020-05-09 Thread Ahmed Khairy
I created an app called marketing app which customizes messages to be written on top of website page. My problem is that these messages are not showing when everything is configured and I don't know why is that might be the template because {{ marketing_message.message}} is only not showing

Re: Multiple submit for same form refresh the page

2020-05-09 Thread Kasper Laudrup
Hi Nirantar, On 09/05/2020 15.15, Nirantar Kulkarni wrote: I have multiple submit buttons for same form and each button refreshes the page I don't want it to refresh as it removes all changes made by one button to perform changes made by another please help me As far as I know, you can

Multiple submit for same form refresh the page

2020-05-09 Thread Nirantar Kulkarni
html template {% csrf_token %} {{name}} WordCloud Text_Analysis Sentiment Analysis I have multiple submit buttons for same form and each button refreshes the page I don't want it to refresh as it removes all changes made by one button to

Re: No module named 'blog'

2020-05-09 Thread sri vishva
Try creating a new app Blog using >>pip install django-admin startapp Blog And now replace the existing files with your contents On Fri, 8 May 2020, 4:22 pm Mukesh Badgujar, wrote: > First... I... created Project at my machine... then... uploaded to > github then from git i import

Re: Facing problem in creating login with EMAIL and creating OTP authentication.

2020-05-09 Thread Eric Kamara
Have you tried Django Two-Factor authentication ? On Sat, 9 May 2020 at 22:10, Utkarsh Gupta wrote: > I am doing a project in which I have to create a login app which only > logins with EMAIL ID. There is permission given to certain

Re: Tutorial Part 1

2020-05-09 Thread Nagaraju Singothu
Dear Sir, First add your app in settings.py,then after URLs.py from django.urls import path,include from ur(appname) import views On Sat 9 May, 2020, 5:42 AM Randy Zeitvogel, wrote: > I just started working with Django in the last couple of days. > First environment is Ubuntu

Re: Tutorial Part 1

2020-05-09 Thread tejasri mamidi
Did ,you place ur appname in installed app in settings On Sat, May 9, 2020, 05:42 Randy Zeitvogel wrote: > 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

Re: Tutorial Part 1

2020-05-09 Thread ola neat
Check your app url, does the url match with wath u have on your browser, On Sat, May 9, 2020, 01:59 Luqman Jr wrote: > 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

Re: Deploying Django Project on heroku

2020-05-09 Thread ola neat
Halo, i feel if u follow the step in this article https://www.codementor.io/@jamesezechukwu/how-to-deploy-django-app-on-heroku-dtsee04d4 u should b good On Sat, May 9, 2020, 01:15 Sunday Iyanu Ajayi wrote: > Hi Motaz, > Thank you so much. > Is today cool? > What time (in GMT+1) will be cool for

Facing problem in creating login with EMAIL and creating OTP authentication.

2020-05-09 Thread Utkarsh Gupta
I am doing a project in which I have to create a login app which only logins with EMAIL ID. There is permission given to certain email ids and only those email ids could login. After the login the user will be provided with an OTP on the required email for authentication. So, know how to go

Re: I am building an open source School Management System

2020-05-09 Thread Milos Miljkovic
Do you need any ui/ux/web design assistance on this? if yes, send any comments/ideas/needs you have in mind, I would love to contribute! Τη Τρίτη, 5 Μαΐου 2020 - 11:37:26 μ.μ. UTC+3, ο χρήστης Sherif Adigun έγραψε: > > I am currently building an open source school Management System on django >

Re: I am building an open source School Management System

2020-05-09 Thread ola neat
Mine is for secondary school, i have it on heroku https://dhope-sms.herokuapp.com/my-sms/ Still have somethings to tidy sha On Sat, May 9, 2020, 11:15 Adedotun Richard wrote: > @ola neat Can you share let us see what you have done so far? > > On Sat, May 9, 2020, 11:11 AM ola neat wrote: > >>

Re: I am building an open source School Management System

2020-05-09 Thread Adedotun Richard
@ola neat Can you share let us see what you have done so far? On Sat, May 9, 2020, 11:11 AM ola neat wrote: > I can contribute as I've built a sch mgt sys using django last yr > > On Fri, May 8, 2020, 21:57 Kasper Laudrup wrote: > >> An may Heiðrún provide a constant flow of mead >> >> On

Re: I am building an open source School Management System

2020-05-09 Thread ola neat
I can contribute as I've built a sch mgt sys using django last yr On Fri, May 8, 2020, 21:57 Kasper Laudrup wrote: > 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,

Re: Additional data added to the HTTP Get Request.

2020-05-09 Thread Eric Kamara
Hi Ronald, I don't think you are quoting your data-url tag properly in the html form. If you notice, you are missing the closing quotation(") which causes the to be added to the url. Regards, On Sat, 9 May 2020 at 18:58, Ronald Kamulegeya < ronald.kamulegeya.2...@gmail.com> wrote: > Hello

Re: Additional data added to the HTTP Get Request.

2020-05-09 Thread Ronald Kamulegeya
It is true! I have spend whole morning trouble shooting it! Thanks so much! On Sat, May 9, 2020 at 12:10 PM Shaheed Haque wrote: > I think you are missing a closing double quote on your data-url. > > On Sat, 9 May 2020, 09:59 Ronald Kamulegeya, < > ronald.kamulegeya.2...@gmail.com> wrote: >

Re: Additional data added to the HTTP Get Request.

2020-05-09 Thread Ronald Kamulegeya
Found out the cause of my troubles New Tenant I was missing " ...OMG...now working! On Sat, May 9, 2020 at 11:58 AM Ronald Kamulegeya < ronald.kamulegeya.2...@gmail.com> wrote: > Hello Members. > > I am a django beginner and i am going trough online tutorials. > > I have

Re: Additional data added to the HTTP Get Request.

2020-05-09 Thread Shaheed Haque
I think you are missing a closing double quote on your data-url. On Sat, 9 May 2020, 09:59 Ronald Kamulegeya, < ronald.kamulegeya.2...@gmail.com> wrote: > Hello Members. > > I am a django beginner and i am going trough online tutorials. > > I have the following view functions: > > # Create your

Additional data added to the HTTP Get Request.

2020-05-09 Thread Ronald Kamulegeya
Hello Members. I am a django beginner and i am going trough online tutorials. I have the following view functions: # Create your views here. def save_tenant_form(request, form, template_name): data = dict() if request.method == 'POST': if form.is_valid(): form.save()

Re: Domain Names and Web Servers

2020-05-09 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