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 Thu 20 Jul 2023 at 10:57, Abdou KARAMBIZI  wrote:
>
>>
>> Hello friends,
>>
>>
>> I want to know where I can upload my django projects for the reason of 
>> showing them as my technical experience.
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CABnE44xYg2JqtHVUHMkBkpS81jmQyqfehid3q-%2BnEJe532mrhA%40mail.gmail.com
>>  
>> 
>> .
>>
> -- 
> John McClain
>
> Cell: 085-1977-823
> Skype: jmcclain0129
> Email: jmccla...@gmail.com
>
> -- 
> 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...@googlegroups.com.
>
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/CAN-hv_qV59Y_pKbGZzccO3AjKsH0hM1vZtE4fj2U0nK6yc_XWQ%40mail.gmail.com
>  
> 
> .
>
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4783de91-6ed9-42dc-997d-9e009cf9b9ecn%40googlegroups.com.


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 the page, also the 
> image takes at least 5 seconds to load and the icon is tiny on mobiles 
>
> On Mon, 31 Jul 2023, 14:48 marvelous,  wrote:
>
>> Oh ok then I will put that into consideration thank you very much
>>
>>  
>>
>> Sent from Mail  for 
>> Windows
>>
>>  
>>
>> *From: *Ogunlade Stephen Olayide
>> *Sent: *Monday, July 31, 2023 2:11 PM
>> *To: *django...@googlegroups.com
>> *Subject: *Re:
>>
>>  
>>
>> I will prefer you make the About page the home/landing page
>>
>>  
>>
>> On Mon, Jul 31, 2023 at 2:00 PM marvelous  wrote:
>>
>>  
>>
>> Hello guys I just finished building out my portfolio and I would 
>> appreciate if you give me your honest reviews heres the link 
>>
>>  
>>
>> https://marvel-9gdg.onrender.com/
>>
>>  
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/D11D5F79-FE3E-43CC-B82F-FA665B0E4414%40hxcore.ol
>>  
>> 
>> .
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CANyXpooYQoA2tuytkCFUj1KEpeZOfF5Gcc37cVWHY2eTgHV45w%40mail.gmail.com
>>  
>> 
>> .
>>
>>  
>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/3FA1C223-C03A-483B-9604-9A682730D0C4%40hxcore.ol
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/05d29578-475d-495d-85a9-dec5568cee72n%40googlegroups.com.


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=models.CASCADE, 
*to_field='username'* ) "

On Wednesday, August 9, 2023 at 6:11:59 AM UTC+8 Hendry Revenus wrote:

> Thank you 
>
> On Tue, 8 Aug 2023, 14:57 Prashanth Patelc,  wrote:
>
>> I'm not able to send multiple data in front -end .
>>
>> On Tue, Aug 8, 2023, 5:21 PM Mz Gz  wrote:
>>
>>> Check the object sent from frontend using developer tools in browser.
>>>
>>> If the object is sent correctly to backend.
>>>
>>> Just access is from POST dict
>>>
>>> On Tue, 8 Aug 2023, 1:19 pm Prashanth Patelc,  
>>> wrote:
>>>
 Hi all, 

 I'm sending multiple rows data through html but I'm unable to save data 
 in django I'm not receiving proper data.how to send multiple shifts names 
 and times through ajax or html in django.

 I'm adding multiple shift name and in-time out-time .

 Please find the attached screenshot 

 -- 
 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...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/CAMCU6CqWJme8fg-JuZJ%2BQnTBk63_f4%3DZMYTO7GFnRChOMt1teQ%40mail.gmail.com
  
 
 .

>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAHV4E-fOikH7dWcJYkjyOQobj57%2BJ5Zef0y3PzfsoJN0gVgEhQ%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAMCU6CrNoyoRykrSmABgwWwpWL5o-bhqpcMpL4YPj-v%3D%2BsA0tA%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e7974823-dfa3-4a36-9c15-1ea91ba875dan%40googlegroups.com.


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:

> Thank you all.
>
>  Thank you # madhusudan (I got on idea through you shared the code)
>
> On Fri, Jul 28, 2023, 8:16 PM Madhusudhan Reddy  
> wrote:
>
>> To get Logout time based on login time,
>>
>> login time = some thing
>>
>> logout time = login time + 8 hours
>>
>> use datetime timedelta module in python, 
>>
>> >>> CODE <<<
>> from datetime import datetime, timedelta
>> login_time = datetime.now()
>> logout_time = login_time + timedelta(hours=8)
>> >>> CODE <<<
>>
>>
>>
>>
>>
>>
>>
>>
>>
>> On Fri, 28 Jul 2023 at 20:05, Prashanth Patelc  
>> wrote:
>>
>>> Hi all,
>>>
>>> How to get logout time based on login time in python?
>>>
>>> I'm storing hour in one column
>>> Eg ; hour
>>> 8
>>> Based on 8 Calculate logout time
>>>
>>> My login time 10:00:00
>>>
>>> I need 6: 00:00 (based 8)
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAMCU6Cpe32Pcs5PAmbx8LDcJzqqPwuhJVzrz%2B%3D67-tEMBychOw%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>>
>>
>> -- 
>> Best regards,
>> Madhusudhan
>> +91 90007 79457 <+91%2090007%2079457>
>> Gmail | LinkedIn 
>>
>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAFwQctLwNxagOX-QKVUdp58gk4px0M_qftqU3rnHayGaJ9BjAw%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c727f577-f89c-4a28-bef9-072093667f41n%40googlegroups.com.


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,
>>
>> How can I get weekly,Monthly and annual reports? from the following model.
>> I want to get the total amount paid in the week,month and year 
>>
>>
>> class Payments(models.Model):
>> id = models.AutoField(primary_key = True)
>> amount = models.IntegerField()
>> paidon = models.DateField(auto_now=True)
>>
>> def __str__ (self):
>> return self.id
>>
>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9f84c4fd-0c83-463a-a39f-ff089b233211n%40googlegroups.com.


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 you can separate which database is selected for 
> reads, writes and migrations.
>
> Regards,
> David
>
> On Wed, Jul 26, 2023 at 1:11 PM Muhammad Juwaini Abdul Rahman <
> juw...@gmail.com> wrote:
>
>> Hi all,
>>
>> I have two different databases as below:
>>
>> DATABASES = {
>> 'tvet': {
>> 'ENGINE': 'django.db.backends.sqlite3',
>> 'NAME': BASE_DIR / 'db.sqlite3',
>> },
>> 'default': {
>> 'ENGINE': 'django.db.backends.mysql',
>> 'NAME': 'jpk',
>> 'USER': 'jpkuser',
>> 'PASSWORD': 'jpkpassword',
>> 'HOST': 'localhost', # Or an IP Address that your DB is hosted on
>> 'PORT': '3306',
>> }
>> }
>>
>> When I want to create a CreateView, I am unable to save it.
>>
>> This is my CreateView:
>>
>> class BiodataCreateView(CreateView):
>> template_name = 'bio_create.html'
>>
>> # model = Biodata.objects.using('tvet').all()
>> def get_queryset(self):
>> return Biodata.objects.using('tvet').all()
>>
>> fields = 'name', 'hobby'
>>
>> def get_success_url(self):
>> return reverse('biodata-list')
>>
>> Any idea on how to do it?
>>
>> -- 
>>
> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/4985efd7-437c-432e-86c8-9a902430513fn%40googlegroups.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ef988bc0-20e3-4e9b-90e5-b7d1d8abf5b3n%40googlegroups.com.


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, 2023 at 8:36 PM Chisom Iheanacho  
> wrote:
>
>> hello chief..  I have Django 3 by example, can I follow the projects in 
>> it too? 
>> pls can I get your WhatsApp number too? 
>>
>> On Thu, Aug 10, 2023, 6:05 PM Peter Benjamin Ani  
>> wrote:
>>
>>> Try getting the ebook (Django 4 by example) and build projects in it, 
>>> from there u are good to go 
>>>
>>> On Thu, 10 Aug 2023 at 18:01, Basith  wrote:
>>>
 Any sample projects? any free resources?

 On Thursday, 10 August 2023 at 22:25:30 UTC+5:30 John Ayodele wrote:

> Build a good portfolio and push them to GitHub
>
> On Thu, 10 Aug 2023 14:23 Peram Ashokkumar,  
> wrote:
>
>> i have been  learning python fullstack since in the 3 months  in our 
>> institute that mentor tought only basic  but i want to get job as 
>> experience candidate because i have three years of gap please  any 
>> respond 
>> to this 
>>
>> -- 
>>
> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/3d1a0e32-5417-42c9-a2ec-c3caee1e24f7n%40googlegroups.com
>>  
>> 
>> .
>>
> -- 
 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...@googlegroups.com.
 To view this discussion on the web visit 
 https://groups.google.com/d/msgid/django-users/ddfe7754-9b56-4664-9154-84d26a51fc53n%40googlegroups.com
  
 
 .

>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAPxt_2XZnUk4cjnS%2BgdxAT6%3DuPsDb3qZqozCYx022ANA7uVpEw%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAFX7pJ0zACL%3Dpv9ENfBcGpGDA2UpneP1rMZBRt43mOzHxVHAYA%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1b64eb0a-b456-4045-be4c-2a75648302c0n%40googlegroups.com.


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 own database 
> .want multiple database with dynamic credentials based on request.I want 
> the database to be identified from the subdomain provided.Is this possible 
> using django ? If yes how ? If not what's the option? 
> I did read about the django tenants but it is schema based but I want 
> multiple database approach while creating tenants.(database must be 
> identified from subdomains ) 
>
> Thanks and regards,
> Pankaj palmate 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/25e13400-be07-48da-85f6-a3b9f2d12b78n%40googlegroups.com.


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 example) and build projects in it, 
>> from there u are good to go 
>>
>> On Thu, 10 Aug 2023 at 18:01, Basith  wrote:
>>
>>> Any sample projects? any free resources?
>>>
>>> On Thursday, 10 August 2023 at 22:25:30 UTC+5:30 John Ayodele wrote:
>>>
 Build a good portfolio and push them to GitHub

 On Thu, 10 Aug 2023 14:23 Peram Ashokkumar,  
 wrote:

> i have been  learning python fullstack since in the 3 months  in our 
> institute that mentor tought only basic  but i want to get job as 
> experience candidate because i have three years of gap please  any 
> respond 
> to this 
>
> -- 
>
 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...@googlegroups.com.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/3d1a0e32-5417-42c9-a2ec-c3caee1e24f7n%40googlegroups.com
>  
> 
> .
>
 -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/ddfe7754-9b56-4664-9154-84d26a51fc53n%40googlegroups.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAPxt_2XZnUk4cjnS%2BgdxAT6%3DuPsDb3qZqozCYx022ANA7uVpEw%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a9af0a57-e087-4229-8866-f9db8423n%40googlegroups.com.


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 have subfolders.

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3d1b1ae2-1adc-48c1-9bc1-28baed3573ben%40googlegroups.com.


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 has industry-standard tips and guides.
> On Tuesday, August 15, 2023 at 1:59:53 AM UTC+3 abu yahya Diab wrote:
>
>> I have good knowledge in API, you can say beginner knowledge in API.
>> I'm trying to delve deeper in API, when I check the Django For Api book 
>> content, I noticed .that its not that professional book
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4facb3b0-6c39-465d-bb24-18948a44b2c9n%40googlegroups.com.


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 wheel, Django already has timezone support 
>> when you set USE_TZ 
>>  to 
>> True, 
>> Note that your TIME_ZONE 
>>  
>> would 
>> be the default timezone for your project.
>>
>> With everything set, you can now use .activate() 
>> 
>>  available 
>> in `django.utils.timezone` to get the current time in your preferred 
>> timezone.
>>
>> I hope this answers your question.
>>
>> Best regards
>> Reuben Sunday 
>>
>> On Wed, Aug 16, 2023 at 3:35 AM Madhusudhan Reddy  
>> wrote:
>>
>>> Hi All,
>>>
>>> I am trying to store the date with the timezone. 
>>> for example, my servers are in Mumbai, when my servers are trying to get 
>>> the time of America/Detroit. it is not able to get proper time
>>>
>>> Here is the snippet and details
>>> [image: Screenshot from 2023-08-16 08-00-21.png]
>>> def get_created_at(timezone):
>>> local_tz = pytz.timezone(timezone)
>>> print(datetime.utcnow())
>>> created_at = local_tz.localize(datetime.utcnow()).astimezone(tz=pytz.
>>> timezone(timezone))
>>> return created_at
>>>
>>>
>>> -- 
>>> Best regards,
>>> Madhusudhan
>>> +91 90007 79457 <+91%2090007%2079457>
>>> Gmail | LinkedIn 
>>>
>>>
>>> -- 
>>> 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/CAFwQctLvw9KinV8a%3DVTysi_NSNJfu3rodBoBPCY5Cih_ih-DGQ%40mail.gmail.com
>>>  
>>> 
>>> .
>>>
>> -- 
>> 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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAPUD46vztpvyb8P21vnBf9Wt2d2r6NQ-hgPDD3kyCc%2BpZu3siA%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a82a86a8-1ef6-480e-a8dd-5ef65476a78en%40googlegroups.com.


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 some guidance from this community to learn Djanog by 
> taking small steps in a consistent way. 
> Any one who has a road-map, especially if you tried it and worked for 
> you,  that will greatly help me in the learning process of Django. So, 
> please drop me a message here. 
> I'm happy to be here.
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c0012d78-357a-4135-81e4-e42fd8a207f7n%40googlegroups.com.


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 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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com.


Re: hello forks, i need help

2023-08-17 Thread ivan harold
https://www.w3schools.com/django/django_admin_include_members.php
explore the site maybe what you are ooking for is in there 
check this one. 

On Thursday, August 17, 2023 at 11:53:00 AM UTC-5 Abdoulaye SENE wrote:

> the problem is i don't see users  in admin.i only see groups. do 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 
>>> 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 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...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/78b972b4-dee8-4a69-bc40-fd804f3dc4d3n%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>>
>>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5a1d8fa0-8eeb-4502-a9dc-b6b3abbfe3f0n%40googlegroups.com.


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 import reverse
> # Create your models here.
>
> class bank(models.Model):
> name = models.CharField(max_length=255)
> DOB = models.DateField()
> age = models.IntegerField()
> gender = models.CharField(max_length=10)
> phone_no = models.CharField(max_length=10)
> mail_id = models.EmailField(max_length=25)
> address = models.CharField(max_length=255)
> district = models.CharField(max_length=100)
> branch = models.CharField(max_length=100)
> account_type = models.CharField(max_length=100)
> # materials_provided = models.CharField(max_length=100)
>
>
> def __str__(self):
> return self.name
>
> This is my model.py page. And i can see this table and all fields in my 
> database. But while running show me the operational error that no column 
> named DOB. How can i fix this?
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/1aaf9e41-e11c-43bb-bda9-17b609814059n%40googlegroups.com.


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. I am able to insert items but when i try to fetch items for updating 
> / deleting, the form is not populated . only the primary key is shown.
>  def updatedeleteitem(request):
> item=None
> updatedeleteform=None
> if request.method=='POST':
> keysearchform=KeysearchForm(request.POST)
> if keysearchform.is_valid():
> itemcode=keysearchform.cleaned_data['itemcode']
> try:
> item=Item.objects.get(itemcode=itemcode)
> updatedeleteform=UpdatedeleteForm(request.POST, 
> instance=item)
>
> if updatedeleteform.is_valid():
> updatedeleteform.save()
> transaction.commit()
> return redirect('itemlist')
> except Item.DoesNotExist:
> pass
> else:
> keysearchform=KeysearchForm()
> 
> return render(request,'updatedeleteitem.html',
>   {'keysearchform' : keysearchform,
>'updatedeleteform' : updatedeleteform, 'item' : item})
> ___
> class UpdatedeleteForm(forms.ModelForm):
> class Meta:
> model=Item
> fields=['itemcode', 'itemname', 'unitpr', 'qty']
> 
> class KeysearchForm(forms.Form):
> itemcode=forms.CharField(label='item code', max_length=5)
>
>
> These are the view & Forms I am using. Please help.
>  
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/04afb3db-c300-4267-9c29-d326eab0433fn%40googlegroups.com.


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.
>
> On Wed, 23 Aug 2023 at 17:58, Kani Sbt  wrote:
>
>> HI sir , 
>> Please Help me to how to solve this problem , 
>>
>>
>> this is settings.py :
>> import os
>> from pathlib import Path
>> from datetime import timedelta
>>
>> BASE_DIR = Path(__file__).resolve().parent.parent
>>
>>
>> SECRET_KEY = 
>> 'django-insecure-ihofv8tmht)!q**8efqqr1t+#(a&a$71s080zs^x*s#w5#sx!4'
>>
>> DEBUG = True
>>
>> ALLOWED_HOSTS = ['*']
>>
>>
>> # Application definition
>> THIRD_PARTY_APPS = (
>> 'django.contrib.admin',
>> 'django.contrib.auth',
>> 'django.contrib.contenttypes',
>> 'django.contrib.sessions',
>> 'django.contrib.messages',
>> 'django.contrib.staticfiles',
>> 'rest_framework',
>> 'corsheaders',
>> 'rest_framework.authtoken',
>> 'rest_framework_simplejwt.token_blacklist',
>> 'drf_yasg',
>> 'import_export', # import and export db data
>>
>> 'django_crontab', # periodical task trigger
>> 'dbbackup',  # django-dbbackup
>> 'django_celery_beat',
>> 'django_extensions',
>> # 'storages',
>> # 'gdstorage'
>> 
>> 
>> )
>>
>> OUR_APPS = (
>> 'employee',
>> 'configuration',
>> 'attendance',
>> 'audit',
>> 'master',
>> )
>>
>> INSTALLED_APPS = OUR_APPS + THIRD_PARTY_APPS
>>
>> MIDDLEWARE = [
>> 'server.middleware.UserIpMiddleware',
>> 'django.middleware.security.SecurityMiddleware',
>> 'django.contrib.sessions.middleware.SessionMiddleware',
>> "corsheaders.middleware.CorsMiddleware",
>> 'django.middleware.common.CommonMiddleware',
>> 'django.middleware.csrf.CsrfViewMiddleware',
>> 'django.contrib.auth.middleware.AuthenticationMiddleware',
>> 'django.contrib.messages.middleware.MessageMiddleware',
>> 'django.middleware.clickjacking.XFrameOptionsMiddleware',
>> ]
>>
>> ROOT_URLCONF = 'server.urls'
>>
>> TEMPLATES = [
>> {
>> 'BACKEND': 'django.template.backends.django.DjangoTemplates',
>> 'DIRS': [BASE_DIR / 'templates'],
>> 'APP_DIRS': True,
>> 'OPTIONS': {
>> 'context_processors': [
>> 'django.template.context_processors.debug',
>> 'django.template.context_processors.request',
>> 'django.contrib.auth.context_processors.auth',
>> 'django.contrib.messages.context_processors.messages',
>> ],
>> },
>> },
>> ]
>>
>> # WSGI_APPLICATION = 'server.wsgi.application'
>> ASGI_APPLICATION = 'server.asgi.application'
>>
>> DATABASES = {
>> 'default': {
>> 'ENGINE': 'django.db.backends.sqlite3',
>> 'NAME': 'sbthrmodule_y0ltln',
>>  'USER': 'sbthrmodule_mmsv7',
>> 'PASSWORD': '17mBxjt6sercIAyw',
>> 'HOST': 'localhost',
>> 'PORT': '3306',
>> },
>> 'attendance_db': {
>> 'ENGINE': 'django.db.backends.mysql',
>> 'NAME': 'skylab',
>> 'USER': 'admin',
>> 'PASSWORD': 'kJsgwek8488!ghf^$%',
>> 'HOST': 'spt-hrm-db.cdhbi944avx7.ap-south-1.rds.amazonaws.com',
>> 'PORT': '3306',
>> },
>> }
>>
>>
>> AUTH_PASSWORD_VALIDATORS = [
>> {
>> 'NAME': 
>> 'django.contrib.auth.password_validation.UserAttributeSimilarityValidator',
>> },
>> {
>> 'NAME': 
>> 'django.contrib.auth.password_validation.MinimumLengthValidator',
>> },
>> {
>> 'NAME': 
>> 'django.contrib.auth.password_validation.CommonPasswordValidator',
>> },
>> {
>> 'NAME': 
>> 'django.contrib.auth.password_validation.NumericPasswordValidator',
>> },
>> ]
>>
>>
>>
>> LANGUAGE_CODE = 'en-us'
>>
>> TIME_ZONE =  'UTC'
>>
>> USE_I18N = True
>>
>> USE_TZ = True
>>
>>
>>
>> STATIC_URL = '/static/'
>> MEDIA_URL = '/media/'
>> # STATICFILES_DIRS = os.path.join(BASE_DIR, "static"),
>>
>> if DEBUG:
>> STATIC_ROOT = os.path.join(BASE_DIR,'static')
>> MEDIA_ROOT =  os.path.join(BASE_DIR, 'media') 
>> else:
>> STATIC_ROOT = '/var/www/server/static/'
>> MEDIA_ROOT =  '/var/www/server/media/' 
>>
>> DEFAULT_AUTO_FIELD = 'django.db.models.BigAutoField'
>> AUTH_USER_MODEL = 'configuration.User'
>>
>> CORS_ORIGIN_ALLOW_ALL = True
>> CORS_ORIGIN_WHITELIST = (
>> 'http://localhost:3000',
>> 'http://127.0.0.1:3000',
>> 'https://sbthrmodule.in',
>> "https://sbthrmodule.in";,
>> 'http://hrmodule.sbthrmodule.in:8084',
>>'http://hrmodule.sbthrmodule.in:8084',
>> 'http://127.0.0.1:8000',
>> )
>> # CORS_ALLOW_CREDENTIALS = True
>>
>> CSRF_TRUSTED_ORIGINS = ['http://127.0.0.1:8000',"http://localhost:3000";,'
>> https://sbthrmodule.in',
>> "https://sbthrmodule.in";,
>> 'http://hrmodule.sbthrmodule.in/',
>> "http://hrmodule.sbthrmodule.in/","http://1

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(request): return 
> render (request, "user/dashboard.html")
>
> My models 
> from django.db import models from django.contrib.auth.models import User
>
> #articles model 
>
> class Articles(models.Model): 
> title = models.CharField(max_length=300) date= models.DateField() 
> author=models.ForeignKey(User, on_delete=models.CASCADE) 
> body=models.TextField() 
>
> def __str__(self) -> str:
> return self.title 
>
> #games model
>
> GAME_TYPE=( ("action", "action"), ("adventure", "adventure"), ("racing", 
> "racing"), ("puzzle", "puzzle"), )
>
> MOV_TYPE=( ("action", "action"), ("adventure", "adventure"), ("sci-fi", 
> "sci-fi"), ("horror", "horror"), ("drama", "drama"), ) 
>
> GAME_OS=( ("Windows", "Windows"), ("Android", "Android"), ) 
>
> class Games(models.Model): name=models.CharField(max_length=50) 
> type=models.CharField(max_length=40, choices=GAME_TYPE) 
> os=models.CharField(max_length=15, choices=GAME_OS) img=models.ImageField() 
> developer=models.CharField(max_length=50) 
> version=models.CharField(max_length=10) 
> ratings=models.CharField(max_length=10) description=models.TextField() 
>
> def __str__(self) -> str: 
> return self.name class
>
> Movies(models.Model): name=models.CharField(max_length=50) 
> type=models.CharField(max_length=40, choices=MOV_TYPE) 
> description=models.TextField() released=models.DateField() 
>
> def __str__(self) -> str: 
> return self.name 
>
> I have three models below, but l like to create a Notification System to 
> send a message to a User whenever ; 
> 1. An object is created in all those models 
> 2. An object is modified in all those models 
>
> And l would like to add trick that it sends the Notification Message after 
> 15 minutes of publiction or creation.
>
> And I would like to pass the following data if available in the object ;
> 1. the Name of the Object,
> 2. the Image of the Object, and 
> 3. the type of the Object. 
>
> Lastly I would like to add a : 
> 1. Notification DELETE function, that gives User a way to delete that 
> Message , not to appear in his or notification section again. 
>
> 2. Mark as Read function, that changes the Massage Div Color 
>
> 3. A notification Barge that displays the UNREAD Messages. 
>
> Am requesting anyone to help me Because Am stuck , I have no where to 
> Start from. I will be on waiting your guidelines. 
>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/aecadf6d-3bc4-4e9c-a1e7-5b43003ee737n%40googlegroups.com.


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 %}
>
> 
> 
>   
> 
>   
> Add Plots In Your Listing
> If You Want To Buy The Plot Then Add It In Your Listing h2>
>   
> 
>   
> 
> 
>
> 
> 
>   
> 
>   
> 
>   
>   
>  "multipart/form-data">
>   
> {% csrf_token %}
> 
> Listing Type
> {{ form.listing_type }}
> Area
> {{ form.area }}
> Location
> {{ form.location }}
>
> Price
> {{ form.price }}
> Title
> {{ form.title }}
> Upload An Image
> {{ form.image }}
> 
> 
> 
>   
>  class="main-button 
> ">Add Your Listing!
>   
> 
>   
> 
>   
> 
>   
> 
>   
> 
> 
>
> 
> 
> 
> 
> 
>
> {% endblock content %}
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e83ef63c-42cd-42d7-bae8-3f099bfd6de4n%40googlegroups.com.


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 (cPanel). pip is good, django is 
> installed. Allauth refuses, in every case it stops with so many errors that 
> I can't even look back in the cPanel terminal, what could have been the 
> first.
> Anyone who can help ... thx 
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/05963b71-66af-497e-9215-72688df51360n%40googlegroups.com.


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 12:28:30 AM  ImportError: Couldn't import Django. Are you sure 
>> it's installed and available on your PYTHONPATH environment variable? Did 
>> you forget to activate a virtual environment?
>> Aug 25 12:28:30 AM  ==> Build failed 😞
>>
>> Yet this is my requirements file and django is installed
>> asgiref==3.6.0
>> dj-database-url==2.1.0
>> Django==4.2.1
>> gunicorn==21.2.0
>> packaging==23.1
>> psycopg2==2.9.7
>> python-dotenv==1.0.0
>> sqlparse==0.4.4
>> typing_extensions==4.7.1
>> tzdata==2023.3
>> whitenoise==6.5.0
>>
>>
>> Kindly help me.
>> --
>>
>> ALINDA Fortunate
>> Graduate Of Computer Science
>> Gulu University
>> Passionate about Software Development in Python
>> If you can't explain it simply, you don't understand it well enough.
>> alindafo...@gmail.com.
>> +256 774339676 <+256%20774%20339676> / +256 702910041 
>> <+256%20702%20910041>
>> Kagadi.
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAPifpCvYY%3D%2BFuNAYKXgoikghEYGCB90iw_24S1Ctye%3DZEJdNqg%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e95a3141-fa1c-4247-86fb-16b8886beeccn%40googlegroups.com.


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 error
>>
>> Aug 25 12:28:30 AM  ImportError: Couldn't import Django. Are you sure 
>> it's installed and available on your PYTHONPATH environment variable? Did 
>> you forget to activate a virtual environment?
>> Aug 25 12:28:30 AM  ==> Build failed 😞
>>
>> Yet this is my requirements file and django is installed
>> asgiref==3.6.0
>> dj-database-url==2.1.0
>> Django==4.2.1
>> gunicorn==21.2.0
>> packaging==23.1
>> psycopg2==2.9.7
>> python-dotenv==1.0.0
>> sqlparse==0.4.4
>> typing_extensions==4.7.1
>> tzdata==2023.3
>> whitenoise==6.5.0
>>
>>
>> Kindly help me.
>> --
>>
>> ALINDA Fortunate
>> Graduate Of Computer Science
>> Gulu University
>> Passionate about Software Development in Python
>> If you can't explain it simply, you don't understand it well enough.
>> alindafo...@gmail.com.
>> +256 774339676 <+256%20774%20339676> / +256 702910041 
>> <+256%20702%20910041>
>> Kagadi.
>>
>> -- 
>> 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...@googlegroups.com.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CAPifpCvYY%3D%2BFuNAYKXgoikghEYGCB90iw_24S1Ctye%3DZEJdNqg%40mail.gmail.com
>>  
>> 
>> .
>>
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2dda8d5e-4f1b-4784-acaa-a44ed555e0cen%40googlegroups.com.


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 you know that I've 
> taken a look at the error message you shared:
>
> ```
> Aug 25 12:28:30 AM  ImportError: Couldn't import Django. Are you sure it's 
> installed and available on your PYTHONPATH environment variable? Did you 
> forget to activate a virtual environment?
> Aug 25 12:28:30 AM  ==> Build failed
> ```
>
> To better assist you in resolving this issue, could you kindly provide me 
> with some additional details? This information will help me gain a clearer 
> understanding of your setup and the potential causes of the error:
>
> 1. **Operating System:** Please let me know the operating system you're 
> using (e.g., Windows, macOS, Linux).
>
> 2. **Python Version:** What version of Python is installed on your system? 
> You can find this information by running the command `python --version` in 
> your terminal.
>
> 3. **Virtual Environment:** Are you working within a virtual environment? 
> If so, have you activated the virtual environment before attempting to run 
> the project?
>
> 4. **Project Configuration:** Could you share any relevant configuration 
> details related to your project setup? This could include how your project 
> is structured and any configuration files that may be relevant.
>
> 5. **Django Installation:** Confirm whether Django is installed in your 
> virtual environment. You can use the command `pip show django` to check its 
> status.
>
> 6. **PYTHONPATH:** If you've made any modifications to the PYTHONPATH 
> environment variable, please share the details of those changes.
>
> 7. **Build Process:** Briefly describe the steps you take leading up to 
> encountering the error. This could include any commands you run or actions 
> you perform.
>
> By providing these details, I'll be able to narrow down the potential 
> causes of the ImportError and offer more precise guidance to help you 
> resolve it.
>
> Thank you for your cooperation. I look forward to receiving more 
> information from you so that we can work together to address this issue 
> effectively.
>
> Best regards,
> [Abhijit]
>

-- 
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 view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4f27972f-7831-49e9-b74d-14312b268820n%40googlegroups.com.