Re: APP DEPLOYMENT

2023-08-09 Thread ivan harold
Maybe this will help. https://docs.djangoproject.com/ On Sunday, August 6, 2023 at 5:09:29 AM UTC+8 Dennis Kinanga wrote: > Someone to give me instructions on how to go about it please > > On Aug 6, 2023 00:07, "John McClain" wrote: > > Heroku is easy to implement and offers free tier > > On Th

Re: honest reviews

2023-08-09 Thread ivan harold
Put a little more details on the site and instead of putting a screenshot on the my project page you can photoshopped an image to make it look more dynamic and enhanced. On Monday, July 31, 2023 at 9:51:49 PM UTC+8 oluwafemi damilola wrote: > It'll advice that you add some extra informations to

Re: Post multiple data

2023-08-09 Thread ivan harold
maybe this will help " from django.conf import settings class Design(models.Model): human_readable_id = models.CharField(max_length=10, default=id_generator, db_index=True) manager = models.CharField(max_length=40) worker = models.ForeignKey( settings.AUTH_USER_MODEL, on_delete=model

Re: Logout time

2023-08-09 Thread ivan harold
Maybe this will help, check out this code. def login (): login_time = time.time() def logout (): logout_time = time.time() #To get the number of seconds the user spent on the platform, #subtract login_time from logout_time On Monday, July 31, 2023 at 6:12:23 PM UTC+8 Prashanth Patelc wrote: >

Re: DAILY,MONTHLY AND ANNUAL REPORTS

2023-08-09 Thread ivan harold
is this thread closed? resolved? On Saturday, July 22, 2023 at 8:08:48 AM UTC+8 Ryan Nowakowski wrote: > Check out the Sum() aggregate: > > https://docs.djangoproject.com/en/4.2/topics/db/aggregation/ > > > On July 21, 2023 12:41:48 PM CDT, Abdou KARAMBIZI > wrote: > >> Hello Friends, >> >> Ho

Re: CreateView for non default database

2023-08-09 Thread ivan harold
Did you try what David Nugent suggested? Did it worked? On Thursday, July 27, 2023 at 6:31:33 PM UTC+8 David Nugent wrote: > Database Router is the trick for this. Django calls this function to > determine which database the transaction will use based on the type of > operation requested, so y

Re: i learnt django basics but i want to learn django for become a master in django where can i get resourse

2023-08-12 Thread ivan harold
there are a lot of free learning website googe them and then learn from them do the small activities and try to create small projects. On Friday, August 11, 2023 at 11:42:03 AM UTC-5 ASAMOAH EMMANUEL wrote: > Here are premium resources for you: https://t.me/+VXTu7RXQ47VlM2Q0 > > On Thu, Aug 10,

Re: Django dynamic multiple databases

2023-08-12 Thread ivan harold
you can check this one out https://docs.djangoproject.com/en/4.2/topics/db/multi-db/ On Saturday, August 12, 2023 at 9:44:08 AM UTC-5 pankaj palmate wrote: > I want to creating saas based application containing one super admin and > rest will be customers where each customer will have their ow

Re: i learnt django basics but i want to learn django for become a master in django where can i get resourse

2023-08-12 Thread ivan harold
try different approach and then test them you'll earn quickly if you do simultaneous task at once. On Saturday, August 12, 2023 at 11:20:57 AM UTC-5 Obam Olohu wrote: > YouTube and chatGPT > > On Thu, Aug 10, 2023, 6:05 PM Peter Benjamin Ani > wrote: > >> Try getting the ebook (Django 4 by exam

Re: How to upload a folder in django?

2023-08-16 Thread ivan harold
just make sure to ink the path correctly. iex: ../page/page1/pag2/ etc.. On Monday, August 14, 2023 at 5:59:54 PM UTC-5 abu yahya Diab wrote: > Hi guys, I have a task to upload a folder in django. > So, what is the right way to do that? > and what if this folder has subfolder and these subfolders

Re: How is Django For Api book

2023-08-16 Thread ivan harold
*William S. **Vincent - REST APIs with Django* *I second this one this is a good read to boost your knowledge and learnings.* On Tuesday, August 15, 2023 at 4:30:50 PM UTC-5 Roy Lagg wrote: > > You could check out *William S. Vincent - REST APIs with Django. *The > book is easy to read and ha

Re: Timezone issue in when storing in DB

2023-08-16 Thread ivan harold
I recommend you reading this https://docs.djangoproject.com/en/4.2/topics/i18n/timezones/. On Wednesday, August 16, 2023 at 12:46:53 PM UTC-5 Madhusudhan Reddy wrote: > But I am using only fast api for APIs > > On Wed, 16 Aug 2023 at 3:45 PM, Ruby wrote: > >> You seem to be reinventing the whee

Re: Road Map for a newbie

2023-08-17 Thread ivan harold
try learning by going to certain websites that offer to learn, such as w3schools.com . On Thursday, August 17, 2023 at 10:15:03 AM UTC-5 Tesfaye Yimam wrote: > Hello all, > > This is my second day of learning Django. I am comfortable with python > (the basics and the OOP). > I wanted to have s

Re: hello forks, i need help

2023-08-17 Thread ivan harold
https://www.w3schools.com/django/django_admin_create_user.php check this one out. On Thursday, August 17, 2023 at 8:26:29 AM UTC-5 Abdoulaye SENE wrote: > i have created a group named adminis. how to create users in the group > using django admin > > -- You received this message because you a

Re: hello forks, i need help

2023-08-17 Thread ivan harold
not know > why. > > > Le jeu. 17 août 2023 à 16:48, Abdoulaye SENE a > écrit : > >> thanks a lot >> >> >> Le jeu. 17 août 2023 à 16:38, ivan harold a >> écrit : >> >>> https://www.w3schools.com/django/django_admin_create_user.php >>

Re: table bank_app_bank has no column named DOB

2023-08-19 Thread ivan harold
https://stackoverflow.com/questions/68269165/why-django-is-not-detecting-my-table-column Try reading this article, it may help you. On Saturday, August 19, 2023 at 3:05:57 AM UTC+8 meenu loranz wrote: > from django.contrib.auth.models import User > from django.db import models > from django.urls

Re: Unable to display records in form

2023-08-23 Thread ivan harold
Maybe this could help you. https://www.geeksforgeeks.org/django-crud-create-retrieve-update-delete-function-based-views/ On Monday, August 21, 2023 at 2:19:37 PM UTC-5 GLOBAL ENGINEERING ACADEMY wrote: > Hai, > I am trying to learn django on my own. I have created a small project of a > shop.

Re: Connect::: frontend react and backend django

2023-08-23 Thread ivan harold
check this one out https://forum.djangoproject.com/t/tutorial-how-to-combine-frontend-and-backend-for-python-web-developers/15214 On Wednesday, August 23, 2023 at 6:50:22 AM UTC-5 Muhammad Juwaini Abdul Rahman wrote: > Please delete this. You just exposed your DB host, name, and password. > > O

Re: ANYONE TO HELP ME ON HOW TO CREATE AN AUTOMATIC NOTIFICATION SYSTEM THAT SENDS A MESSAGE WHENEVER AN OBJECT IS CREATED OR MODIFIED

2023-08-23 Thread ivan harold
https://stackoverflow.com/questions/14543824/django-get-notified-of-all-changes-in-database check this one out, you might find some hints or answers. On Tuesday, August 22, 2023 at 9:03:12 AM UTC-5 Byansi Samuel wrote: > My views > from django.shortcuts import render def auto_notification(reque

Re: I Want To Save The Data In My Database Depending On The Catgory Of Data Chosen by User Like I Have 4 Lisitings Like APparetements, Food And Life, Car And Travelling if User Selects Appartements Th

2023-08-23 Thread ivan harold
You should prepare a different form that will submit the post to a specific table or database. you have to specify where the table or database the post will go. On Sunday, August 20, 2023 at 11:29:57 AM UTC-5 Hamza Bilal wrote: > {% extends 'home.html' %} > {% load static %} > {% block content

Re: I can1t install django-allauth

2023-08-25 Thread ivan harold
Try following this steps https://hyperhost.ua/en/wiki/ustanovka-i-zapusk-python-django-v-cpanel On Thursday, August 24, 2023 at 3:23:47 AM UTC+8 Juhász Tamás wrote: > Hello, > django-allauth is well installed and working in my development environment. > But I can't install it on the live server

Re: Help on Error while deploying a django app on render.

2023-08-25 Thread ivan harold
https://www.freecodecamp.org/news/deploying-a-django-app-to-render/ On Friday, August 25, 2023 at 9:00:08 PM UTC+8 Abdulrahman Abbas wrote: > Are you using virtual environment? > > On Thu, Aug 24, 2023, 22:37 ALINDA Fortunate > wrote: > >> Hello family some help i have this error >> >> Aug 25 1

Re: Help on Error while deploying a django app on render.

2023-08-25 Thread ivan harold
Try following these https://www.freecodecamp.org/news/deploying-a-django-app-to-render/ On Friday, August 25, 2023 at 9:00:08 PM UTC+8 Abdulrahman Abbas wrote: > Are you using virtual environment? > > On Thu, Aug 24, 2023, 22:37 ALINDA Fortunate > wrote: > >> Hello family some help i have this

Re: Regarding the Django ImportError Issue

2023-08-25 Thread ivan harold
I think it is better if you reply to the specific thread that has this issue. So that the concerned person will be able to see your reply immediately. On Saturday, August 26, 2023 at 1:29:58 AM UTC+8 abhijeet tripathi wrote: > > > Hello, > > I hope this message finds you well. I wanted to let y