Re: Hi need a solution

2022-11-08 Thread Mh Raffi
Hi Thanks for the reply.
Found the solution yesterday, as the issue was caused due to
# STATICFILES_STORAGE =
"whitenoise.storage.CompressedManifestStaticFilesStorage"

*Only thing causing a problem now is the collectstatic is collecting the
static files and its in DIR c:\\user.*
*All my images and png files are not working after switching to postgres
database.*
*Any solution will be appreciated.*
Thanks & Regards
Mohammed Raffi.J
+91 8939326407



On Mon, Nov 7, 2022 at 11:15 PM 'Kasper Laudrup' via Django users <
django-users@googlegroups.com> wrote:

> On 07/11/2022 08.20, Mh Raffi wrote:
> >
> > I have deployed to post g res p g admin4 and deleted db. s q lite from
> > Django. and set my allowed host =['*']
> >
> > Am getting server [500].
> >
> > if any help will be appreciated
> >
>
> You need to look in your log files to find the cause of the 500 error.
> That will make it much, much easier to debug.
>
> Maybe have a look here:
> https://docs.djangoproject.com/en/4.1/topics/logging/
>
> Kind regards,
> Kasper Laudrup
>
> --
> 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/48520f6c-5f5b-7bd2-1d2f-f3076510968a%40stacktrace.dk
> .
>

-- 
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/CAKfPRhWg3dnVA7%2BeXEQ-2H%3DPYXLcJFLfaurQMbK%2BRko2jwwVzQ%40mail.gmail.com.


Re: Hi need a solution

2022-11-07 Thread sham khan
Check the logs I am certain it will talk about DB. do a migrate first. Once
you delete the DB, the db is not created automatically

On Mon, Nov 7, 2022, 9:37 PM Mh Raffi  wrote:

>
> I have deployed to post g res p g admin4 and deleted db. s q lite from
> Django. and set my allowed host =['*']
>
> Am getting server [500].
>
> if any help will be appreciated
>
> need a solution after deleting s q .lite d b from Django project and used
> allowed host to * .
>
> am getting 500 server request. LOOKING FOR SOLUTION AM NEW TO DJANGO
>
> DEBUG = False ALLOWED_HOSTS = ['*']
>
> DATABASES = { 'default': {
>
> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
> 'NAME': 'accerla',
> 'USER' : 'post g res',
> 'PASSWORD': 'pwd3',
> 'HOST' : 'localhost',
> 'PORT' : '5432',
> }
>
> }
> [07/Nov/2022 05:14:06] INFO [django.utils.autoreload:677] Watching for
> file changes with StatReloader
> [07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:330] Waiting for
> apps ready_event.
> [07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:342] Apps
> ready_event triggered. Sending autoreload_started signal.
> [07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:296] Watching dir
> C:\Users\Admin\Desktop\webappstudioz\templates with glob **/*.
> any suggestion would be appreciated
>
> Thanks & Regards
> Mohammed Raffi.J
>
>
> --
> 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/CAKfPRhUJhovCY8D3pNAzR6hHZWCR35FUGWyt7vE7WNXMTPzn%3Dw%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/CAA7J1XtMDjxJvJRLBP6Psbh%2BSRbnF%2BJghU7SeRC89R%3DNeL0mNQ%40mail.gmail.com.


Re: Hi need a solution

2022-11-07 Thread 'Kasper Laudrup' via Django users

On 07/11/2022 08.20, Mh Raffi wrote:


I have deployed to post g res p g admin4 and deleted db. s q lite from 
Django. and set my allowed host =['*']


Am getting server [500].

if any help will be appreciated



You need to look in your log files to find the cause of the 500 error. 
That will make it much, much easier to debug.


Maybe have a look here:
https://docs.djangoproject.com/en/4.1/topics/logging/

Kind regards,
Kasper Laudrup

--
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/48520f6c-5f5b-7bd2-1d2f-f3076510968a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hi need a solution

2022-11-07 Thread kateregga julius
First check the spelling of your user.

If it fails take a screenshot of what is played in your console.
It will help in getting for your a clear response

On Mon, Nov 7, 2022, 7:08 PM Mh Raffi  wrote:

>
> I have deployed to post g res p g admin4 and deleted db. s q lite from
> Django. and set my allowed host =['*']
>
> Am getting server [500].
>
> if any help will be appreciated
>
> need a solution after deleting s q .lite d b from Django project and used
> allowed host to * .
>
> am getting 500 server request. LOOKING FOR SOLUTION AM NEW TO DJANGO
>
> DEBUG = False ALLOWED_HOSTS = ['*']
>
> DATABASES = { 'default': {
>
> 'ENGINE': 'django.db.backends.postgresql_psycopg2',
> 'NAME': 'accerla',
> 'USER' : 'post g res',
> 'PASSWORD': 'pwd3',
> 'HOST' : 'localhost',
> 'PORT' : '5432',
> }
>
> }
> [07/Nov/2022 05:14:06] INFO [django.utils.autoreload:677] Watching for
> file changes with StatReloader
> [07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:330] Waiting for
> apps ready_event.
> [07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:342] Apps
> ready_event triggered. Sending autoreload_started signal.
> [07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:296] Watching dir
> C:\Users\Admin\Desktop\webappstudioz\templates with glob **/*.
> any suggestion would be appreciated
>
> Thanks & Regards
> Mohammed Raffi.J
>
>
> --
> 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/CAKfPRhUJhovCY8D3pNAzR6hHZWCR35FUGWyt7vE7WNXMTPzn%3Dw%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/CAMVv_-HRNV0xBM4cPbEc9dkr_Xn%3D6E0-0VF4U0M9x%2BfaEPZKTA%40mail.gmail.com.


Hi need a solution

2022-11-07 Thread Mh Raffi
I have deployed to post g res p g admin4 and deleted db. s q lite from
Django. and set my allowed host =['*']

Am getting server [500].

if any help will be appreciated

need a solution after deleting s q .lite d b from Django project and used
allowed host to * .

am getting 500 server request. LOOKING FOR SOLUTION AM NEW TO DJANGO

DEBUG = False ALLOWED_HOSTS = ['*']

DATABASES = { 'default': {

'ENGINE': 'django.db.backends.postgresql_psycopg2',
'NAME': 'accerla',
'USER' : 'post g res',
'PASSWORD': 'pwd3',
'HOST' : 'localhost',
'PORT' : '5432',
}

}
[07/Nov/2022 05:14:06] INFO [django.utils.autoreload:677] Watching for file
changes with StatReloader
[07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:330] Waiting for apps
ready_event.
[07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:342] Apps ready_event
triggered. Sending autoreload_started signal.
[07/Nov/2022 05:14:06] DEBUG [django.utils.autoreload:296] Watching dir
C:\Users\Admin\Desktop\webappstudioz\templates with glob **/*.
any suggestion would be appreciated

Thanks & Regards
Mohammed Raffi.J

-- 
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/CAKfPRhUJhovCY8D3pNAzR6hHZWCR35FUGWyt7vE7WNXMTPzn%3Dw%40mail.gmail.com.


thaRe: hi,

2022-11-02 Thread Adekola Aderonmu
Thank you so much
I've gotten it now. Thanks guys.


On Tuesday, 1 November 2022 at 07:18:44 UTC+1 ahmadabd...@gmail.com wrote:

> Check under your root project URLs (gfg/urls.py) you have not import 
> include.
>
> On Tue, Nov 1, 2022, 1:22 AM Hansel Johansyah  
> wrote:
>
>> give , (comma) after path, wich include, like this
>> from django.urls import path, include
>>
>> On Tue, Nov 1, 2022 at 7:12 AM Adekola Aderonmu  
>> wrote:
>>
>>> Hi, i am new to django frame work. my runserver is giving me errors.[image: 
>>> SS1.png][image: SS2.png][image: SS3.png][image: SS5.png] kindly, help 
>>> me with what to do. Thanks. Find below are screen shot from my codes and 
>>> also from my browser. Look forward to hearing from you soon. Thank you. 
>>>
>>> -- 
>>> 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/8942bcee-9f9c-47d8-9cb3-f666e6bb17a3n%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/8942bcee-9f9c-47d8-9cb3-f666e6bb17a3n%40googlegroups.com?utm_medium=email_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...@googlegroups.com.
>>
> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CADMJuBmDzY%3DifX_jNjOY%2BTWzWGsJVHm%2BOEhvJ389XPMfQBMnBA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CADMJuBmDzY%3DifX_jNjOY%2BTWzWGsJVHm%2BOEhvJ389XPMfQBMnBA%40mail.gmail.com?utm_medium=email_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/5d051949-e9a9-4db2-9ecc-4f87012d3e45n%40googlegroups.com.


Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-08-01 Thread Abdul Qoyyuum
Download it from https://pyscript.net/ and load it on your local webserver.

On Fri, Jul 29, 2022 at 10:59 PM Ad Tariq  wrote:

>
>
> Sent from my Huawei Mobile
>
> --
> 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/6ywask-egl8ube6tn3j-gnugz6tq5tn5-981h8o-fbbyrfs04g4p-dy72o68w852c9bhuw0fdasxpttm02p-njks7934b8sl-h99obj3i1f0vq63om8-okzqxt-kcl72n-o861ua-tut0wbuki823ym9cfl.1659106691758%40email.android.com
> .
>


-- 
Abdul Qoyyuum Bin Haji Abdul Kadir
HP No: +673 720 8043

-- 
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/CAA3DN%3DXEogAC9pMHaig_%2B-XK%3DkwmFPYr2LxFzSXo6beYJbQf-g%40mail.gmail.com.


Re: Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-07-29 Thread Sebastian Jung
Is it a joke? Please write a description which Problem you have...

Ad Tariq  schrieb am Fr., 29. Juli 2022, 16:58:

>
>
> Sent from my Huawei Mobile
>
> --
> 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/6ywask-egl8ube6tn3j-gnugz6tq5tn5-981h8o-fbbyrfs04g4p-dy72o68w852c9bhuw0fdasxpttm02p-njks7934b8sl-h99obj3i1f0vq63om8-okzqxt-kcl72n-o861ua-tut0wbuki823ym9cfl.1659106691758%40email.android.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/CAKGT9mzChcVZUVz644GpAy-JkNympF2NCuNQNAaP-u%2BCUCC-LQ%40mail.gmail.com.


Hi guys how to run pyscript on local webserver without using cdn ljnk

2022-07-29 Thread Ad Tariq



Sent from my Huawei Mobile

-- 
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/6ywask-egl8ube6tn3j-gnugz6tq5tn5-981h8o-fbbyrfs04g4p-dy72o68w852c9bhuw0fdasxpttm02p-njks7934b8sl-h99obj3i1f0vq63om8-okzqxt-kcl72n-o861ua-tut0wbuki823ym9cfl.1659106691758%40email.android.com.


Re: Hi to all how to implement Search option in website?

2022-07-23 Thread Lalit Suthar
you can try django-filters also for more complex use cases
https://django-filter.readthedocs.io/en/stable/

On Sat, 23 Jul 2022 at 22:09, Lakshyaraj Dash 
wrote:

> You can do something like shown in the screenshot below
>
> Thanks and Regards
> Lakshyaraj Dash
>
> On Sat, Jul 23, 2022, 21:59 Mahendra  wrote:
>
>>
>>
>> On Fri, 22 Jul 2022, 23:37 Prashanth Patelc, 
>> wrote:
>>
>>> how to use time in pandas  (convert 24 hours time to 12 hours)
>>>
>>> Login time  table
>>> ==
>>> userid logindate  logintime
>>> 22022-13-07  18:30:00.490337
>>>
>>> Logout time table
>>> ==
>>>
>>> userid logindate  logintime
>>> 22022-14-07  02:36:03.450327
>>>
>>>
>>> output:
>>>login_date  user__username   user  diiffrences
>>> 0  2022-07-14  neilneil   -1
>>> days +07:26:47.027887
>>>
>>> How to convert above atbles time:  ?
>>>
>>> nee output like this type
>>> ==
>>>  login_date  user__username   user
>>>  diiffrences
>>> 0  2022-07-14  neilneil
>>> 08:03:47.027887
>>>
>>>
>>>
>>> df['logout_time'] = pd.to_timedelta(df['logout_time'].astype(str))
>>>
>>> df['login_time'] = pd.to_timedelta(df['login_time'].astype(str))
>>>
>>>
>>> df['diiffrences'] = df['logout_time'] - df['login_time']
>>>
>>> --
>>> 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/CAMCU6CpwW9q9z_pBdgf%3Do5dEzvET5qqvddopjNQtGwuxm5RUjA%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/CAN-6G3xoKQ4g5a8LtTGGwPJw1LSVXK2aGNwKcDKAHqsV0mb%3DKA%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/CAF7qQgCYQ%2Bcj6X__4f5%2BPVNjmix_xszhc2b%2B%2BCa9EiK2NWR60Q%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/CAGp2JVGg63dp%2Bt8fMgF9SJ7Z%2BUDygzCiJ2dQtY6bh94Jeu1gAA%40mail.gmail.com.


Hi to all how to implement Search option in website?

2022-07-23 Thread Mahendra
On Fri, 22 Jul 2022, 23:37 Prashanth Patelc, 
wrote:

> how to use time in pandas  (convert 24 hours time to 12 hours)
>
> Login time  table
> ==
> userid logindate  logintime
> 22022-13-07  18:30:00.490337
>
> Logout time table
> ==
>
> userid logindate  logintime
> 22022-14-07  02:36:03.450327
>
>
> output:
>login_date  user__username   user  diiffrences
> 0  2022-07-14  neilneil   -1
> days +07:26:47.027887
>
> How to convert above atbles time:  ?
>
> nee output like this type
> ==
>  login_date  user__username   user  diiffrences
> 0  2022-07-14  neilneil
> 08:03:47.027887
>
>
>
> df['logout_time'] = pd.to_timedelta(df['logout_time'].astype(str))
>
> df['login_time'] = pd.to_timedelta(df['login_time'].astype(str))
>
>
> df['diiffrences'] = df['logout_time'] - df['login_time']
>
> --
> 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/CAMCU6CpwW9q9z_pBdgf%3Do5dEzvET5qqvddopjNQtGwuxm5RUjA%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/CAN-6G3xoKQ4g5a8LtTGGwPJw1LSVXK2aGNwKcDKAHqsV0mb%3DKA%40mail.gmail.com.


hi

2022-06-26 Thread MAHESH KUMAR
You’re seeing this error because you have DEBUG = True in your Django 
settings file. Change that to False, and Django will display a standard 404 
page.


i want actual URL this type

https://adsjhgasjdhasda.com/ListFinalData/?page=1=2

https://adsjghahsjkda.com/ListFinalData/?page=1=2=1263781212



this is my url 

Using the URLconf defined in myapp.urls, Django tried these URL patterns, 
in this order:

   1. admin/
   2. getphoneid/
   3. DeviceIdList/?page=/?timestamp=/
   4. FinalOutput/

The current path, DeviceIdList/, didn’t match any of these.

You’re seeing this error because you have DEBUG = True in your Django 
settings file. Change that to False, and Django will display a standard 404 
page.



plz help me

-- 
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/77b1d319-9d75-40d7-ac8d-14d69fec85ean%40googlegroups.com.


Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-19 Thread Leo guitar girl
I have sent you an invitation

On Wed, Jan 19, 2022 at 9:54 AM Vkash Poudel 
wrote:

> can we connect via email so that i can share my codes regarding Time basis
> OTP Generation and OTP Verification and activate user's account using pyotp.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, Jan 19, 2022 at 1:20 AM Leo guitar girl <
> mansarimtabas...@gmail.com> wrote:
>
>> I have not used any library. I have done manual OTP verification by using
>> Rand library as told in the tutorial.
>>
>> On Tue, Jan 18, 2022 at 9:00 PM Vkash Poudel 
>> wrote:
>>
>>> first of what did you use to generate otp. If you've used pyotp
>>> libraries then you can verify otp in simple step and the documentation is
>>> good in pyotp.
>>>
>>> On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl <
>>> mansarimtabas...@gmail.com> wrote:
>>>
 I am following the tutorial from LearnVern.com


 https://www.learnvern.com/python-tutorial-django/project-implementation-part2

 I have followed ditto as taught in the tutorial but the trainer has no
 issue and I have this issue.

 I am sharing the views.py code also

 from django.shortcuts import render
 from .models import *
 from random import randint


 # Create your views here.

 def Index(request):
 return render(request, 'myapp/index.html')


 def SignupPage(request):
 return render(request, 'myapp/signup.html')


 def RegisterUser(request):
 if request.POST['role'] == "Candidate":
 role = request.POST['role']  # Master Table Field
 fname = request.POST['fname']  # Candidate Table Field
 lname = request.POST['lname']  # Candidate Table Field
 email = request.POST['email']  # Master Table Field
 password = request.POST['password']  # Master Table Field
 cpassword = request.POST['cpassword']

 user = UserMaster.objects.filter(email=email)

 if user:
 message = "User already Exist"
 return render(request, "myapp/signup.html", {'msg': message})
 else:
 if password == cpassword:
 otp = randint(10, 99)
 newuser = UserMaster.objects.create(role=role, otp=otp, 
 email=email, password=password)
 newcand = Candidate.objects.create(user_id=newuser, 
 firstname=fname, lastname=lname)
 return render(request, "myapp/otpverify.html", {'email': 
 email})
 else:
 print("Company Registration")


 def OTPpage(request):
 return render(request, "myapp/otpverify.html")


 def OTPverify(request):
 if request.method == 'POST':
 email = request.POST['email']
 otp = request.POST['otp']

 user = UserMaster.objects.get(email=email)

 if user:
 if user.otp == otp:
 message = "OTP Verified Successfully!"
 return render(request, "myapp/login.html", {'msg': 
 message})
 else:
 message = "OTP is incorrect"
 return render(request, "myapp/otpverify.html", {'msg': 
 message})
 else:
 return render(request, "myapp/signup.html")


 On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
 wrote:

> On 18/01/2022 04.31, Leo guitar girl wrote:
> > Oh, I apologize. I had pasted the error code here don't know why it
> was
> > not sent.
> > Actually, I am trying to create a job portal by seeing a tutorial.
> Now I
> > am at the step of verifying OTP. OTP is generated successfully in
> the
> > database. But when I enter it to the textbox and submit, it shows
> this error
> >
>
> Which tutorial are you following?
>
> What's in the views.py file that is causing the error?
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe
> .
> To unsubscribe from this group and all 

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-19 Thread Leo guitar girl
yeah sure

On Wed, Jan 19, 2022 at 9:54 AM Vkash Poudel 
wrote:

> can we connect via email so that i can share my codes regarding Time basis
> OTP Generation and OTP Verification and activate user's account using pyotp.
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> On Wed, Jan 19, 2022 at 1:20 AM Leo guitar girl <
> mansarimtabas...@gmail.com> wrote:
>
>> I have not used any library. I have done manual OTP verification by using
>> Rand library as told in the tutorial.
>>
>> On Tue, Jan 18, 2022 at 9:00 PM Vkash Poudel 
>> wrote:
>>
>>> first of what did you use to generate otp. If you've used pyotp
>>> libraries then you can verify otp in simple step and the documentation is
>>> good in pyotp.
>>>
>>> On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl <
>>> mansarimtabas...@gmail.com> wrote:
>>>
 I am following the tutorial from LearnVern.com


 https://www.learnvern.com/python-tutorial-django/project-implementation-part2

 I have followed ditto as taught in the tutorial but the trainer has no
 issue and I have this issue.

 I am sharing the views.py code also

 from django.shortcuts import render
 from .models import *
 from random import randint


 # Create your views here.

 def Index(request):
 return render(request, 'myapp/index.html')


 def SignupPage(request):
 return render(request, 'myapp/signup.html')


 def RegisterUser(request):
 if request.POST['role'] == "Candidate":
 role = request.POST['role']  # Master Table Field
 fname = request.POST['fname']  # Candidate Table Field
 lname = request.POST['lname']  # Candidate Table Field
 email = request.POST['email']  # Master Table Field
 password = request.POST['password']  # Master Table Field
 cpassword = request.POST['cpassword']

 user = UserMaster.objects.filter(email=email)

 if user:
 message = "User already Exist"
 return render(request, "myapp/signup.html", {'msg': message})
 else:
 if password == cpassword:
 otp = randint(10, 99)
 newuser = UserMaster.objects.create(role=role, otp=otp, 
 email=email, password=password)
 newcand = Candidate.objects.create(user_id=newuser, 
 firstname=fname, lastname=lname)
 return render(request, "myapp/otpverify.html", {'email': 
 email})
 else:
 print("Company Registration")


 def OTPpage(request):
 return render(request, "myapp/otpverify.html")


 def OTPverify(request):
 if request.method == 'POST':
 email = request.POST['email']
 otp = request.POST['otp']

 user = UserMaster.objects.get(email=email)

 if user:
 if user.otp == otp:
 message = "OTP Verified Successfully!"
 return render(request, "myapp/login.html", {'msg': 
 message})
 else:
 message = "OTP is incorrect"
 return render(request, "myapp/otpverify.html", {'msg': 
 message})
 else:
 return render(request, "myapp/signup.html")


 On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
 wrote:

> On 18/01/2022 04.31, Leo guitar girl wrote:
> > Oh, I apologize. I had pasted the error code here don't know why it
> was
> > not sent.
> > Actually, I am trying to create a job portal by seeing a tutorial.
> Now I
> > am at the step of verifying OTP. OTP is generated successfully in
> the
> > database. But when I enter it to the textbox and submit, it shows
> this error
> >
>
> Which tutorial are you following?
>
> What's in the views.py file that is causing the error?
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe
> .
> To unsubscribe from this group and all its topics, send an 

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Vkash Poudel
can we connect via email so that i can share my codes regarding Time basis
OTP Generation and OTP Verification and activate user's account using pyotp.






































































































































































































































































































































On Wed, Jan 19, 2022 at 1:20 AM Leo guitar girl 
wrote:

> I have not used any library. I have done manual OTP verification by using
> Rand library as told in the tutorial.
>
> On Tue, Jan 18, 2022 at 9:00 PM Vkash Poudel 
> wrote:
>
>> first of what did you use to generate otp. If you've used pyotp libraries
>> then you can verify otp in simple step and the documentation is good in
>> pyotp.
>>
>> On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl <
>> mansarimtabas...@gmail.com> wrote:
>>
>>> I am following the tutorial from LearnVern.com
>>>
>>>
>>> https://www.learnvern.com/python-tutorial-django/project-implementation-part2
>>>
>>> I have followed ditto as taught in the tutorial but the trainer has no
>>> issue and I have this issue.
>>>
>>> I am sharing the views.py code also
>>>
>>> from django.shortcuts import render
>>> from .models import *
>>> from random import randint
>>>
>>>
>>> # Create your views here.
>>>
>>> def Index(request):
>>> return render(request, 'myapp/index.html')
>>>
>>>
>>> def SignupPage(request):
>>> return render(request, 'myapp/signup.html')
>>>
>>>
>>> def RegisterUser(request):
>>> if request.POST['role'] == "Candidate":
>>> role = request.POST['role']  # Master Table Field
>>> fname = request.POST['fname']  # Candidate Table Field
>>> lname = request.POST['lname']  # Candidate Table Field
>>> email = request.POST['email']  # Master Table Field
>>> password = request.POST['password']  # Master Table Field
>>> cpassword = request.POST['cpassword']
>>>
>>> user = UserMaster.objects.filter(email=email)
>>>
>>> if user:
>>> message = "User already Exist"
>>> return render(request, "myapp/signup.html", {'msg': message})
>>> else:
>>> if password == cpassword:
>>> otp = randint(10, 99)
>>> newuser = UserMaster.objects.create(role=role, otp=otp, 
>>> email=email, password=password)
>>> newcand = Candidate.objects.create(user_id=newuser, 
>>> firstname=fname, lastname=lname)
>>> return render(request, "myapp/otpverify.html", {'email': 
>>> email})
>>> else:
>>> print("Company Registration")
>>>
>>>
>>> def OTPpage(request):
>>> return render(request, "myapp/otpverify.html")
>>>
>>>
>>> def OTPverify(request):
>>> if request.method == 'POST':
>>> email = request.POST['email']
>>> otp = request.POST['otp']
>>>
>>> user = UserMaster.objects.get(email=email)
>>>
>>> if user:
>>> if user.otp == otp:
>>> message = "OTP Verified Successfully!"
>>> return render(request, "myapp/login.html", {'msg': message})
>>> else:
>>> message = "OTP is incorrect"
>>> return render(request, "myapp/otpverify.html", {'msg': 
>>> message})
>>> else:
>>> return render(request, "myapp/signup.html")
>>>
>>>
>>> On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
>>> wrote:
>>>
 On 18/01/2022 04.31, Leo guitar girl wrote:
 > Oh, I apologize. I had pasted the error code here don't know why it
 was
 > not sent.
 > Actually, I am trying to create a job portal by seeing a tutorial.
 Now I
 > am at the step of verifying OTP. OTP is generated successfully in the
 > database. But when I enter it to the textbox and submit, it shows
 this error
 >

 Which tutorial are you following?

 What's in the views.py file that is causing the error?

 Kind regards,

 Kasper Laudrup

 --
 You received this message because you are subscribed to a topic in the
 Google Groups "Django users" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
 To unsubscribe from this group and all its topics, 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/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
 .

>>> --
>>> 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
>>> 

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Leo guitar girl
I have not used any library. I have done manual OTP verification by using
Rand library as told in the tutorial.

On Tue, Jan 18, 2022 at 9:00 PM Vkash Poudel 
wrote:

> first of what did you use to generate otp. If you've used pyotp libraries
> then you can verify otp in simple step and the documentation is good in
> pyotp.
>
> On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl <
> mansarimtabas...@gmail.com> wrote:
>
>> I am following the tutorial from LearnVern.com
>>
>>
>> https://www.learnvern.com/python-tutorial-django/project-implementation-part2
>>
>> I have followed ditto as taught in the tutorial but the trainer has no
>> issue and I have this issue.
>>
>> I am sharing the views.py code also
>>
>> from django.shortcuts import render
>> from .models import *
>> from random import randint
>>
>>
>> # Create your views here.
>>
>> def Index(request):
>> return render(request, 'myapp/index.html')
>>
>>
>> def SignupPage(request):
>> return render(request, 'myapp/signup.html')
>>
>>
>> def RegisterUser(request):
>> if request.POST['role'] == "Candidate":
>> role = request.POST['role']  # Master Table Field
>> fname = request.POST['fname']  # Candidate Table Field
>> lname = request.POST['lname']  # Candidate Table Field
>> email = request.POST['email']  # Master Table Field
>> password = request.POST['password']  # Master Table Field
>> cpassword = request.POST['cpassword']
>>
>> user = UserMaster.objects.filter(email=email)
>>
>> if user:
>> message = "User already Exist"
>> return render(request, "myapp/signup.html", {'msg': message})
>> else:
>> if password == cpassword:
>> otp = randint(10, 99)
>> newuser = UserMaster.objects.create(role=role, otp=otp, 
>> email=email, password=password)
>> newcand = Candidate.objects.create(user_id=newuser, 
>> firstname=fname, lastname=lname)
>> return render(request, "myapp/otpverify.html", {'email': 
>> email})
>> else:
>> print("Company Registration")
>>
>>
>> def OTPpage(request):
>> return render(request, "myapp/otpverify.html")
>>
>>
>> def OTPverify(request):
>> if request.method == 'POST':
>> email = request.POST['email']
>> otp = request.POST['otp']
>>
>> user = UserMaster.objects.get(email=email)
>>
>> if user:
>> if user.otp == otp:
>> message = "OTP Verified Successfully!"
>> return render(request, "myapp/login.html", {'msg': message})
>> else:
>> message = "OTP is incorrect"
>> return render(request, "myapp/otpverify.html", {'msg': 
>> message})
>> else:
>> return render(request, "myapp/signup.html")
>>
>>
>> On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
>> wrote:
>>
>>> On 18/01/2022 04.31, Leo guitar girl wrote:
>>> > Oh, I apologize. I had pasted the error code here don't know why it
>>> was
>>> > not sent.
>>> > Actually, I am trying to create a job portal by seeing a tutorial. Now
>>> I
>>> > am at the step of verifying OTP. OTP is generated successfully in the
>>> > database. But when I enter it to the textbox and submit, it shows
>>> this error
>>> >
>>>
>>> Which tutorial are you following?
>>>
>>> What's in the views.py file that is causing the error?
>>>
>>> Kind regards,
>>>
>>> Kasper Laudrup
>>>
>>> --
>>> You received this message because you are subscribed to a topic in the
>>> Google Groups "Django users" group.
>>> To unsubscribe from this topic, visit
>>> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
>>> To unsubscribe from this group and all its topics, 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/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
>>> .
>>>
>> --
>> 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/CAN6g9JZG-4VbKFDOJtWg3rMWY4i23Gh%2Bga3PfKxYBmVMR38ayw%40mail.gmail.com
>> 
>> .
>>
>
>
> --
> Best Regards,
> Bikash Poudel
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
> To unsubscribe from this group and all its topics, send an email to
> django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> 

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Leo guitar girl
I have changed the code as you suggested.

def OTPverify(request):
if request.method == 'POST':
email = request.POST.*get*['email']
otp = request.POST.*get*['otp']


But now it gives another error,


[image: image.png]


On Tue, Jan 18, 2022 at 10:10 PM Bernard Mallala 
wrote:

>
> In your model, be sure to address defaults and required values such that
> something is passed or be user to validate.
>
> Replace
> request.POST['']
>
> With
> request.POST.get('')
>
> For example request.POST['otp']
> TO
> request.POST.get['otp']
>
>
>
> On Tuesday, January 18, 2022 at 9:00:41 AM UTC-7 bikash...@gmail.com
> wrote:
>
>> first of what did you use to generate otp. If you've used pyotp libraries
>> then you can verify otp in simple step and the documentation is good in
>> pyotp.
>>
>> On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl 
>> wrote:
>>
>>> I am following the tutorial from LearnVern.com
>>>
>>>
>>> https://www.learnvern.com/python-tutorial-django/project-implementation-part2
>>>
>>> I have followed ditto as taught in the tutorial but the trainer has no
>>> issue and I have this issue.
>>>
>>> I am sharing the views.py code also
>>>
>>> from django.shortcuts import render
>>> from .models import *
>>> from random import randint
>>>
>>>
>>> # Create your views here.
>>>
>>> def Index(request):
>>> return render(request, 'myapp/index.html')
>>>
>>>
>>> def SignupPage(request):
>>> return render(request, 'myapp/signup.html')
>>>
>>>
>>> def RegisterUser(request):
>>> if request.POST['role'] == "Candidate":
>>> role = request.POST['role']  # Master Table Field
>>> fname = request.POST['fname']  # Candidate Table Field
>>> lname = request.POST['lname']  # Candidate Table Field
>>> email = request.POST['email']  # Master Table Field
>>> password = request.POST['password']  # Master Table Field
>>> cpassword = request.POST['cpassword']
>>>
>>> user = UserMaster.objects.filter(email=email)
>>>
>>> if user:
>>> message = "User already Exist"
>>> return render(request, "myapp/signup.html", {'msg': message})
>>> else:
>>> if password == cpassword:
>>> otp = randint(10, 99)
>>> newuser = UserMaster.objects.create(role=role, otp=otp, 
>>> email=email, password=password)
>>> newcand = Candidate.objects.create(user_id=newuser, 
>>> firstname=fname, lastname=lname)
>>> return render(request, "myapp/otpverify.html", {'email': 
>>> email})
>>> else:
>>> print("Company Registration")
>>>
>>>
>>> def OTPpage(request):
>>> return render(request, "myapp/otpverify.html")
>>>
>>>
>>> def OTPverify(request):
>>> if request.method == 'POST':
>>> email = request.POST['email']
>>> otp = request.POST['otp']
>>>
>>> user = UserMaster.objects.get(email=email)
>>>
>>> if user:
>>> if user.otp == otp:
>>> message = "OTP Verified Successfully!"
>>> return render(request, "myapp/login.html", {'msg': message})
>>> else:
>>> message = "OTP is incorrect"
>>> return render(request, "myapp/otpverify.html", {'msg': 
>>> message})
>>> else:
>>> return render(request, "myapp/signup.html")
>>>
>>>
>>> On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
>>> wrote:
>>>
 On 18/01/2022 04.31, Leo guitar girl wrote:
 > Oh, I apologize. I had pasted the error code here don't know why it
 was
 > not sent.
 > Actually, I am trying to create a job portal by seeing a tutorial.
 Now I
 > am at the step of verifying OTP. OTP is generated successfully in the
 > database. But when I enter it to the textbox and submit, it shows
 this error
 >

 Which tutorial are you following?

 What's in the views.py file that is causing the error?

 Kind regards,

 Kasper Laudrup

 --
 You received this message because you are subscribed to a topic in the
 Google Groups "Django users" group.
 To unsubscribe from this topic, visit
 https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
 To unsubscribe from this group and all its topics, send an email to
 django-users...@googlegroups.com.
 To view this discussion on the web visit
 https://groups.google.com/d/msgid/django-users/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
 .

>>> --
>>>
>> 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/CAN6g9JZG-4VbKFDOJtWg3rMWY4i23Gh%2Bga3PfKxYBmVMR38ayw%40mail.gmail.com
>>> 

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Jasur Suyunov
Hello my friend

Sesh, 18-yan, 2022, 7:50 TK Leo guitar girl :

> I am following the tutorial from LearnVern.com
>
>
> https://www.learnvern.com/python-tutorial-django/project-implementation-part2
>
> I have followed ditto as taught in the tutorial but the trainer has no
> issue and I have this issue.
>
> I am sharing the views.py code also
>
> from django.shortcuts import render
> from .models import *
> from random import randint
>
>
> # Create your views here.
>
> def Index(request):
> return render(request, 'myapp/index.html')
>
>
> def SignupPage(request):
> return render(request, 'myapp/signup.html')
>
>
> def RegisterUser(request):
> if request.POST['role'] == "Candidate":
> role = request.POST['role']  # Master Table Field
> fname = request.POST['fname']  # Candidate Table Field
> lname = request.POST['lname']  # Candidate Table Field
> email = request.POST['email']  # Master Table Field
> password = request.POST['password']  # Master Table Field
> cpassword = request.POST['cpassword']
>
> user = UserMaster.objects.filter(email=email)
>
> if user:
> message = "User already Exist"
> return render(request, "myapp/signup.html", {'msg': message})
> else:
> if password == cpassword:
> otp = randint(10, 99)
> newuser = UserMaster.objects.create(role=role, otp=otp, 
> email=email, password=password)
> newcand = Candidate.objects.create(user_id=newuser, 
> firstname=fname, lastname=lname)
> return render(request, "myapp/otpverify.html", {'email': 
> email})
> else:
> print("Company Registration")
>
>
> def OTPpage(request):
> return render(request, "myapp/otpverify.html")
>
>
> def OTPverify(request):
> if request.method == 'POST':
> email = request.POST['email']
> otp = request.POST['otp']
>
> user = UserMaster.objects.get(email=email)
>
> if user:
> if user.otp == otp:
> message = "OTP Verified Successfully!"
> return render(request, "myapp/login.html", {'msg': message})
> else:
> message = "OTP is incorrect"
> return render(request, "myapp/otpverify.html", {'msg': 
> message})
> else:
> return render(request, "myapp/signup.html")
>
>
> On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
> wrote:
>
>> On 18/01/2022 04.31, Leo guitar girl wrote:
>> > Oh, I apologize. I had pasted the error code here don't know why it was
>> > not sent.
>> > Actually, I am trying to create a job portal by seeing a tutorial. Now
>> I
>> > am at the step of verifying OTP. OTP is generated successfully in the
>> > database. But when I enter it to the textbox and submit, it shows
>> this error
>> >
>>
>> Which tutorial are you following?
>>
>> What's in the views.py file that is causing the error?
>>
>> Kind regards,
>>
>> Kasper Laudrup
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
>> .
>>
> --
> 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/CAN6g9JZG-4VbKFDOJtWg3rMWY4i23Gh%2Bga3PfKxYBmVMR38ayw%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/CAGCNaHq%2B7u97EmsxRuMm0cviQj%3DmQFgp9cLSO398Q2hfZSb44A%40mail.gmail.com.


Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Abubakar Siddique
Hi,

Hope you are well

Did you successfully find the bug or not


here is my whatsapp number
You can contact here
923158090326

Thanks

On Tue, Jan 18, 2022 at 8:32 AM Leo guitar girl 
wrote:

> Oh, I apologize. I had pasted the error code here don't know why it was
> not sent.
> Actually, I am trying to create a job portal by seeing a tutorial. Now I
> am at the step of verifying OTP. OTP is generated successfully in the
> database. But when I enter it to the textbox and submit, it shows this error
>
> [image: image.png]
>
> *Please Note: I am gett*ing the submitted email from the database and
> showing it at the OTP verify page in a read-only field.
>
> Here is the Copy Paste view also of the error message
>
> Environment:
>
>
> Request Method: POST
> Request URL: http://127.0.0.1:8000/otp/
>
> Django Version: 4.0.1
> Python Version: 3.9.9
> Installed Applications:
> ['django.contrib.admin',
>  'django.contrib.auth',
>  'django.contrib.contenttypes',
>  'django.contrib.sessions',
>  'django.contrib.messages',
>  'django.contrib.staticfiles',
>  'myapp']
> Installed Middleware:
> ['django.middleware.security.SecurityMiddleware',
>  'django.contrib.sessions.middleware.SessionMiddleware',
>  'django.middleware.common.CommonMiddleware',
>  'django.middleware.csrf.CsrfViewMiddleware',
>  'django.contrib.auth.middleware.AuthenticationMiddleware',
>  'django.contrib.messages.middleware.MessageMiddleware',
>  'django.middleware.clickjacking.XFrameOptionsMiddleware']
>
>
>
> Traceback (most recent call last):
>   File
> "C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\utils\datastructures.py",
> line 83, in __getitem__
> list_ = super().__getitem__(key)
>
> During handling of the above exception ('email'), another exception
> occurred:
>   File
> "C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\core\handlers\exception.py",
> line 47, in inner
> response = get_response(request)
>   File
> "C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\core\handlers\base.py",
> line 181, in _get_response
> response = wrapped_callback(request, *callback_args, **callback_kwargs)
>   File "C:\Users\jarry\PycharmProjects\JobPortal\myapp\views.py", line 46,
> in OTPverify
> email = request.POST['email']
>   File
> "C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\utils\datastructures.py",
> line 85, in __getitem__
> raise MultiValueDictKeyError(key)
>
> Exception Type: MultiValueDictKeyError at /otp/
> Exception Value: 'email'
>
> *Thank You for your support. *
>
> On Mon, Jan 17, 2022 at 1:15 AM Kasper Laudrup 
> wrote:
>
>> On 16/01/2022 11.03, Leo guitar girl wrote:
>> >
>> > *This is the error I am getting at OTP verification step. Please guide
>> > me where I am wrong. *
>> > *
>>
>> No one here would have any idea what "OTP verification step" you are
>> talking about.
>>
>> You haven't written anything about what you are trying to achieve or
>> shared any relevant code so it's close to impossible for anyone to help
>> you.
>>
>> So your first step would be to learn how to ask questions in general.
>> Consider reading something like this:
>>
>> http://www.catb.org/~esr/faqs/smart-questions.html
>>
>> Kind regards,
>>
>> Kasper Laudrup
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/60ef1f71-85b3-0fad-d9b8-ad48139fb01e%40stacktrace.dk
>> .
>>
> --
> 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/CAN6g9JZ26XSF%3DtQp6%2BXrwx1

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Bernard Mallala

In your model, be sure to address defaults and required values such that 
something is passed or be user to validate.

Replace 
request.POST['']

With
request.POST.get('')

For example request.POST['otp'] 
TO 
request.POST.get['otp'] 



On Tuesday, January 18, 2022 at 9:00:41 AM UTC-7 bikash...@gmail.com wrote:

> first of what did you use to generate otp. If you've used pyotp libraries 
> then you can verify otp in simple step and the documentation is good in 
> pyotp.
>
> On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl  
> wrote:
>
>> I am following the tutorial from LearnVern.com 
>>
>>
>> https://www.learnvern.com/python-tutorial-django/project-implementation-part2
>>
>> I have followed ditto as taught in the tutorial but the trainer has no 
>> issue and I have this issue. 
>>
>> I am sharing the views.py code also 
>>
>> from django.shortcuts import render
>> from .models import *
>> from random import randint
>>
>>
>> # Create your views here.
>>
>> def Index(request):
>> return render(request, 'myapp/index.html')
>>
>>
>> def SignupPage(request):
>> return render(request, 'myapp/signup.html')
>>
>>
>> def RegisterUser(request):
>> if request.POST['role'] == "Candidate":
>> role = request.POST['role']  # Master Table Field
>> fname = request.POST['fname']  # Candidate Table Field
>> lname = request.POST['lname']  # Candidate Table Field
>> email = request.POST['email']  # Master Table Field
>> password = request.POST['password']  # Master Table Field
>> cpassword = request.POST['cpassword']
>>
>> user = UserMaster.objects.filter(email=email)
>>
>> if user:
>> message = "User already Exist"
>> return render(request, "myapp/signup.html", {'msg': message})
>> else:
>> if password == cpassword:
>> otp = randint(10, 99)
>> newuser = UserMaster.objects.create(role=role, otp=otp, 
>> email=email, password=password)
>> newcand = Candidate.objects.create(user_id=newuser, 
>> firstname=fname, lastname=lname)
>> return render(request, "myapp/otpverify.html", {'email': 
>> email})
>> else:
>> print("Company Registration")
>>
>>
>> def OTPpage(request):
>> return render(request, "myapp/otpverify.html")
>>
>>
>> def OTPverify(request):
>> if request.method == 'POST':
>> email = request.POST['email']
>> otp = request.POST['otp']
>>
>> user = UserMaster.objects.get(email=email)
>>
>> if user:
>> if user.otp == otp:
>> message = "OTP Verified Successfully!"
>> return render(request, "myapp/login.html", {'msg': message})
>> else:
>> message = "OTP is incorrect"
>> return render(request, "myapp/otpverify.html", {'msg': 
>> message})
>> else:
>> return render(request, "myapp/signup.html")
>>
>>
>> On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup  
>> wrote:
>>
>>> On 18/01/2022 04.31, Leo guitar girl wrote:
>>> > Oh, I apologize. I had pasted the error code here don't know why it 
>>> was 
>>> > not sent.
>>> > Actually, I am trying to create a job portal by seeing a tutorial. Now 
>>> I 
>>> > am at the step of verifying OTP. OTP is generated successfully in the 
>>> > database. But when I enter it to the textbox and submit, it shows 
>>> this error
>>> > 
>>>
>>> Which tutorial are you following?
>>>
>>> What's in the views.py file that is causing the error?
>>>
>>> Kind regards,
>>>
>>> Kasper Laudrup
>>>
>>> -- 
>>> You received this message because you are subscribed to a topic in the 
>>> Google Groups "Django users" group.
>>> To unsubscribe from this topic, visit 
>>> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
>>> To unsubscribe from this group and all its topics, send an email to 
>>> django-users...@googlegroups.com.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
>>> .
>>>
>> -- 
>>
> 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/CAN6g9JZG-4VbKFDOJtWg3rMWY4i23Gh%2Bga3PfKxYBmVMR38ayw%40mail.gmail.com
>>  
>> 
>> .
>>
>
>
> -- 
> Best Regards,
> Bikash Poudel
>

-- 
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 

Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Vkash Poudel
first of what did you use to generate otp. If you've used pyotp libraries
then you can verify otp in simple step and the documentation is good in
pyotp.

On Tue, Jan 18, 2022 at 8:35 PM Leo guitar girl 
wrote:

> I am following the tutorial from LearnVern.com
>
>
> https://www.learnvern.com/python-tutorial-django/project-implementation-part2
>
> I have followed ditto as taught in the tutorial but the trainer has no
> issue and I have this issue.
>
> I am sharing the views.py code also
>
> from django.shortcuts import render
> from .models import *
> from random import randint
>
>
> # Create your views here.
>
> def Index(request):
> return render(request, 'myapp/index.html')
>
>
> def SignupPage(request):
> return render(request, 'myapp/signup.html')
>
>
> def RegisterUser(request):
> if request.POST['role'] == "Candidate":
> role = request.POST['role']  # Master Table Field
> fname = request.POST['fname']  # Candidate Table Field
> lname = request.POST['lname']  # Candidate Table Field
> email = request.POST['email']  # Master Table Field
> password = request.POST['password']  # Master Table Field
> cpassword = request.POST['cpassword']
>
> user = UserMaster.objects.filter(email=email)
>
> if user:
> message = "User already Exist"
> return render(request, "myapp/signup.html", {'msg': message})
> else:
> if password == cpassword:
> otp = randint(10, 99)
> newuser = UserMaster.objects.create(role=role, otp=otp, 
> email=email, password=password)
> newcand = Candidate.objects.create(user_id=newuser, 
> firstname=fname, lastname=lname)
> return render(request, "myapp/otpverify.html", {'email': 
> email})
> else:
> print("Company Registration")
>
>
> def OTPpage(request):
> return render(request, "myapp/otpverify.html")
>
>
> def OTPverify(request):
> if request.method == 'POST':
> email = request.POST['email']
> otp = request.POST['otp']
>
> user = UserMaster.objects.get(email=email)
>
> if user:
> if user.otp == otp:
> message = "OTP Verified Successfully!"
> return render(request, "myapp/login.html", {'msg': message})
> else:
> message = "OTP is incorrect"
> return render(request, "myapp/otpverify.html", {'msg': 
> message})
> else:
> return render(request, "myapp/signup.html")
>
>
> On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
> wrote:
>
>> On 18/01/2022 04.31, Leo guitar girl wrote:
>> > Oh, I apologize. I had pasted the error code here don't know why it was
>> > not sent.
>> > Actually, I am trying to create a job portal by seeing a tutorial. Now
>> I
>> > am at the step of verifying OTP. OTP is generated successfully in the
>> > database. But when I enter it to the textbox and submit, it shows
>> this error
>> >
>>
>> Which tutorial are you following?
>>
>> What's in the views.py file that is causing the error?
>>
>> Kind regards,
>>
>> Kasper Laudrup
>>
>> --
>> You received this message because you are subscribed to a topic in the
>> Google Groups "Django users" group.
>> To unsubscribe from this topic, visit
>> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
>> To unsubscribe from this group and all its topics, 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/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
>> .
>>
> --
> 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/CAN6g9JZG-4VbKFDOJtWg3rMWY4i23Gh%2Bga3PfKxYBmVMR38ayw%40mail.gmail.com
> 
> .
>


-- 
Best Regards,
Bikash Poudel

-- 
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/CAE0sOGxjPxmRpd2CcucoeSTFuAqa1U_CBU2N7RTxZ7GLH-kTLA%40mail.gmail.com.


Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Leo guitar girl
I am following the tutorial from LearnVern.com

https://www.learnvern.com/python-tutorial-django/project-implementation-part2

I have followed ditto as taught in the tutorial but the trainer has no
issue and I have this issue.

I am sharing the views.py code also

from django.shortcuts import render
from .models import *
from random import randint


# Create your views here.

def Index(request):
return render(request, 'myapp/index.html')


def SignupPage(request):
return render(request, 'myapp/signup.html')


def RegisterUser(request):
if request.POST['role'] == "Candidate":
role = request.POST['role']  # Master Table Field
fname = request.POST['fname']  # Candidate Table Field
lname = request.POST['lname']  # Candidate Table Field
email = request.POST['email']  # Master Table Field
password = request.POST['password']  # Master Table Field
cpassword = request.POST['cpassword']

user = UserMaster.objects.filter(email=email)

if user:
message = "User already Exist"
return render(request, "myapp/signup.html", {'msg': message})
else:
if password == cpassword:
otp = randint(10, 99)
newuser = UserMaster.objects.create(role=role,
otp=otp, email=email, password=password)
newcand = Candidate.objects.create(user_id=newuser,
firstname=fname, lastname=lname)
return render(request, "myapp/otpverify.html", {'email': email})
else:
print("Company Registration")


def OTPpage(request):
return render(request, "myapp/otpverify.html")


def OTPverify(request):
if request.method == 'POST':
email = request.POST['email']
otp = request.POST['otp']

user = UserMaster.objects.get(email=email)

if user:
if user.otp == otp:
message = "OTP Verified Successfully!"
return render(request, "myapp/login.html", {'msg': message})
else:
message = "OTP is incorrect"
return render(request, "myapp/otpverify.html", {'msg': message})
else:
return render(request, "myapp/signup.html")


On Tue, Jan 18, 2022 at 3:21 PM Kasper Laudrup 
wrote:

> On 18/01/2022 04.31, Leo guitar girl wrote:
> > Oh, I apologize. I had pasted the error code here don't know why it was
> > not sent.
> > Actually, I am trying to create a job portal by seeing a tutorial. Now I
> > am at the step of verifying OTP. OTP is generated successfully in the
> > database. But when I enter it to the textbox and submit, it shows
> this error
> >
>
> Which tutorial are you following?
>
> What's in the views.py file that is causing the error?
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> You received this message because you are subscribed to a topic in the
> Google Groups "Django users" group.
> To unsubscribe from this topic, visit
> https://groups.google.com/d/topic/django-users/P1-fQLDoncc/unsubscribe.
> To unsubscribe from this group and all its topics, 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/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk
> .
>

-- 
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/CAN6g9JZG-4VbKFDOJtWg3rMWY4i23Gh%2Bga3PfKxYBmVMR38ayw%40mail.gmail.com.


Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-18 Thread Kasper Laudrup

On 18/01/2022 04.31, Leo guitar girl wrote:
Oh, I apologize. I had pasted the error code here don't know why it was 
not sent.
Actually, I am trying to create a job portal by seeing a tutorial. Now I 
am at the step of verifying OTP. OTP is generated successfully in the 
database. But when I enter it to the textbox and submit, it shows this error




Which tutorial are you following?

What's in the views.py file that is causing the error?

Kind regards,

Kasper Laudrup

--
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/df6cb70c-d5a5-1f12-a832-ac5b46901fc4%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-16 Thread Kasper Laudrup

On 16/01/2022 11.03, Leo guitar girl wrote:


*This is the error I am getting at OTP verification step. Please guide 
me where I am wrong. *

*


No one here would have any idea what "OTP verification step" you are 
talking about.


You haven't written anything about what you are trying to achieve or 
shared any relevant code so it's close to impossible for anyone to help you.


So your first step would be to learn how to ask questions in general. 
Consider reading something like this:


http://www.catb.org/~esr/faqs/smart-questions.html

Kind regards,

Kasper Laudrup

--
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/60ef1f71-85b3-0fad-d9b8-ad48139fb01e%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Hi, I am learning Django, I am stuck at one place and can't over come after many days

2022-01-16 Thread Leo guitar girl

Environment:


Request Method: GET
Request URL: http://127.0.0.1:8000/otp/

Django Version: 4.0.1
Python Version: 3.9.9
Installed Applications:
['django.contrib.admin',
 'django.contrib.auth',
 'django.contrib.contenttypes',
 'django.contrib.sessions',
 'django.contrib.messages',
 'django.contrib.staticfiles',
 'myapp']
Installed Middleware:
['django.middleware.security.SecurityMiddleware',
 'django.contrib.sessions.middleware.SessionMiddleware',
 'django.middleware.common.CommonMiddleware',
 'django.middleware.csrf.CsrfViewMiddleware',
 'django.contrib.auth.middleware.AuthenticationMiddleware',
 'django.contrib.messages.middleware.MessageMiddleware',
 'django.middleware.clickjacking.XFrameOptionsMiddleware']



Traceback (most recent call last):
  File 
"C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\utils\datastructures.py",
 
line 83, in __getitem__
list_ = super().__getitem__(key)

During handling of the above exception ('email'), another exception 
occurred:
  File 
"C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\core\handlers\exception.py",
 
line 47, in inner
response = get_response(request)
  File 
"C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\core\handlers\base.py",
 
line 181, in _get_response
response = wrapped_callback(request, *callback_args, **callback_kwargs)
  File "C:\Users\jarry\PycharmProjects\JobPortal\myapp\views.py", line 45, 
in OTPverify
email = request.POST['email']
  File 
"C:\Users\jarry\AppData\Local\Packages\PythonSoftwareFoundation.Python.3.9_qbz5n2kfra8p0\LocalCache\local-packages\Python39\site-packages\django\utils\datastructures.py",
 
line 85, in __getitem__
raise MultiValueDictKeyError(key)

Exception Type: MultiValueDictKeyError at /otp/
Exception Value: 'email'


*This is the error I am getting at OTP verification step. Please guide me 
where I am wrong. *

*Thank You so much*

-- 
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/fa8ae7b5-e589-45b2-80f3-ae52238eab52n%40googlegroups.com.


Re: Hi I have been facing this problem for days now. Basically I am trying to send emails. I tried toggling less secured, now am using app passwords. But still does not work. Pls help I ony get this e

2021-12-19 Thread Hussein Naim

hey , this error can be solved when you turn on less app seucrty and useing 
app password in google account(gmail)
في الأحد، 19 ديسمبر 2021 في تمام الساعة 4:37:00 ص UTC+3، كتب 
oluwadam...@gmail.com رسالة نصها:

> [image: Screenshot (50).png]
>

-- 
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/71f85185-abbc-4b8d-a701-70c94a07e663n%40googlegroups.com.


Re: Hi I have been facing this problem for days now. Basically I am trying to send emails. I tried toggling less secured, now am using app passwords. But still does not work. Pls help I ony get this e

2021-12-19 Thread Kasper Laudrup

Hi Oluwa,

Before trying to write code for sending emails, try to learn how to 
write one yourself.


There's a difference between the "Subject" header and the email body. 
Seems like you've written the entire body of the email in the "Subject" 
field. Please don't do that.


After learning that, if you want someone to help you, try to provide the 
relevant details. No one here would have any idea of the context of your 
problem.


Share the relevant code snippets, which SMTP server are you trying to 
use and so on.


Doing so will greatly improve the chances of getting any help. With what 
you have provided so far, I doubt anyone will be able to help you.


Kind regards,

Kasper Laudrup

--
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/98c2bf55-c0ce-a042-25fa-33a2ddb7c58a%40stacktrace.dk.


OpenPGP_0xE5D9CAC64AAA55EB.asc
Description: OpenPGP public key


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hi, How can I implement Microservices and Serverless with Django on AWS?

2021-10-31 Thread Edchel Stephen Nini
Thank you for your reply. Will check this links out!

Thanks a lot 

On Sat, Oct 30, 2021, 9:29 PM MR INDIA,  wrote:

> Microservices can be implemented via APIs Rest Or Graphql it is your
> choice and as a matter of fact Django can run server less infrastructures.
> See this talk about server less with Django: https://youtu.be/oYy9_4fm56o
>  or this tutorial: https://youtu.be/WaiL4sbaj_o
> Microservices : https://youtu.be/0iB5IPoTDts
>
> On Friday, 29 October 2021 at 19:36:44 UTC+5:30 edchels...@gmail.com
> wrote:
>
>> Just attended yesterday the AWS Innovate Modern Applications in this link:
>>
>> https://innovate-modernapps-apj.virtual.awsevents.com/
>>
>> I'm really interested on the Microservices and Serverless approach.
>>
>> How can I implement this with django?
>>
>> Thanks in advance!
>>
>> Sincerely,
>> Ed
>
> --
> 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/a432f043-ec18-4d7c-b30e-a4f573cf8e0an%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/CAMeVmuqPUXoym56M%3DytgGiJvzhSDELjUwA6OfROn%2Bu5ufLG6RQ%40mail.gmail.com.


Re: Hi, i had question in django rest framework

2021-10-30 Thread MR INDIA
see the license page

On Saturday, 30 October 2021 at 17:55:09 UTC+5:30 kkwaq...@gmail.com wrote:

> I am waqar khan 
> I am from Maharashtra in thane city 
> i am looking for job python web developer 
> Please recommend any job.
>
>
> On Fri, Oct 29, 2021 at 10:16 PM taxijjang  wrote:
>
>> Hello I am a backend developer who is developing python django.
>> I sent you an e-mail because I had a question.
>> Currently, my company provides web services using pure django.
>> As the company grew bigger and bigger,
>> the direction of development was decided through api communication by 
>> separating the front and backend from one django project,
>> and we are trying to proceed with api communication using the django rest 
>> framework.
>> At this time, do I have to pay the usage fee when I want to develop it 
>> using the django rest framework for commercial purposes in the project 
>> currently being serviced by the company?
>> Or if you can use it without paying the usage fee, do you have to 
>> disclose the source or any restrictions under the license?
>>
>> -- 
>>
> 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/ffda96a9-7ef1-4318-b895-aa4d5e61d80dn%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/0ebcf950-e7da-4a3c-b70c-e4c68b03c1d5n%40googlegroups.com.


Re: Hi, How can I implement Microservices and Serverless with Django on AWS?

2021-10-30 Thread MR INDIA
Microservices can be implemented via APIs Rest Or Graphql it is your choice 
and as a matter of fact Django can run server less infrastructures. See 
this talk about server less with Django: https://youtu.be/oYy9_4fm56o  or 
this tutorial: https://youtu.be/WaiL4sbaj_o 
Microservices : https://youtu.be/0iB5IPoTDts 

On Friday, 29 October 2021 at 19:36:44 UTC+5:30 edchels...@gmail.com wrote:

> Just attended yesterday the AWS Innovate Modern Applications in this link:
>
> https://innovate-modernapps-apj.virtual.awsevents.com/
>
> I'm really interested on the Microservices and Serverless approach.
>
> How can I implement this with django?
>
> Thanks in advance!
>
> Sincerely,
> Ed

-- 
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/a432f043-ec18-4d7c-b30e-a4f573cf8e0an%40googlegroups.com.


Re: Hi, i had question in django rest framework

2021-10-30 Thread waqar khan
I am waqar khan
I am from Maharashtra in thane city
i am looking for job python web developer
Please recommend any job.


On Fri, Oct 29, 2021 at 10:16 PM taxijjang  wrote:

> Hello I am a backend developer who is developing python django.
> I sent you an e-mail because I had a question.
> Currently, my company provides web services using pure django.
> As the company grew bigger and bigger,
> the direction of development was decided through api communication by
> separating the front and backend from one django project,
> and we are trying to proceed with api communication using the django rest
> framework.
> At this time, do I have to pay the usage fee when I want to develop it
> using the django rest framework for commercial purposes in the project
> currently being serviced by the company?
> Or if you can use it without paying the usage fee, do you have to disclose
> the source or any restrictions under the license?
>
> --
> 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/ffda96a9-7ef1-4318-b895-aa4d5e61d80dn%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/CA%2B08CANh%3D4FzD-35QfDVs1xyrPAioEYq%2BqwXDZWLqM8%3DkUC6mA%40mail.gmail.com.


Re: Hi, i had question in django rest framework

2021-10-29 Thread Sunil Gyawali
I really want to work in django

On Fri, Oct 29, 2021, 10:15 PM taxijjang  wrote:

> Hello I am a backend developer who is developing python django.
> I sent you an e-mail because I had a question.
> Currently, my company provides web services using pure django.
> As the company grew bigger and bigger,
> the direction of development was decided through api communication by
> separating the front and backend from one django project,
> and we are trying to proceed with api communication using the django rest
> framework.
> At this time, do I have to pay the usage fee when I want to develop it
> using the django rest framework for commercial purposes in the project
> currently being serviced by the company?
> Or if you can use it without paying the usage fee, do you have to disclose
> the source or any restrictions under the license?
>
> --
> 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/ffda96a9-7ef1-4318-b895-aa4d5e61d80dn%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/CAGL7DWy%2BnGxj4%3DqKjsy7v5zVPr%2B5jsh%3DM%2BzLZ8jmc1CAcRigAQ%40mail.gmail.com.


Hi, i had question in django rest framework

2021-10-29 Thread taxijjang
Hello I am a backend developer who is developing python django.
I sent you an e-mail because I had a question.
Currently, my company provides web services using pure django.
As the company grew bigger and bigger,
the direction of development was decided through api communication by 
separating the front and backend from one django project,
and we are trying to proceed with api communication using the django rest 
framework.
At this time, do I have to pay the usage fee when I want to develop it 
using the django rest framework for commercial purposes in the project 
currently being serviced by the company?
Or if you can use it without paying the usage fee, do you have to disclose 
the source or any restrictions under the license?

-- 
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/ffda96a9-7ef1-4318-b895-aa4d5e61d80dn%40googlegroups.com.


Hi, How can I implement Microservices and Serverless with Django on AWS?

2021-10-29 Thread Edchel Stephen Nini
Just attended yesterday the AWS Innovate Modern Applications in this link:

https://innovate-modernapps-apj.virtual.awsevents.com/

I'm really interested on the Microservices and Serverless approach.

How can I implement this with django?

Thanks in advance!

Sincerely,
Ed

-- 
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/855a49da-65c9-4506-ad48-07a05ea4a985n%40googlegroups.com.


Re: Hi How to setup mod_wsgi in httpd and ssl of cloudflare within oracle autonomous Linux 7.9?

2021-09-18 Thread hey there
django 3.2.7
cx_oracle 8
oel 7.9
python 3.2.7


On Saturday, September 18, 2021 at 2:25:58 AM UTC+5:30 hey there wrote:

> Hi
>
>  
>
> How to setup mod_wsgi in httpd and ssl of cloudflare within oracle 
> autonomous Linux 7.9?
>

-- 
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/ac67106d-979c-41bd-903e-31cb13381879n%40googlegroups.com.


Hi How to setup mod_wsgi in httpd and ssl of cloudflare within oracle autonomous Linux 7.9?

2021-09-17 Thread hey there


Hi

 

How to setup mod_wsgi in httpd and ssl of cloudflare within oracle 
autonomous Linux 7.9?

-- 
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/179f4a17-1f58-44eb-9c44-78eec8e2cb63n%40googlegroups.com.


Re: hi

2021-09-14 Thread Dev Burna
Hello 

Sent from my iPhone

> On Sep 14, 2021, at 2:43 PM, Jonathan MBADOU  wrote:
> 
> hi
> -- 
> 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/851a7bb3-dedd-4c59-962c-a5bbf85478aan%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/2BDFE709-1767-4C32-8FAE-82ED0A5995D2%40gmail.com.


hi

2021-09-14 Thread Jonathan MBADOU
hi

-- 
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/851a7bb3-dedd-4c59-962c-a5bbf85478aan%40googlegroups.com.


Re: Hi django

2021-06-24 Thread DJANGO DEVELOPER
muhammad haris salamat just make a form in your template, then have a
name='any name here' and then make a view in which you have to get the name
in the following way.
query = request.POST.get('any name here')
and then do this:
value = ModelName.objects.filter(Q(model_field = query)


On Thu, Jun 24, 2021 at 10:31 PM muhammad haris salamat <
harissalama...@gmail.com> wrote:

> Hi all can u help me plz how I can use filter with Contain query in Django
> I wanna fetch all data from my database with the help of filter query
>
> On Thu, 24 Jun 2021, 9:17 pm Richard Dushime, 
> wrote:
>
>> THANK U I HAVE DONE TO FIX IT ITS NOW WORKING
>>
>> On Thu, Jun 24, 2021 at 6:04 PM Julio Cojom 
>> wrote:
>>
>>> Django framework uses urls to math the html files. This work with the
>>> same syntax of static files, you would use {% url 'app:viewname' %} to
>>> render any page with Django.
>>>
>>> You should check the docs of urls to understand how it works and get
>>> this done.
>>>
>>> Regards
>>>
>>> El jue., 24 de junio de 2021 9:00 a. m., Richard Dushime <
>>> mudaherar...@gmail.com> escribió:
>>>
>>>> i have a problem on my navigation bar on the index.html link when i
>>>> click on it its showing me the error (see error.png)  or everything apart
>>>> that its working fine  need ur help
>>>> >>> "{% static 'assets/img/hero-logo.png' %}" alt="">
>>>>   
>>>> >>> "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>>>>   
>>>>
>>>>   
>>>> 
>>>>   Home
>>>>   About
>>>> 
>>>>   About Us
>>>>   Team
>>>> 
>>>>   
>>>>   Services
>>>>
>>>>   >>> "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>>>>
>>>>   Portfolio
>>>>   Pricing
>>>>   Contact
>>>>
>>>> 
>>>>   
>>>>
>>>>
>>>> --
>>>> 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/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com
>>>> <https://groups.google.com/d/msgid/django-users/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com?utm_medium=email_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/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%40mail.gmail.com?utm_medium=email_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/CAJCm56Jn1WOtp-hGbFoDS6uYy8A5ZSom7fD6j_UG%3D-oM4WQWng%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAJCm56Jn1WOtp-hGbFoDS6uYy8A5ZSom7fD6j_UG%3D-oM4WQWng%40mail.gmail.com?utm_medium=email_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/CA%2BOEwHsNuBGuH8fr3LoooK6K78F%2BZJb0OhBMxJcCuTG-K9Zkbw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BOEwHsNuBGuH8fr3LoooK6K78F%2BZJb0OhBMxJcCuTG-K9Zkbw%40mail.gmail.com?utm_medium=email_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/CAKPY9pkHrO9HEPKsK15qfnKqFMkfvMR4EDqysB0MpJ2MJTKEEQ%40mail.gmail.com.


Re: Hi django

2021-06-24 Thread muhammad haris salamat
Hi all can u help me plz how I can use filter with Contain query in Django
I wanna fetch all data from my database with the help of filter query

On Thu, 24 Jun 2021, 9:17 pm Richard Dushime, 
wrote:

> THANK U I HAVE DONE TO FIX IT ITS NOW WORKING
>
> On Thu, Jun 24, 2021 at 6:04 PM Julio Cojom 
> wrote:
>
>> Django framework uses urls to math the html files. This work with the
>> same syntax of static files, you would use {% url 'app:viewname' %} to
>> render any page with Django.
>>
>> You should check the docs of urls to understand how it works and get this
>> done.
>>
>> Regards
>>
>> El jue., 24 de junio de 2021 9:00 a. m., Richard Dushime <
>> mudaherar...@gmail.com> escribió:
>>
>>> i have a problem on my navigation bar on the index.html link when i
>>> click on it its showing me the error (see error.png)  or everything apart
>>> that its working fine  need ur help
>>> >> "{% static 'assets/img/hero-logo.png' %}" alt="">
>>>   
>>> >> "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>>>   
>>>
>>>   
>>> 
>>>   Home
>>>   About
>>> 
>>>   About Us
>>>   Team
>>> 
>>>   
>>>   Services
>>>
>>>   >> "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>>>
>>>   Portfolio
>>>   Pricing
>>>   Contact
>>>
>>> 
>>>   
>>>
>>>
>>> --
>>> 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/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com?utm_medium=email_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/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%40mail.gmail.com?utm_medium=email_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/CAJCm56Jn1WOtp-hGbFoDS6uYy8A5ZSom7fD6j_UG%3D-oM4WQWng%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJCm56Jn1WOtp-hGbFoDS6uYy8A5ZSom7fD6j_UG%3D-oM4WQWng%40mail.gmail.com?utm_medium=email_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/CA%2BOEwHsNuBGuH8fr3LoooK6K78F%2BZJb0OhBMxJcCuTG-K9Zkbw%40mail.gmail.com.


Re: Hi django

2021-06-24 Thread Richard Dushime
THANK U I HAVE DONE TO FIX IT ITS NOW WORKING

On Thu, Jun 24, 2021 at 6:04 PM Julio Cojom 
wrote:

> Django framework uses urls to math the html files. This work with the same
> syntax of static files, you would use {% url 'app:viewname' %} to render
> any page with Django.
>
> You should check the docs of urls to understand how it works and get this
> done.
>
> Regards
>
> El jue., 24 de junio de 2021 9:00 a. m., Richard Dushime <
> mudaherar...@gmail.com> escribió:
>
>> i have a problem on my navigation bar on the index.html link when i click
>> on it its showing me the error (see error.png)  or everything apart that
>> its working fine  need ur help
>> > "{% static 'assets/img/hero-logo.png' %}" alt="">
>>   
>> > "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>>   
>>
>>   
>> 
>>   Home
>>   About
>> 
>>   About Us
>>   Team
>> 
>>   
>>   Services
>>
>>   > "{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>>
>>   Portfolio
>>   Pricing
>>   Contact
>>
>> 
>>   
>>
>>
>> --
>> 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/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%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/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%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/CAJCm56Jn1WOtp-hGbFoDS6uYy8A5ZSom7fD6j_UG%3D-oM4WQWng%40mail.gmail.com.


Re: Hi django

2021-06-24 Thread Julio Cojom
Django framework uses urls to math the html files. This work with the same
syntax of static files, you would use {% url 'app:viewname' %} to render
any page with Django.

You should check the docs of urls to understand how it works and get this
done.

Regards

El jue., 24 de junio de 2021 9:00 a. m., Richard Dushime <
mudaherar...@gmail.com> escribió:

> i have a problem on my navigation bar on the index.html link when i click
> on it its showing me the error (see error.png)  or everything apart that
> its working fine  need ur help
>  "{% static 'assets/img/hero-logo.png' %}" alt="">
>   
>   alt="" class="img-fluid">
>   
>
>   
> 
>   Home
>   About
> 
>   About Us
>   Team
> 
>   
>   Services
>
>"{% static 'assets/img/logo.png' %}" alt="" class="img-fluid">
>
>   Portfolio
>   Pricing
>   Contact
>
> 
>   
>
>
> --
> 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/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%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/CAHRQUHmOdq-yXfQdkDRcvjdf727U1Wr1HogjVpP1bw0o7rN61w%40mail.gmail.com.


Hi django

2021-06-24 Thread Richard Dushime
i have a problem on my navigation bar on the index.html link when i click
on it its showing me the error (see error.png)  or everything apart that
its working fine  need ur help

  

  

  

  Home
  About

  About Us
  Team

  
  Services

  

  Portfolio
  Pricing
  Contact


  

-- 
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/CAJCm56L%2BG%3D8tLZ%3D3sZ0%3Dh%3Ds-w5AXaLroU3nkgoKZO6Fj8xqFBw%40mail.gmail.com.


Re: Hi all, i'm using 2 modelforms in one view function one as foreign key but when i submit babyform2 not storing in database. anyone please fix this

2021-06-01 Thread Lalit Suthar
because you're passing commit=False with form2

On Tue, 1 Jun 2021 at 14:10, Hugh Frost  wrote:

> def detail(request):
> if request.method == 'POST':
> baby_form1 = BabyForm1(data=request.POST)
> baby_form2 = BabyForm2(data=request.POST)
>
> if baby_form1.is_valid() and baby_form2.is_valid():
> baby_form1.save()
> print(baby_form1)
> baby_form2.baby_form1 = baby_form1
> baby_form2.save(commit=False)
> print(baby_form2)
> baby_form2.baby_form1
>
> return redirect('userapp:home')
>
>
> else:
> baby_form1 = BabyForm1()
> baby_form2 = BabyForm2()
> return render(request,'userapp_temp/profile.html',
> {'baby_form1':baby_form1, 'baby_form2':baby_form2,})
>
> --
> 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/73c21cb8-9127-401c-88b2-fa94446cc37bn%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/CAGp2JVEjC4N4p9R-4JsGd%3Dh78bvZUz-XDij6_aA-4fgtmcQEjA%40mail.gmail.com.


Hi all, i'm using 2 modelforms in one view function one as foreign key but when i submit babyform2 not storing in database. anyone please fix this

2021-06-01 Thread Hugh Frost
def detail(request):
if request.method == 'POST':
baby_form1 = BabyForm1(data=request.POST)
baby_form2 = BabyForm2(data=request.POST)

if baby_form1.is_valid() and baby_form2.is_valid():
baby_form1.save()
print(baby_form1)
baby_form2.baby_form1 = baby_form1
baby_form2.save(commit=False)
print(baby_form2)
baby_form2.baby_form1
   
return redirect('userapp:home')

   
else:
baby_form1 = BabyForm1()
baby_form2 = BabyForm2()
return render(request,'userapp_temp/profile.html', 
{'baby_form1':baby_form1, 'baby_form2':baby_form2,})

-- 
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/73c21cb8-9127-401c-88b2-fa94446cc37bn%40googlegroups.com.


Re: Hi group am new here

2021-04-04 Thread Kasper Laudrup
On 05/04/2021 01.45, believeme mum007 wrote:
> i keep seeing this and hear about it but not much, please will be happy
> if i could be well training about it
>

You keep seeing and hearing what and what will you be well training about?

Sorry, but you're not making any sense.

Feel free to ask a question even in your native language. Someone might
be able to help you.

Kind regards,

Kasper Laudrup

-- 
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/cdc67279-d0bd-3b52-f3ec-8646b133e51f%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hi group am new here

2021-04-04 Thread believeme mum007
i keep seeing this and hear about it but not much, please will be happy if
i could be well training about it

On Sun, Apr 4, 2021 at 10:31 PM Kasper Laudrup 
wrote:

> On 04/04/2021 23.09, frank galan wrote:
> > It is not a translation from spanish at all, may be  should came from
> > another language, or it is an incomplete question and he was mean
> > machine learning, could be?
> >
>
> I hadn't thought about it might be machine learning and the mail was
> just sent before finished.
>
> Good point. I was just curious whatever "the machine" might refer to. I
> remember raging against the machine in my younger days, but never
> concerning it :-)
>
> Anyway, I definitely don't mean to ridicule anyone, so I should better
> just leave at this. I was just geniously curious.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/7cb7d736-e81e-4653-4e8d-85e8655fcea9%40stacktrace.dk
> .
>

-- 
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/CAJdbFNKwS57tEK9NTofwoAjxWrmMrGrjfYA7%3DD6mX60puePTfw%40mail.gmail.com.


Re: Hi group am new here

2021-04-04 Thread Kasper Laudrup
On 04/04/2021 23.09, frank galan wrote:
> It is not a translation from spanish at all, may be  should came from
> another language, or it is an incomplete question and he was mean
> machine learning, could be?
> 

I hadn't thought about it might be machine learning and the mail was
just sent before finished.

Good point. I was just curious whatever "the machine" might refer to. I
remember raging against the machine in my younger days, but never
concerning it :-)

Anyway, I definitely don't mean to ridicule anyone, so I should better
just leave at this. I was just geniously curious.

Kind regards,

Kasper Laudrup

-- 
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/7cb7d736-e81e-4653-4e8d-85e8655fcea9%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Re: Hi group am new here

2021-04-04 Thread frank galan
It is not a translation from spanish at all, may be  should came from
another language, or it is an incomplete question and he was mean machine
learning, could be?

El dom, 4 abr 2021 a las 21:24, Kasper Laudrup ()
escribió:

> On 04/04/2021 12.08, believeme mum007 wrote:
> >
> > Please i will be happy to see who will explain well for me concerning
> > the machine
> >
>
> This has to be one of the funniest things I've read here so far.
>
> Would anyone happen to know if this is a case of bad machine translation
> and if so from which language?
>
> Just curious.
>
> Best regards,
>
> Kasper Laudrup
>
> --
> 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/6e5af770-7f43-1205-f5e1-bac7eabc48a9%40stacktrace.dk
> .
>

-- 
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/CAPedvKWUMWXZnD%2BocGyxgZykqpsLYtTcJOVyyaV-tmoNzJBR3Q%40mail.gmail.com.


Re: Hi group am new here

2021-04-04 Thread Kasper Laudrup
On 04/04/2021 12.08, believeme mum007 wrote:
> 
> Please i will be happy to see who will explain well for me concerning
> the machine
>

This has to be one of the funniest things I've read here so far.

Would anyone happen to know if this is a case of bad machine translation
and if so from which language?

Just curious.

Best regards,

Kasper Laudrup

-- 
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/6e5af770-7f43-1205-f5e1-bac7eabc48a9%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Hi group am new here

2021-04-04 Thread believeme mum007

Please i will be happy to see who will explain well for me concerning the 
machine

-- 
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/5751ae26-ca35-4f4e-b596-0a50ad2c9524n%40googlegroups.com.


Re: hi mates trouble with ajax 500 error server

2021-03-28 Thread frank galan
Thanks a lot, you're right. I solved it. Thanks


El dom, 28 mar 2021 a las 0:57, Kasper Laudrup ()
escribió:

> On 27/03/2021 21.41, frank galan wrote:
> > thanks, here is the server error response
> >
> > NameError: name 'JsonResponse' is not defined
> >
>
> That error message should be fairly obvious. You haven't defined
> anything called JsonResponse.
>
> You most likely just need to import the correct module. I don't know
> what that would be, but it would probably be from the library you use to
> generate JSON responses whatever that might be.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/f6eff0e2-5eb2-5225-78ca-5f80d4827ee7%40stacktrace.dk
> .
>

-- 
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/CAPedvKXzMWM3aSoPq86VjS6yBeUhJ_ARPWdX4jAEGkm7KesrOQ%40mail.gmail.com.


Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread Kasper Laudrup
On 27/03/2021 21.41, frank galan wrote:
> thanks, here is the server error response
> 
> NameError: name 'JsonResponse' is not defined
> 

That error message should be fairly obvious. You haven't defined
anything called JsonResponse.

You most likely just need to import the correct module. I don't know
what that would be, but it would probably be from the library you use to
generate JSON responses whatever that might be.

Kind regards,

Kasper Laudrup

-- 
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/f6eff0e2-5eb2-5225-78ca-5f80d4827ee7%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread frank galan
thanks, here is the server error response

Traceback (most recent call last):

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/core/handlers/exception.py",
line 47, in inner

response = get_response(request)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/core/handlers/base.py",
line 179, in _get_response

response = wrapped_callback(request, *callback_args, **callback_kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/views/generic/base.py",
line 70, in view

return self.dispatch(request, *args, **kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/utils/decorators.py",
line 43, in _wrapper

return bound_method(*args, **kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/views/decorators/csrf.py",
line 54, in wrapped_view

return view_func(*args, **kwargs)

  File
"/Users/blackmaster/Documents/programacion/proyectos_django/localsys/backoffice/views/sold.py",
line 49, in dispatch

return super().dispatch(*args, **kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/contrib/auth/mixins.py",
line 52, in dispatch

return super().dispatch(request, *args, **kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/views/generic/base.py",
line 98, in dispatch

return handler(request, *args, **kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/utils/decorators.py",
line 43, in _wrapper

return bound_method(*args, **kwargs)

  File
"/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/site-packages/django/views/decorators/csrf.py",
line 54, in wrapped_view

return view_func(*args, **kwargs)

  File
"/Users/blackmaster/Documents/programacion/proyectos_django/localsys/backoffice/views/sold.py",
line 72, in post

return JsonResponse(data, safe=False)

NameError: name 'JsonResponse' is not defined

[27/Mar/2021 20:39:37] *"POST /dashboard/backoffice/new_sold HTTP/1.1" 500
96481*

El sáb, 27 mar 2021 a las 18:48, Kasper Laudrup ()
escribió:

> On 27/03/2021 15.13, frank galan wrote:
> > Im receiving a 500 server error,  when I trying  to obtain data wiith
> > ajax from my model.
>
> You should look at the server logs or the output from the console. That
> should hopefully provide some details on the reason behind the "Internal
> Server Error".
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/b3540a30-7ece-f675-c3eb-710e74065686%40stacktrace.dk
> .
>

-- 
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/CAPedvKX-fEz5S9QJHLvMfKLuv-HuHi1ztnd8%3Dz_y9_cJ3LgPAQ%40mail.gmail.com.


Re: hi mates trouble with ajax 500 error server

2021-03-27 Thread Kasper Laudrup
On 27/03/2021 15.13, frank galan wrote:
> Im receiving a 500 server error,  when I trying  to obtain data wiith
> ajax from my model. 

You should look at the server logs or the output from the console. That
should hopefully provide some details on the reason behind the "Internal
Server Error".

Kind regards,

Kasper Laudrup

-- 
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/b3540a30-7ece-f675-c3eb-710e74065686%40stacktrace.dk.


OpenPGP_signature
Description: OpenPGP digital signature


hi mates trouble with ajax 500 error server

2021-03-27 Thread frank galan
Im receiving a 500 server error,  when I trying  to obtain data wiith ajax 
from my model. 
 My details are as follows:
*Model:*
class Item(models.Model):
"""Items Product model"""
operation = models.ForeignKey(Operation, on_delete=models.CASCADE)
brand = models.ForeignKey(Brand, on_delete=models.CASCADE)
subcategory = models.ForeignKey(SubcategoryItem, 
on_delete=models.CASCADE)
categ = models.ForeignKey(CategItem, on_delete=models.CASCADE)
section = models.ForeignKey(Section, on_delete=models.CASCADE)
currency = models.ForeignKey(Currency, on_delete=models.CASCADE)
item_name = models.CharField(max_length=255, verbose_name='item')
item_description = models.TextField(null=True)
item_SKU = models.CharField(max_length=100, null=False, blank=True)
ean = models.CharField(max_length=100, unique=True)
created_at = models.DateTimeField(auto_now_add=True)
updated_at = models.DateTimeField(auto_now=True)
status = models.CharField(max_length=100, null=True)
is_active = models.BooleanField()
price = models.PositiveIntegerField(null=True)
purchase_price = models.PositiveIntegerField(null=True, blank=True)
tax = models.PositiveIntegerField(null=True)
color = models.CharField(max_length=30, null=True)
size = models.CharField(max_length=3, null=True, blank=True)
weight = models.CharField(max_length=5, null=True, blank=True)
height = models.CharField(max_length=5, null=True, blank=True)

image = models.ImageField(
upload_to='backoffice/static/images',
blank=True,
null=True
)
image_1 = models.ImageField(
upload_to='backoffice/static/images',
blank=True,
null=True
)
image_2 = models.ImageField(
upload_to='backoffice/static/images',
blank=True,
null=True
)
image_3 = models.ImageField(
upload_to='backoffice/static/images',
blank=True,
null=True
)
image_4 = models.ImageField(
upload_to='backoffice/static/images',
blank=True,
null=True
)
image_5 = models.ImageField(
upload_to='backoffice/static/images',
blank=True,
null=True
)

class Meta:
ordering = ('item_name',)

def __str__(self):
return self.item_name

def toJson(self):
item = model_to_dict(self)
item['item_name'] = self.item_name.toJson()
item['item_description'] = self.item_description.toJson()
item['item_SKU'] = self.item_SKU.toJson()
item['operation'] = self.operation.toJson()
item['brand'] = self.brand.toJson()
item['subcategory'] = self.subcategory.toJson()
item['categ'] = self.categ.toJson()
item['section'] = self.section.toJson()
item['price'] = format(self.price, '.2f')
item['purchase_price'] = format(self.purchase_price, '.2f')
item['tax'] = format(self.tax, '.2f')
item['weight'] = format(self.weight, '.2f')
item['height'] = format(self.height, '.2f')
return item
   
def get_absolute_url(self):
return reverse('all_items.html', kwargs={'pk':self.id})


*HTML :*


  
  

  
  

*Ajax*
$('#search_box').autocomplete({
source:function(request, response){
alert(request.term);

$.ajax({
url:window.location.pathname,
type: 'POST',
data: {
'action':'search_item',
'term': request.term
},
dataType:'json',
}).done(function(data){
response(data);
alert('hola');
}).fail(function (jqXHR,textStatus, errorTrown){
alert( errorTrown);
}).always(function(data){

});

},
delay: 500,
minLength: 1,
select: function(event, ui){
console.log(ui.item);

}
});

*Sold.py View*

#Creating an invoice instance
class SoldCreate(LoginRequiredMixin, CreateView):
model = Sold
form_class = SoldForm
template_name = 'solds/add_invoice.html'

def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context['tittle'] = 'Sold Forms'
context['table_tittle'] = 'New sold'
context['table_subtittle'] = 'Add here your new solds'
return context

@method_decorator(csrf_exempt)
def dispatch(self, *args, **kwargs):
return super().dispatch(*args, **kwargs)

@method_decorator(csrf_exempt)
def post(self, request, *args,**kwargs):
data={}
try:
action == request.POST['action']
if action == 'search_item':
data = []

prods = 
Item.objects.filter(name__icontains=request.POST['term'])
  

for i in prods:
item = i.item_description
item['value'] = i.item_name
data.append(item)

else:
data['error']='no ha 

Re: Hi how to another app URL config to main project URLs

2021-03-20 Thread Omkar Parab
path('' ", include('name_of_your_app.urls')).

Tip - You should learn more about, how to send an email.

On Sat, Mar 20, 2021, 10:41 PM Mahendra  wrote:

>
>
> Mahendra Yadav
>
> --
> 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/CAN-6G3xxU%3DMCXSKP%2BbJRUoo5GbT-9akM25QeT%2B-4n7zML6XsMQ%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/CAJY8mfxMKUDrDq_FS-wy1KgxZC%2B31qV6cBa%2BUkhZ2VO8dUnACw%40mail.gmail.com.


Hi how to another app URL config to main project URLs

2021-03-20 Thread Mahendra
Mahendra Yadav

-- 
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/CAN-6G3xxU%3DMCXSKP%2BbJRUoo5GbT-9akM25QeT%2B-4n7zML6XsMQ%40mail.gmail.com.


Re: Hi

2021-02-03 Thread Kelechi Divine
The same problem that I am passing through!
But in case you've seen any help somewhere then i'd appreciate if you'd
share.

On Thu, 28 Jan 2021 at 17:45, Sunday Iyanu Ajayi 
wrote:

> Hi  Florin,
>
> What support do you need? You can reach out via my email.
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.com *
>
>
>
> On Tue, Jan 26, 2021 at 3:10 PM Florin Ngabire 
> wrote:
>
>> My name is florin.i need a support. A small Python project in django
>> framework
>>
>> --
>> 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/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com?utm_medium=email_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/CAKYSAw2PEDYL6PmFpWOzHqdDyYGmmuLJeHibZACJ8mk0nbgpMw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKYSAw2PEDYL6PmFpWOzHqdDyYGmmuLJeHibZACJ8mk0nbgpMw%40mail.gmail.com?utm_medium=email_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/CADWbU-gtXdNNgqgfEXHD6LEHtRK3cJnL2JvDsSWQOAtTaDB1Uw%40mail.gmail.com.


Re: Hi any body help i want code video belonging views,likes and dislikes

2021-02-01 Thread Mahendra
Like youtube videos belonging to views,likes and
Dislikes
Mahendra Yadav

On Mon, 1 Feb 2021, 20:23 Kasper Laudrup,  wrote:

> If you want someone to help you with anything, at least take the minimal
> effort of asking for it in a proper way.
>
> I have no idea which kind of response you expect to get from posting
> something like this.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/687bc306-7490-ee63-76c8-8496632a4f3c%40stacktrace.dk
> .
>

-- 
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/CAN-6G3zzKZNO6EoomcE44f6G_jqFxLwWKV8FTmOO3XvT2CThSA%40mail.gmail.com.


Re: Hi any body help i want code video belonging views,likes and dislikes

2021-02-01 Thread sakshi jain
Hi - Plz help me

On Mon, Feb 1, 2021, 20:23 Kasper Laudrup  wrote:

> If you want someone to help you with anything, at least take the minimal
> effort of asking for it in a proper way.
>
> I have no idea which kind of response you expect to get from posting
> something like this.
>
> Kind regards,
>
> Kasper Laudrup
>
> --
> 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/687bc306-7490-ee63-76c8-8496632a4f3c%40stacktrace.dk
> .
>

-- 
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/CAJhs3iNqz5PrrupAPX435-rmdqmVZToZqLbtv%3D1FaR8_H6wTDw%40mail.gmail.com.


Re: Hi any body help i want code video belonging views,likes and dislikes

2021-02-01 Thread Kasper Laudrup
If you want someone to help you with anything, at least take the minimal 
effort of asking for it in a proper way.


I have no idea which kind of response you expect to get from posting 
something like this.


Kind regards,

Kasper Laudrup

--
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/687bc306-7490-ee63-76c8-8496632a4f3c%40stacktrace.dk.


Hi any body help i want code video belonging views,likes and dislikes

2021-02-01 Thread Mahendra
Mahendra Yadav

-- 
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/CAN-6G3x0h_PgxHQsTHXSF15QiLoEFxEdykwNzdGpg%3DKWw4B6sw%40mail.gmail.com.


Re: Hi

2021-01-31 Thread Ogunlade Stephen Olayide
What's the project all about?

On Thu, Jan 28, 2021, 5:46 PM Sunday Iyanu Ajayi 
wrote:

> Hi  Florin,
>
> What support do you need? You can reach out via my email.
> *AJAYI Sunday *
> (+234) 806 771 5394
> *sunnexaj...@gmail.com *
>
>
>
> On Tue, Jan 26, 2021 at 3:10 PM Florin Ngabire 
> wrote:
>
>> My name is florin.i need a support. A small Python project in django
>> framework
>>
>> --
>> 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/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com?utm_medium=email_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/CAKYSAw2PEDYL6PmFpWOzHqdDyYGmmuLJeHibZACJ8mk0nbgpMw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAKYSAw2PEDYL6PmFpWOzHqdDyYGmmuLJeHibZACJ8mk0nbgpMw%40mail.gmail.com?utm_medium=email_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/CANyXpoqa6DFK69%3DifqPZXg6nWh%3DA6Q%3DT_RzFFJhnFhaBW%3DJB3w%40mail.gmail.com.


Re: Hi

2021-01-28 Thread Sunday Iyanu Ajayi
Hi  Florin,

What support do you need? You can reach out via my email.
*AJAYI Sunday *
(+234) 806 771 5394
*sunnexaj...@gmail.com *



On Tue, Jan 26, 2021 at 3:10 PM Florin Ngabire  wrote:

> My name is florin.i need a support. A small Python project in django
> framework
>
> --
> 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/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com?utm_medium=email_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/CAKYSAw2PEDYL6PmFpWOzHqdDyYGmmuLJeHibZACJ8mk0nbgpMw%40mail.gmail.com.


Hi

2021-01-26 Thread Florin Ngabire
My name is florin.i need a support. A small Python project in django
framework

-- 
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/CACynOu%2BySEKrNgRhwKXYm0%3DOwOau1AS554ywRrzJ3Ru8mgavwA%40mail.gmail.com.


Hi there. I need info about in memory sqlite database with django

2021-01-13 Thread Ali Sufyan
is there a way to load sqlite database in memory and then do all read/write 
from there then when connection closes write back to disk

-- 
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/538bed6e-b090-42af-bccc-f7ba809d11f4n%40googlegroups.com.


Re: hi

2020-11-01 Thread Frank Cipolone
Hey my dude

On Sun, Nov 1, 2020 at 3:10 PM Chris Franklin  wrote:

> Hii
>
> On Nov 1, 2020 21:26, "shahed info"  wrote:
>
>> Hi brother
>>
>> On Mon, Nov 2, 2020, 1:14 AM tyshan...@gmail.com 
>> wrote:
>>
>>>
>>> hi
>>>
>>> --
>>> 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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com
>>> <https://groups.google.com/d/msgid/django-users/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com?utm_medium=email_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/CAO_JY3tjyu1v4cGK-Xcj9dis18cKtejay6sM%2B8Bk5xYp%2BOLAHA%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAO_JY3tjyu1v4cGK-Xcj9dis18cKtejay6sM%2B8Bk5xYp%2BOLAHA%40mail.gmail.com?utm_medium=email_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/CA%2BXgZWaXCEzHqbykMaf8%3DdxCkxX-vEoLBF6LHPt77cKk4B9HHw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CA%2BXgZWaXCEzHqbykMaf8%3DdxCkxX-vEoLBF6LHPt77cKk4B9HHw%40mail.gmail.com?utm_medium=email_source=footer>
> .
>
-- 
Best Regards,
Frank Cipolone

(856) 993-4819
fcipol...@gmail.com

https://www.redsnip8.host

-- 
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/CAMxF4bzji0FGROYYbiaP2NTyHaMDv6gxKzG0sc%2BSDCUb6prVdA%40mail.gmail.com.


Re: hi

2020-11-01 Thread Chris Franklin
Hyy bro

On Nov 1, 2020 21:39, "Walter Randazzo"  wrote:

> HI there!
>
>
> El dom., 1 nov. 2020 a las 16:13, tyshan...@gmail.com (<
> tyshanchn...@gmail.com>) escribió:
>
>>
>> hi
>>
>> --
>> 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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com?utm_medium=email_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/CAL7Dry75zKY0BFPPi0N%2BwrPRsPRRbcVzKp7U8b_
> KHQPnmy5gMw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAL7Dry75zKY0BFPPi0N%2BwrPRsPRRbcVzKp7U8b_KHQPnmy5gMw%40mail.gmail.com?utm_medium=email_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/CA%2BXgZWZKoPE4hL59qVcrxhb5%3Di6gcuR5jVn%3DzWfVY7%3DTZ2JViA%40mail.gmail.com.


Re: hi

2020-11-01 Thread Chris Franklin
Hii

On Nov 1, 2020 21:26, "shahed info"  wrote:

> Hi brother
>
> On Mon, Nov 2, 2020, 1:14 AM tyshan...@gmail.com 
> wrote:
>
>>
>> hi
>>
>> --
>> 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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%
>> 40googlegroups.com
>> <https://groups.google.com/d/msgid/django-users/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com?utm_medium=email_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/CAO_JY3tjyu1v4cGK-Xcj9dis18cKtejay6sM%2B8Bk5xYp%
> 2BOLAHA%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAO_JY3tjyu1v4cGK-Xcj9dis18cKtejay6sM%2B8Bk5xYp%2BOLAHA%40mail.gmail.com?utm_medium=email_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/CA%2BXgZWaXCEzHqbykMaf8%3DdxCkxX-vEoLBF6LHPt77cKk4B9HHw%40mail.gmail.com.


Re: hi

2020-11-01 Thread Walter Randazzo
HI there!


El dom., 1 nov. 2020 a las 16:13, tyshan...@gmail.com (<
tyshanchn...@gmail.com>) escribió:

>
> hi
>
> --
> 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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com?utm_medium=email_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/CAL7Dry75zKY0BFPPi0N%2BwrPRsPRRbcVzKp7U8b_KHQPnmy5gMw%40mail.gmail.com.


Re: hi

2020-11-01 Thread shahed info
Hi brother

On Mon, Nov 2, 2020, 1:14 AM tyshan...@gmail.com 
wrote:

>
> hi
>
> --
> 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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com?utm_medium=email_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/CAO_JY3tjyu1v4cGK-Xcj9dis18cKtejay6sM%2B8Bk5xYp%2BOLAHA%40mail.gmail.com.


Re: hi

2020-11-01 Thread Diksha Vazirani
Hii

On Mon, Nov 2, 2020, 12:44 AM tyshan...@gmail.com 
wrote:

>
> hi
>
> --
> 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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com?utm_medium=email_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/CAM51YKud_neCAygYT6gNTa6PdEnSyAdO4m3bXCC%3DtAfaFNjUhw%40mail.gmail.com.


hi

2020-11-01 Thread tyshan...@gmail.com

hi

-- 
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/cafbae0a-aa52-46ad-b483-5a7aedcc81b5n%40googlegroups.com.


Hi, Please checkout my new python package zipcode-to-map 1.0

2020-09-18 Thread bharath...@gmail.com


If you Provide a Country code and postal code, it will generate a map in a 
html file based on these details.Used pgeocode and folium packages.
It may be useful in your projects.

https://pypi.org/project/zipcode-to-map/

Docs:-  https://libraries.io/pypi/zipcode-to-map

Thank you.

Regards
J. Ranga Bharath
Phone: 9110334114

-- 
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/4ae76749-81dd-4af1-a7cd-81682ec9cfben%40googlegroups.com.


Re: Hi

2020-06-05 Thread S K
It is not that important. If you have any specific settings in your earlier
pycharm projects click on first one. Or if you have settings in separate
config file locate that finally you can choose not to import anything.

On Fri, 5 Jun, 2020, 11:52 am Pawan Goswami, 
wrote:

> Please kindly help me what is right fir solution here ..
>
> Regards
> Pawan...
>
> --
> 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/CAM%3DXy2rhWTxsef_PGkOKPCMapEBT2sL%3Dt2nG0LaDe13E3XN_5Q%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/CAL17tVAX-wGk_w%2B312iCWRMrtks3VfLSVwHE-VXJkScMitP_6g%40mail.gmail.com.


Re: hi eveyone

2020-05-13 Thread Joshua Kayode
Hello

On Tue, May 12, 2020, 3:06 PM Ravindra Patil  wrote:

> hi eveyone
>
> --
> 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/4c97da5b-f60f-4f9a-973d-3953c7b9cc1f%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4c97da5b-f60f-4f9a-973d-3953c7b9cc1f%40googlegroups.com?utm_medium=email_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/CAEL9fCEgvMY3gW8_U%3D6%2BM8bDAy8-_OUSS0e3sGs%2B4P6z8m9g%3Dw%40mail.gmail.com.


hi eveyone

2020-05-12 Thread Ravindra Patil
hi eveyone

-- 
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/4c97da5b-f60f-4f9a-973d-3953c7b9cc1f%40googlegroups.com.


Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Muhammed Rafi A
password is not correct, check them or reset the password ones more

On Fri, Jan 3, 2020 at 2:58 PM shailendra singh 
wrote:

> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
> line 932, in _bootstrap_inner
> self.run()
>   File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
> line 870, in run
> self._target(*self._args, **self._kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/autoreload.py",
> line 53, in wrapper
> fn(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py",
> line 120, in inner_run
> self.check_migrations()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/base.py",
> line 458, in check_migrations
> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/executor.py",
> line 18, in __init__
> self.loader = MigrationLoader(self.connection)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 49, in __init__
> self.build_graph()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 212, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
> line 76, in applied_migrations
> if self.has_table():
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
> line 56, in has_table
> return self.Migration._meta.db_table in
> self.connection.introspection.table_names(self.connection.cursor())
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 260, in cursor
> return self._cursor()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 236, in _cursor
> self.ensure_connection()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 220, in ensure_connection
> self.connect()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/utils.py",
> line 90, in __exit__
> raise dj_exc_value.with_traceback(traceback) from exc_value
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 220, in ensure_connection
> self.connect()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 197, in connect
> self.connection = self.get_new_connection(conn_params)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
> line 185, in get_new_connection
> connection = Database.connect(**conn_params)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py",
> line 126, in connect
> conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
> django.db.utils.OperationalError: FATAL:  password authentication failed
> for user "postgres"
>
> --
> 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/fdcdb68e-ce8d-4326-a519-7ae07a51ee2f%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/CADwyzwrGjjao35efTZ6euL%2BYx%2BvV6VQkyUbPU2dd0o4UQyo6mA%40mail.gmail.com.


Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Rajesh Maruti
 The authentication error for the database username with password
 Please check the DB username and password

On Fri, 3 Jan 2020 at 14:57, shailendra singh 
wrote:

> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
> line 932, in _bootstrap_inner
> self.run()
>   File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
> line 870, in run
> self._target(*self._args, **self._kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/autoreload.py",
> line 53, in wrapper
> fn(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py",
> line 120, in inner_run
> self.check_migrations()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/base.py",
> line 458, in check_migrations
> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/executor.py",
> line 18, in __init__
> self.loader = MigrationLoader(self.connection)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 49, in __init__
> self.build_graph()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 212, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
> line 76, in applied_migrations
> if self.has_table():
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
> line 56, in has_table
> return self.Migration._meta.db_table in
> self.connection.introspection.table_names(self.connection.cursor())
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 260, in cursor
> return self._cursor()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 236, in _cursor
> self.ensure_connection()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 220, in ensure_connection
> self.connect()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/utils.py",
> line 90, in __exit__
> raise dj_exc_value.with_traceback(traceback) from exc_value
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 220, in ensure_connection
> self.connect()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 197, in connect
> self.connection = self.get_new_connection(conn_params)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
> line 185, in get_new_connection
> connection = Database.connect(**conn_params)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py",
> line 126, in connect
> conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
> django.db.utils.OperationalError: FATAL:  password authentication failed
> for user "postgres"
>
> --
> 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/fdcdb68e-ce8d-4326-a519-7ae07a51ee2f%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/CADfZoLULiz%3DAfuEJCwp_9OhCifmoqxXjC5CWD1kS76KJntKsEw%40mail.gmail.com.


Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread sagar ninave
Hello ShailendraI have tried to attached postgresql to django but it could
not happened please can you tell me what is procedure to do that

-- 
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/CAA6pdZ8rwFhu2_t5nM3m2%2B8HDHiD9WMo2g4KyCVn6r26RGGsRA%40mail.gmail.com.


Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread shailendra singh
Thanks Everyone . Now its done.

On Friday, January 3, 2020 at 2:57:27 PM UTC+5:30, shailendra singh wrote:
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
>  
> line 932, in _bootstrap_inner
> self.run()
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
>  
> line 870, in run
> self._target(*self._args, **self._kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/autoreload.py",
>  
> line 53, in wrapper
> fn(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py",
>  
> line 120, in inner_run
> self.check_migrations()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/base.py",
>  
> line 458, in check_migrations
> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/executor.py",
>  
> line 18, in __init__
> self.loader = MigrationLoader(self.connection)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
>  
> line 49, in __init__
> self.build_graph()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
>  
> line 212, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
>  
> line 76, in applied_migrations
> if self.has_table():
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
>  
> line 56, in has_table
> return self.Migration._meta.db_table in 
> self.connection.introspection.table_names(self.connection.cursor())
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  
> line 26, in inner
> return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  
> line 260, in cursor
> return self._cursor()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  
> line 236, in _cursor
> self.ensure_connection()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  
> line 26, in inner
> return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  
> line 220, in ensure_connection
> self.connect()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/utils.py", 
> line 90, in __exit__
> raise dj_exc_value.with_traceback(traceback) from exc_value
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  
> line 220, in ensure_connection
> self.connect()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  
> line 26, in inner
> return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  
> line 197, in connect
> self.connection = self.get_new_connection(conn_params)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  
> line 26, in inner
> return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
>  
> line 185, in get_new_connection
> connection = Database.connect(**conn_params)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py",
>  
> line 126, in connect
> conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
> django.db.utils.OperationalError: FATAL:  password authentication failed 
> for user "postgres"
>
>

-- 
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/5635d022-46fb-4cf9-93ad-28943893eca2%40googlegroups.com.


Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread Motaz Hejaze
To test just create another user and database and grant all privileges for
the new user to the new database and finally add those new credentials to
django settings.py

On Fri, 3 Jan 2020, 12:46 pm ramadhan ngallen,  wrote:

> Hello
> The reason was due to wrong password for the postgre. Kindly test the
> password via Pgadmin.
>
> *Best Regards*
>
> *Ramadhan Ngallen*
> Software Consultant
>
> Phone: +255 715 200 997 | ngall...@gmail.com
> On 3 Jan 2020, 12:27 +0300, shailendra singh ,
> wrote:
>
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
> line 932, in _bootstrap_inner
> self.run()
>   File
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
> line 870, in run
> self._target(*self._args, **self._kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/autoreload.py",
> line 53, in wrapper
> fn(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py",
> line 120, in inner_run
> self.check_migrations()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/base.py",
> line 458, in check_migrations
> executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/executor.py",
> line 18, in __init__
> self.loader = MigrationLoader(self.connection)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 49, in __init__
> self.build_graph()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
> line 212, in build_graph
> self.applied_migrations = recorder.applied_migrations()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
> line 76, in applied_migrations
> if self.has_table():
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
> line 56, in has_table
> return self.Migration._meta.db_table in
> self.connection.introspection.table_names(self.connection.cursor())
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 260, in cursor
> return self._cursor()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 236, in _cursor
> self.ensure_connection()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 220, in ensure_connection
> self.connect()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/utils.py",
> line 90, in __exit__
> raise dj_exc_value.with_traceback(traceback) from exc_value
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 220, in ensure_connection
> self.connect()
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
> line 197, in connect
> self.connection = self.get_new_connection(conn_params)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
> line 26, in inner
> return func(*args, **kwargs)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
> line 185, in get_new_connection
> connection = Database.connect(**conn_params)
>   File
> "/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py",
> line 126, in connect
> conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
> django.db.utils.OperationalError: FATAL:  password authentication failed
> for user "postgres"
>
> --
> 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/fdcdb68e-ce8d-4326-a519-7ae07a51ee2f%40googlegroups.com
> 
> .
>
> --
> You received this message because you are subscribed 

Re: Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread ramadhan ngallen
Hello
The reason was due to wrong password for the postgre. Kindly test the password 
via Pgadmin.

Best Regards

Ramadhan Ngallen
Software Consultant

Phone: +255 715 200 997 | ngall...@gmail.com
On 3 Jan 2020, 12:27 +0300, shailendra singh , wrote:
> The above exception was the direct cause of the following exception:
>
> Traceback (most recent call last):
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
>  line 932, in _bootstrap_inner
>     self.run()
>   File 
> "/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py",
>  line 870, in run
>     self._target(*self._args, **self._kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/autoreload.py",
>  line 53, in wrapper
>     fn(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py",
>  line 120, in inner_run
>     self.check_migrations()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/base.py",
>  line 458, in check_migrations
>     executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/executor.py",
>  line 18, in __init__
>     self.loader = MigrationLoader(self.connection)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
>  line 49, in __init__
>     self.build_graph()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
>  line 212, in build_graph
>     self.applied_migrations = recorder.applied_migrations()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
>  line 76, in applied_migrations
>     if self.has_table():
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
>  line 56, in has_table
>     return self.Migration._meta.db_table in 
> self.connection.introspection.table_names(self.connection.cursor())
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  line 26, in inner
>     return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  line 260, in cursor
>     return self._cursor()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  line 236, in _cursor
>     self.ensure_connection()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  line 26, in inner
>     return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  line 220, in ensure_connection
>     self.connect()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/utils.py", 
> line 90, in __exit__
>     raise dj_exc_value.with_traceback(traceback) from exc_value
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  line 220, in ensure_connection
>     self.connect()
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  line 26, in inner
>     return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
>  line 197, in connect
>     self.connection = self.get_new_connection(conn_params)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
>  line 26, in inner
>     return func(*args, **kwargs)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
>  line 185, in get_new_connection
>     connection = Database.connect(**conn_params)
>   File 
> "/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py",
>  line 126, in connect
>     conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
> django.db.utils.OperationalError: FATAL:  password authentication failed for 
> user "postgres"
>
> --
> 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/fdcdb68e-ce8d-4326-a519-7ae07a51ee2f%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/f5a6ffb7-548a-4da1-96d3-adfe13f9c42b%40Spark.


Hi everyone I am new in django and postgresql. Actually I am getting following error when i run the project, Although I am putting right password and username. Please Help me....

2020-01-03 Thread shailendra singh
The above exception was the direct cause of the following exception:

Traceback (most recent call last):
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", 
line 932, in _bootstrap_inner
self.run()
  File 
"/Library/Frameworks/Python.framework/Versions/3.8/lib/python3.8/threading.py", 
line 870, in run
self._target(*self._args, **self._kwargs)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/autoreload.py",
 
line 53, in wrapper
fn(*args, **kwargs)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/commands/runserver.py",
 
line 120, in inner_run
self.check_migrations()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/core/management/base.py",
 
line 458, in check_migrations
executor = MigrationExecutor(connections[DEFAULT_DB_ALIAS])
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/executor.py",
 
line 18, in __init__
self.loader = MigrationLoader(self.connection)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
 
line 49, in __init__
self.build_graph()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/loader.py",
 
line 212, in build_graph
self.applied_migrations = recorder.applied_migrations()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
 
line 76, in applied_migrations
if self.has_table():
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/migrations/recorder.py",
 
line 56, in has_table
return self.Migration._meta.db_table in 
self.connection.introspection.table_names(self.connection.cursor())
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
 
line 26, in inner
return func(*args, **kwargs)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
 
line 260, in cursor
return self._cursor()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
 
line 236, in _cursor
self.ensure_connection()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
 
line 26, in inner
return func(*args, **kwargs)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
 
line 220, in ensure_connection
self.connect()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/utils.py", 
line 90, in __exit__
raise dj_exc_value.with_traceback(traceback) from exc_value
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
 
line 220, in ensure_connection
self.connect()
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
 
line 26, in inner
return func(*args, **kwargs)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/base/base.py",
 
line 197, in connect
self.connection = self.get_new_connection(conn_params)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/utils/asyncio.py",
 
line 26, in inner
return func(*args, **kwargs)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/django/db/backends/postgresql/base.py",
 
line 185, in get_new_connection
connection = Database.connect(**conn_params)
  File 
"/Applications/Projects/venv/lib/python3.8/site-packages/psycopg2/__init__.py", 
line 126, in connect
conn = _connect(dsn, connection_factory=connection_factory, **kwasync)
django.db.utils.OperationalError: FATAL:  password authentication failed 
for user "postgres"

-- 
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/fdcdb68e-ce8d-4326-a519-7ae07a51ee2f%40googlegroups.com.


Hi to all, I want to represent the data in the form of charts which is in the dictionary format how? Please Tell me the solution

2019-11-11 Thread Devendra reddy


-- 
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/CABB0Uf2GpKFPSMALm6rC0MRXkpm-KyEH0jvSxPz8%2BuN2rmek_Q%40mail.gmail.com.


Hi Guys, Can anyone suggest on how to create a engine to connect to snowflakes using django? and share the settings.py modification?

2019-10-29 Thread Avinash Gaurav
Hi Guys, Can anyone suggest on how to create a engine to connect to 
snowflakes using django? and share the settings.py modification?

-- 
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/f1a69676-7283-46c3-91a9-134b45ef87cd%40googlegroups.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Ryan Gedwill
My favorite is django-book.

I used it as a reference for 2 years after I first started using Django.

Ryan Gedwill

> On Sep 1, 2019, at 7:09 AM, WebTrainingRoom Online 
>  wrote:
> 
> Hi!
> you may find this useful 
> https://www.webtrainingroom.com/python/django-project  
> 
> Thanks 
>  
> 
>> On Sun, Sep 1, 2019 at 7:07 PM Jorge Luis Callalle Torres 
>>  wrote:
>> Hi, I'm new django. I want to learn Django.  What's the first step
>> What advice you could give me.
>> Any course, resources, or books
>> 
>> thanks a lot friends
>> 
>> -- 
>> Jorge Luis Callalle Torres
>> 5359480 / 934835047
>> 
>> 
>> 
>> -- 
>> 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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%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/CAGOwOh8VaEFSM9j4gtSwQTfW7mi2%2BnfpMp7COVGPMrYjnqaCeg%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/84D31B51-1D4B-489F-BFDD-2C7EA3D0BED6%40gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread WebTrainingRoom Online
Hi!
you may find this useful
https://www.webtrainingroom.com/python/django-project

Thanks


On Sun, Sep 1, 2019 at 7:07 PM Jorge Luis Callalle Torres <
jlcalla...@gmail.com> wrote:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email_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/CAGOwOh8VaEFSM9j4gtSwQTfW7mi2%2BnfpMp7COVGPMrYjnqaCeg%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Guz Man

>
> Hi Jorge,
>

I recommend you some sources (I assume that you already know Python):

1. Corey Schafer's YouTube tutorial: 
https://www.youtube.com/watch?v=UmljXZIypDc=PL-osiE80TeTtoQCKZ03TU5fNfx2UY6U4p
2. William Vincent's introductory book: https://djangoforbeginners.com/

With these two you'll have more than enough to start.


thanks a lot friends
>
> -- 
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
>

-- 
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/9d28714d-6e18-4d22-b04a-5359458d64ed%40googlegroups.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Tosin Ayoola
Read 2 scoop of django,  alongside django two with example, have your
django documentation handy u will need it & I also have django tutorial
series,  I'm started yesterday,  with all that u will b good to go

On Sep 1, 2019 14:37, "Jorge Luis Callalle Torres" 
wrote:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs
> 3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email_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/CAHLKn73zVcNLFr4SVHQ-s_gz_b-jAmaLx7vvrXrgzZBb1E8DEw%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gabriel Araya Garcia
Jorge Luis:
La clave para comenzar, es meterte en los tutoriales, Por ejemplo y si te
encuentras que las rutas se construyen con PATH, entonces es un tutorial
moderno. En caso contrario, te van a sugerir comandos e instrucciones que
están obsoletas y vas a intentar llevarlas a cabo y no te funcionaran, y te
frustarás, etc.etc.
Yo tambien soy nuevo en esto, y he logrado ir construyendo un sistema he
implementandole funcionalidades y validaciones con JS.
Que te vaya bien

gabrielaraya2...@gmail.com



El dom., 1 sept. 2019 a las 9:37, Jorge Luis Callalle Torres (<
jlcalla...@gmail.com>) escribió:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

-- 
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/CAKVvSDAi%2BG2M2EmMbQD8UUZfP6GR8KssAqBj9tJaZRLpE-gtFg%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gabriel Araya Garcia
Work with the last version of python and django. Take care about the old
sintaxis. The new sintaxis is more easy.

have a good day
gabrielaraya2...@gmail.com


El dom., 1 sept. 2019 a las 9:37, Jorge Luis Callalle Torres (<
jlcalla...@gmail.com>) escribió:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email_source=footer>
> .
>


-- 
Gabriel Araya Garcia
GMI - Desarrollo de Sistemas Informáticos
99.7721.15.70

-- 
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/CAKVvSDD9nx91uvGTbXtcgJM9N5BHzpRVN8j1H39JpK2t2hpDxw%40mail.gmail.com.


Re: Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Gil Obradors
I started with django official tutorial :
https://docs.djangoproject.com/en/2.2/intro/tutorial01/

Nice to start APPs, and continue with admin customizations.


Welcome and good luck!

Missatge de Jorge Luis Callalle Torres  del dia dg.,
1 de set. 2019 a les 15:37:

> Hi, I'm new django. I want to learn Django.  What's the first step
> What advice you could give me.
> Any course, resources, or books
>
> thanks a lot friends
>
> --
> *Jorge Luis Callalle Torres*
> 5359480 / 934835047
>
>
>
> --
> 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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com?utm_medium=email_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/CAK-JoTSfi2eitmgZ7CCrJZ1oFhDpTVN1wZ4WGw0bLHtArxbigQ%40mail.gmail.com.


Hi, I'm new django. I want to learn Django. What's the first step.

2019-09-01 Thread Jorge Luis Callalle Torres
Hi, I'm new django. I want to learn Django.  What's the first step
What advice you could give me.
Any course, resources, or books

thanks a lot friends

-- 
*Jorge Luis Callalle Torres*
5359480 / 934835047

-- 
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/CALps_2HgbSwAWo7fwFoLJ7tbz4poCtqOkKs3jQLMj1gQ97Wf%3Dg%40mail.gmail.com.


Re: Hi, can any one help me please.

2019-08-12 Thread Sundararajan Seshadri
It means that there is no line in urls.py of the main application with the 
name as 'display_laptop'. Probably you are confused with the action and 
name. Action should be a callable and should be imported in urls.py file. 
Name is the name of the route and it appears within quote (normally).

Typically a url is: [url_pattern, callable, {additional parameters or 
empty}, name='display_laptop']

if you are going to write a function called display_laptop, import it into 
the urls.py and in the above url, replace callable with display_laptop (no 
quote); that is:

from  import display_laptop

urlpatterns = [ [.], [url_pattern, display_laptop,{..}, 
name='display_laptop'],]


Cheers.
=

On Monday, August 12, 2019 at 4:59:40 PM UTC+5:30, goitom negash wrote:
>
> the following error is displayed when i try to write a function named as 
> display_laptop to display the available laptops in the backend.
> NoReverseMatch at /
>
> Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view 
> function or pattern name.
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/
> Django Version: 2.2.3
> Exception Type: NoReverseMatch
> Exception Value: 
>
> Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view 
> function or pattern name.
>
> Exception Location: 
> C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\urls\resolvers.py
>  
> in _reverse_with_prefix, line 668
> Python Executable: 
> C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\python.exe
> Python Version: 3.7.4
> Python Path: 
>
> ['C:\\Users\\Goitom\\Desktop\\shop',
>  
> 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
>  'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
>  'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
>  'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32',
>  'C:\\Users\\Goitom\\AppData\\Roaming\\Python\\Python37\\site-packages',
>  
> 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib\\site-packages']
>
> Server time: Mon, 12 Aug 2019 11:12:59 +
>

-- 
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/7aa458f9-6766-467e-8d4c-8680e991197b%40googlegroups.com.


Re: Hi, can any one help me please.

2019-08-12 Thread DPM
Can u plz show the code where this error coming...

On Mon, 12 Aug, 2019, 5:00 PM goitom negash,  wrote:

> the following error is displayed when i try to write a function named as
> display_laptop to display the available laptops in the backend.
> NoReverseMatch at /
>
> Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view 
> function or pattern name.
>
> Request Method: GET
> Request URL: http://127.0.0.1:8000/
> Django Version: 2.2.3
> Exception Type: NoReverseMatch
> Exception Value:
>
> Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view 
> function or pattern name.
>
> Exception Location: 
> C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\urls\resolvers.py
> in _reverse_with_prefix, line 668
> Python Executable:
> C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\python.exe
> Python Version: 3.7.4
> Python Path:
>
> ['C:\\Users\\Goitom\\Desktop\\shop',
>  
> 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
>  'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
>  'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
>  'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32',
>  'C:\\Users\\Goitom\\AppData\\Roaming\\Python\\Python37\\site-packages',
>  
> 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib\\site-packages']
>
> Server time: Mon, 12 Aug 2019 11:12:59 +
>
> --
> 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/d81e5cbf-ebf1-46f7-9a8f-8406440a0f4b%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/CAGHZBzx9yXL2euU8HKCjuBZ-jOgv26Lo5Y85v%3D_EnaO9a3M7mA%40mail.gmail.com.


Hi, can any one help me please.

2019-08-12 Thread goitom negash
the following error is displayed when i try to write a function named as 
display_laptop to display the available laptops in the backend.
NoReverseMatch at /

Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view 
function or pattern name.

Request Method: GET
Request URL: http://127.0.0.1:8000/
Django Version: 2.2.3
Exception Type: NoReverseMatch
Exception Value: 

Reverse for 'display_laptop' not found. 'display_laptop' is not a valid view 
function or pattern name.

Exception Location: 
C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\urls\resolvers.py
 
in _reverse_with_prefix, line 668
Python Executable: 
C:\Users\Goitom\AppData\Local\Programs\Python\Python37-32\python.exe
Python Version: 3.7.4
Python Path: 

['C:\\Users\\Goitom\\Desktop\\shop',
 
'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\python37.zip',
 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\DLLs',
 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib',
 'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32',
 'C:\\Users\\Goitom\\AppData\\Roaming\\Python\\Python37\\site-packages',
 
'C:\\Users\\Goitom\\AppData\\Local\\Programs\\Python\\Python37-32\\lib\\site-packages']

Server time: Mon, 12 Aug 2019 11:12:59 +

-- 
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/d81e5cbf-ebf1-46f7-9a8f-8406440a0f4b%40googlegroups.com.


Re: Hi

2019-07-09 Thread Nelson Varela
Yes

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/44156c4c-10f2-4dd4-bf25-9bf70f20f153%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


Hi

2019-07-09 Thread Paul Gureghian
Can I ask a Django question 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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/52b66249-0aa7-4b9b-89d7-a53cb859245a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


  1   2   3   >