Junior Python Developer Seeking Job Opportunities to Enhance Skills

2023-07-18 Thread sunday honesty
Dear Group Members,

I hope this message finds you all well. I am a junior Python developer with
experience in Django, Django Rest Framework, Fast API, machine learning,
neural networks, HTML, and JavaScript. I hold a BSc in Computer
Science/Statistics and have a strong passion for leveraging these skills to
solve real-world problems.

I am reaching out to this group to express my keen interest in securing a
job opportunity where I can apply and further develop my existing
knowledge. While salary is not my primary concern at this stage, my utmost
priority is gaining practical experience to supplement the personal
projects I have completed.

If you know of any openings or can refer me to potential employers seeking
motivated and dedicated Python developers, I would be extremely grateful
for your assistance. I am open to both full-time positions and internships
that allow me to immerse myself in challenging projects and work
collaboratively with a talented team.

Please feel free to reach out to me directly with any leads or suggestions.
I am eager to explore opportunities and contribute my skills towards
creating innovative solutions.

Thank you all.

Best regards,

Sunday Honesty
honesty202...@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/CALcuGNvS9NTKZaUk%3Dd0dTdvA_VyNOq8V9%3DVF8PjJ%3D%2BDCViZkpg%40mail.gmail.com.


Machine learning mailing group

2023-04-24 Thread sunday honesty
Hi Django Devs,

Please can anyone recommend me a Data Science mailing group like this one?

Sincerely,

-- 
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/CALcuGNuF1Vb9W8Q-3hLSvy%3Dnicb73r1HgqGmOCN9droUORPEMQ%40mail.gmail.com.


paginate_by attribute not giving error.

2021-07-01 Thread sunday honesty
Hello guys, it's been a while here.

Need some help pls.

I had to override my ListView get_querryset() method to query my posts
according to a given category. But it seem my context is not a list of
objects again as I get this error message: "TypeError: unhashable type:
'slice' " when I try to add a paginate_by attribute to the view. Pls see my
view below:



class CategoryListView(ListView):
template_name = 'blog/category.html'
context_object_name = 'cat_list'
paginate_by = 4

def get_queryset(self):
context = {
'cat': self.kwargs['category'],
'posts':
Post.objects.filter(category__name=self.kwargs['category'],
status='published')
}
return context

Any help will be appreciated as I don't seem to be strong with Django.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CALcuGNsa7gbpS7%3D_8tUNpXUVduR8tshygU7ZZNco1gjUz%3DeJTg%40mail.gmail.com.


Re: Add multiple domains to the same Heroku appp

2020-08-14 Thread sunday honesty
Or do I need to create another app or another account on heroku?
If it's just another app, how to I login to a access a particular app on my
CLI?

On Fri, Aug 14, 2020, 6:04 PM sunday honesty 
wrote:

> Hi guys, hope you're good!
>
> I have deployed my django project to Heroku. Now, I have another project
> with different domain name.
>
> Can you tell me how to add this second domains?
>
> I am thinking of say "heroku domains add: domain_name" but then how do I
> configure things to work correctly?
>
> I need your help here, thanks in advance.
>
> --
> 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/8722ec2f-b41f-49f8-a09f-9dfea4be351bo%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/CALcuGNtg%3Dk413%2B1mHitWWw8zuePnAd5bimVw6Q6bjBo%3DbJ0T6w%40mail.gmail.com.


Add multiple domains to the same Heroku appp

2020-08-14 Thread sunday honesty
Hi guys, hope you're good!

I have deployed my django project to Heroku. Now, I have another project with 
different domain name. 

Can you tell me how to add this second domains?

I am thinking of say "heroku domains add: domain_name" but then how do I 
configure things to work correctly?

I need your help here, thanks in advance.

-- 
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/8722ec2f-b41f-49f8-a09f-9dfea4be351bo%40googlegroups.com.


Re: How to build a comprehensive chat system with django

2020-08-10 Thread sunday honesty
Let me check it out and get back to you

On Mon, Aug 10, 2020, 4:13 PM dupakoor kannan 
wrote:

> Hi,
>
> Hope this helps https://djangopackages.org/grids/g/chat/
>
>
>
> On Mon, Aug 10, 2020 at 6:27 AM sunday honesty 
> wrote:
>
>> I recently got employed in this company as a django developer.
>> After one week, it seems they liked me and believe I could do anything.
>> Today, they asked me to do the following do the following for the company:
>>
>> Build a web app where everyone within the company will be able to connect
>> locally and share the following to anyone: messages, images, audio and
>> video.
>>
>> I no idea where to start from but I told them i can do it. I have heard
>> of django channels but don't know anything about it yet...
>>
>> It hasn't been long u started programming with django.
>>
>> Can you help me with best suggestion. I mean resources, advice or just
>> everything I need to do this?
>>
>> I'll appreciate.
>>
>> --
>> 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/0a7927ac-7695-4dda-82fc-689f8f7e35efo%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/CADiZb_dYoaNzB-%2BMKcnHusvuJrWGHe2mE3Xv7z8-5mtJn%2Bm3xQ%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CADiZb_dYoaNzB-%2BMKcnHusvuJrWGHe2mE3Xv7z8-5mtJn%2Bm3xQ%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/CALcuGNtcpv8Z7vn10NnRTsD30QWUseLiz_F_LQ58KVivpWMX6g%40mail.gmail.com.


Re: How to build a comprehensive chat system with django

2020-08-10 Thread sunday honesty
I am not new to that extent... I have gone far with many tutorials but not
doing anything on messaging system...

I know I can research and get some ways to go but I need a recommendation
from probably someone that has done this kind of thing before...

I don't want to do it the wrong or time wasting way

On Mon, Aug 10, 2020, 12:21 PM dr neyx de godlove 
wrote:

> the best way if your new in django go to some tutorials in
> youtube(CoreryMs find this guy)  then after one week or more you can go to
> django documentation from there you will be able to do anything
>
> On Mon, Aug 10, 2020 at 1:34 PM RANGA BHARATH JINKA <
> bharathjink...@gmail.com> wrote:
>
>>
>> https://blog.heroku.com/in_deep_with_django_channels_the_future_of_real_time_apps_in_django
>>
>> On Mon, Aug 10, 2020 at 3:57 PM sunday honesty 
>> wrote:
>>
>>> I recently got employed in this company as a django developer.
>>> After one week, it seems they liked me and believe I could do anything.
>>> Today, they asked me to do the following do the following for the
>>> company:
>>>
>>> Build a web app where everyone within the company will be able to
>>> connect locally and share the following to anyone: messages, images, audio
>>> and video.
>>>
>>> I no idea where to start from but I told them i can do it. I have heard
>>> of django channels but don't know anything about it yet...
>>>
>>> It hasn't been long u started programming with django.
>>>
>>> Can you help me with best suggestion. I mean resources, advice or just
>>> everything I need to do this?
>>>
>>> I'll appreciate.
>>>
>>> --
>>> 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/0a7927ac-7695-4dda-82fc-689f8f7e35efo%40googlegroups.com
>>> .
>>>
>>
>>
>> --
>> Thanks and Regards
>>
>> J. Ranga Bharath
>> cell: 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/CAK5m3162W04TCBQUhagk_COQ%2BDOtHJU1b%2B_7DeuX7Tox4kLDzw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CAK5m3162W04TCBQUhagk_COQ%2BDOtHJU1b%2B_7DeuX7Tox4kLDzw%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/CAJofND4jbW4-hMJg2sG3mLsMGEmMDqvY1z1WsFCrFWaqUqwJWw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJofND4jbW4-hMJg2sG3mLsMGEmMDqvY1z1WsFCrFWaqUqwJWw%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/CALcuGNsygxkZBDMBgP5mZQij9RUUCCi_29_-4D3sHMN1VAs7XQ%40mail.gmail.com.


How to build a comprehensive chat system with django

2020-08-10 Thread sunday honesty
I recently got employed in this company as a django developer.
After one week, it seems they liked me and believe I could do anything.
Today, they asked me to do the following do the following for the company:

Build a web app where everyone within the company will be able to connect 
locally and share the following to anyone: messages, images, audio and video.

I no idea where to start from but I told them i can do it. I have heard of 
django channels but don't know anything about it yet...

It hasn't been long u started programming with django.

Can you help me with best suggestion. I mean resources, advice or just 
everything I need to do this?

I'll appreciate.

-- 
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/0a7927ac-7695-4dda-82fc-689f8f7e35efo%40googlegroups.com.


Re: Can't change my site name from example.com

2020-07-28 Thread sunday honesty
I have

On Mon, Jul 27, 2020, 11:35 PM Selis  wrote:

> Hiya,
>
> have you set the 'DEFAULT_FROM_MAIL' and 'SERVER_EMAIL' in your
> settings.py?
> Here
> 
>  is
> a reference from the Django Documentation.
>
> Regards,
> Selis
> honest...@gmail.com schrieb am Montag, 27. Juli 2020 um 21:13:18 UTC+2:
>
>> Hi folks, i have been unable to change my site name from example.com or
>> at other times localhost...
>>
>> Anytime i send any mail, it usually display the site name as example.com.
>>
>> For instance, when user registers or want to reset password, the link is
>> usually example.com/somethings.
>>
>> I have changed my site id to my domain name i added to sites through
>> django admin area
>>
>> I am using danjo-allauth.
>>
>> In my other project am using django auth, it displays as localhost/...
>>
>> Can someone help me out?
>>
> --
> 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/cc218a9b-d38e-4f35-bb68-70ceab8c5e14n%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/CALcuGNsY%3DLzmNmQ_Hx1%3Dy1ysm4MBwCt1tE7%3D4U-FG77LncZM9w%40mail.gmail.com.


Re: Can't change my site name from example.com

2020-07-27 Thread sunday honesty
I have done that

On Mon, Jul 27, 2020, 9:39 PM Miracle  wrote:

> Change both "display name" and "domain name" in sites, in your Admin.
>
> Make sure the site Id in settings.py corresponds to the id of the "domain
> name"
>
> Then restart the server.
>
>
>
> On Mon, 27 Jul 2020, 9:27 pm sunday honesty, 
> wrote:
>
>> I am not using custom user model...
>>
>> I didn't clone anything from GitHub repo...
>>
>> I only installed the third party package - django-allauth and done all
>> necessary configurations.
>>
>> I have changed the site name from example.com to my domainname.com
>> through the sites area of admin panel but it kept showing as example.com
>> when I send email
>>
>> On Mon, Jul 27, 2020, 9:07 PM Exactly musty 
>> wrote:
>>
>>> If I should understand you very well,its because you are using Custom
>>> user model,and you probably clone it from a github repo,it can't change
>>> itself mate, go the admin panel, then click on site, you should change it
>>> from example.com to your website name
>>>
>>> --
>>> 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/cb039d11-e1c8-44fb-840f-68811f5420ddo%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/CALcuGNtBLZYr6tnQm6E_zREpJKCzkwVjU8WEfXHpa%3DDEAXP%3Drg%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALcuGNtBLZYr6tnQm6E_zREpJKCzkwVjU8WEfXHpa%3DDEAXP%3Drg%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/CADZv-jCT%2BDqx8wbDYSumykoV6C6s_Vhe%3DybCG7EQv0RoAMYbrg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CADZv-jCT%2BDqx8wbDYSumykoV6C6s_Vhe%3DybCG7EQv0RoAMYbrg%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/CALcuGNsM7HB95%3DoT%3D_xbGyCdPF_xDO7jWO2qLPkxBcgeHu0L5w%40mail.gmail.com.


Re: Can't change my site name from example.com

2020-07-27 Thread sunday honesty
I am not using custom user model...

I didn't clone anything from GitHub repo...

I only installed the third party package - django-allauth and done all
necessary configurations.

I have changed the site name from example.com to my domainname.com through
the sites area of admin panel but it kept showing as example.com when I
send email

On Mon, Jul 27, 2020, 9:07 PM Exactly musty 
wrote:

> If I should understand you very well,its because you are using Custom user
> model,and you probably clone it from a github repo,it can't change itself
> mate, go the admin panel, then click on site, you should change it from
> example.com to your website name
>
> --
> 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/cb039d11-e1c8-44fb-840f-68811f5420ddo%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/CALcuGNtBLZYr6tnQm6E_zREpJKCzkwVjU8WEfXHpa%3DDEAXP%3Drg%40mail.gmail.com.


Can't change my site name from example.com

2020-07-27 Thread sunday honesty
Hi folks, i have been unable to change my site name from example.com or at 
other times localhost...

Anytime i send any mail, it usually display the site name as example.com.

For instance, when user registers or want to reset password, the link is 
usually example.com/somethings.

I have changed my site id to my domain name i added to sites through django 
admin area 

I am using danjo-allauth.

In my other project am using django auth, it displays as localhost/...

Can someone help me out?

-- 
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/ad55079a-28fb-474d-8b34-53205dfb011co%40googlegroups.com.


Re: How to provide background image via url() in django

2020-07-17 Thread sunday honesty
Thanks all...

@Sujara own worked for me

On Fri, Jul 17, 2020, 6:07 AM Sujata Aghor  wrote:

> I set background image like below in the style tag of the html page. It
> works !
>
> 
>body{
> background: url({% static 'users/img/bg/name_of _image.png'%})
> no-repeat center center fixed;
> -webkit-background-size:cover;
> -moz--background-size:cover;
> -o--background-size:cover;
> background-size: cover;
>}
> 
>
>
>
> On Fri, Jul 17, 2020 at 4:38 AM sunday honesty 
> wrote:
>
>> Hi django users, pls help me with this:
>>
>> In case we supply background image via the url() function as
>> background-image: url("some_path/image.png")
>>
>> How do we do this in django static files?
>> I tried
>>
>> url("{% static 'some_path/image.png' %}")
>>
>> but it didn't work, how do I do this pls?
>>
>> --
>> 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/c711150b-910c-4cbb-9823-48e0657fe352o%40googlegroups.com
>> .
>>
>
>
> --
>
> Thanks & Regards!
> Sujata S. Aghor
>
> --
> 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/CAJCP8KCtHz%2BUqqU6ez57ELfT5ouHTrDRzbvPVYKYMcv3EUV1Mw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJCP8KCtHz%2BUqqU6ez57ELfT5ouHTrDRzbvPVYKYMcv3EUV1Mw%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/CALcuGNs5ZVdmq05WohPWJT%3DE6wv3xDxm7tw55QC6zbJ%2Bo4qmiQ%40mail.gmail.com.


How to provide background image via url() in django

2020-07-16 Thread sunday honesty
Hi django users, pls help me with this:

In case we supply background image via the url() function as 
background-image: url("some_path/image.png")

How do we do this in django static files?
I tried 

url("{% static 'some_path/image.png' %}")

but it didn't work, how do I do this pls?

-- 
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/c711150b-910c-4cbb-9823-48e0657fe352o%40googlegroups.com.


Re: How to exit of pipenv in vscode

2020-07-14 Thread sunday honesty
I use that command when working with venv but it didn't work with pipenv

On Tue, Jul 14, 2020, 2:51 PM Omkar Parab  wrote:

> .\Script\deactivate
>
> On Tue, Jul 14, 2020, 7:16 PM sunday honesty 
> wrote:
>
>> While in the VS Code Terminal, the 'exit' command closes the terminal
>> directly, whereas I just want to deactive pipenv, is there a way to do this?
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an
>> email to django-users+unsubscr...@googlegroups.com.
>> To view this discussion on the web visit
>> https://groups.google.com/d/msgid/django-users/f8a9886a-b318-4985-9abb-2907a2b078a4o%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/CAJY8mfwh%3D_GpQAmbP2HvbpRO-v8_KPGOVWA-3A4fBQm7Z4V5uw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CAJY8mfwh%3D_GpQAmbP2HvbpRO-v8_KPGOVWA-3A4fBQm7Z4V5uw%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/CALcuGNvjiS9zQXz7DkQsX2gSnxxZ1qym%3DD%2BTEgoh2%2BZ8tNbeEQ%40mail.gmail.com.


How to exit of pipenv in vscode

2020-07-14 Thread sunday honesty
While in the VS Code Terminal, the 'exit' command closes the terminal directly, 
whereas I just want to deactive pipenv, is there a way to do this?

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/f8a9886a-b318-4985-9abb-2907a2b078a4o%40googlegroups.com.


I need collaborators or partners

2020-06-26 Thread sunday honesty
↰ Django users
I need collaborators
9:45 PMme
High all, recently I started learning Django and now I have made a forum with 
some cool functionalities...
As a forum starting like this, it will be so long for people to discover it and 
start visiting it regularly...

I want to focus on making posts that people are looking for in a particular 
programming language and sharing it; gradually, it will become crowded.

The purpose of the forum is to server as a help center for programming 
languages, something like Stackoverflow...

I need programmers and developers who will become cofounders of the forum and 
help me push it forward...
Anybody interested to join me will take a given area of programming where they 
are good at, say HTML, CSS, java, python, JavaScript, etc and be making posts 
on these areas...

We will then be reasoning together and introducing cool stuff that will help 
the forum become really fantastic...

If we get to the point of making some money from the forum, we'll share it as 
partners.

A saying says that two heads are better than one.

If you are interested, email me at
honestycall...@gmail.com

Check it out the site at

http://www.codes-hub.com

Regards,
Honesty

-- 
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/b23fc48b-f302-45f8-83d9-62112a73119ao%40googlegroups.com.


I need collaborators

2020-06-26 Thread sunday honesty
High all, recently I started learning Django and now I have made a forum with 
some cool functionalities...

As a forum starting like this, it will be so long for people to discover it and 
start visiting it regularly...

I want to focus on making posts that people are looking for in a particular 
programming language and sharing it; gradually, it will become crowded.

The purpose of the forum is to server as a help center for programming 
languages, something like Stackoverflow...

I need programmers and developers who will become cofounders of the forum and 
help me push it forward...
Anybody interested to join me will take a given area of programming where they 
are good at, say HTML, CSS, java, python, JavaScript, etc and be making posts 
on these areas...

We will then be reasoning together and introducing cool stuff that will help 
the forum become really fantastic...

If we get to the point of making some money from the forum, we'll share it as 
partners.

A saying says that two heads are better than one.

If you are interested, email me at
honestycall...@gmail.com

Check it out the site at

http://www.code-hub.com

Regards, 
Honesty

-- 
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/3b0a17c1-227d-4608-845b-a1f7e0267b0fo%40googlegroups.com.


Search returned after deployment to Heroku

2020-06-22 Thread sunday honesty
My search functionnlaity worked fine and is even working well now on my local 
host but always returns error when I run it on heroku. (Server error)

How has any idea pls

-- 
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/0555aaff-73a5-4a4b-a91e-46f4af934072o%40googlegroups.com.


How to add domain from GoDaddy to Heroku

2020-06-22 Thread sunday honesty
Has anyone here added a custom domain from GoDaddy to Heroku?

I have not been able to configure my DNS correctly after following tons of 
articles online... GoDaddy don't seem to have good customer care for my country 
and no live support available?

The issue is, I have bought the domain and added it to Heroku and generated the 
target for DNS.
On Heroku, I entered manage DNS to add the target url generated from Heroku and 
got a bad request (400) error if I set CNAME to www and value to the target 
from Heroku. I have followed the exact step I got from online and non is 
working for me.
Anyone who can help me will be appreciated.

-- 
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/1d9e5495-21b0-4a32-8e68-bad285d46684o%40googlegroups.com.


How to allow users tag a post when making new post

2020-06-09 Thread sunday honesty
Hello Django devs! It's been a while and I hope you all are fine?

In the forum (blog) am making, I want a functionnlaity to allow users who want 
to make a post to tag other posts they created before or others created that is 
similar to the ones they're making.
I learnt about the Django taggit but am only able to use it in the admin panel. 
What I do is tag post by title, Post I have created before that I know it's 
title and id but I have no idea how to allow users do this. Can anyone help me 
out please...
I'll really be grateful.

-- 
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/3ad9cb82-0d98-46d4-85b0-b2114883dc57o%40googlegroups.com.


Re: How to make Custom User Registration and Login

2020-05-31 Thread sunday honesty
It's better to make a separate app for users. You can call the app users or
account. Create a form.py file in your users app. Then create a CustomUser
class that inherits from either AbstractUser or AbstractBaseUser (check out
the difference between the two). Then you can define the fields you want to
use.
Create UserCreationForm subsequently.

Create a folder called registration inside your templates folder and create
your login.html there

You must update your settings with
AUTH_USER_MODEL = 'users.CustomUser'

LOGIN_URL = 'login' Note, login here is the name you gave your login url.

On Sun, May 31, 2020, 3:37 PM Abhi Mathew  wrote:

> Here: Django Custom User Model
> 
> I don't how familiar you are with Django but this post will help you
> anyhow!
>
> On Wednesday, May 6, 2020 at 3:39:29 PM UTC+5:30, Anubhav Madhav wrote:
>>
>> I am new to Django. I need to make a custom sign up and log in page.
>> Because, during Sign Up, I also want to get User's Address and Contact
>> Number. In Django's 'User' module, it isn't supported. So, how can I make a
>> custom sign up and sign in page. Please Help!!
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to django-users+unsubscr...@googlegroups.com.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/42f04b63-6d5f-473e-9526-a6fe906ceef8%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/CALcuGNvPgG5Mcg%2BEj0bLu_%3DRjLQZY8E%2Btu2N8cv7enXosUa5_Q%40mail.gmail.com.


Re: Command open postgresql in from cmd in windows

2020-05-31 Thread sunday honesty
It worked Samuel. Thank you very much

On Sun, May 31, 2020, 7:38 AM sunday honesty 
wrote:

> All right. I'll do that now.
>
> On Sat, May 30, 2020, 11:34 PM Samuel Nogueira 
> wrote:
>
>> you just need to specify the username wich you want to use. So type "psql
>> -U postgres", as postgres being your username.
>>
>>
>> Em sáb., 30 de mai. de 2020 às 18:47, sunday honesty <
>> honesty202...@gmail.com> escreveu:
>>
>>> Here is it again
>>>
>>> On Sat, May 30, 2020, 10:44 PM Samuel Nogueira 
>>> wrote:
>>>
>>>> Sorry but i think your screenshot wasn’t attached to your last email,
>>>> please end it again
>>>>
>>>> *De: *sunday honesty 
>>>> *Enviado:*sábado, 30 de maio de 2020 18:28
>>>> *Para: *django-users@googlegroups.com
>>>> *Assunto: *Re: Command open postgresql in from cmd in windows
>>>>
>>>>
>>>>
>>>> Here is the screenshot... Pls download.
>>>>
>>>>
>>>>
>>>> PS: I was connected to the internet and also tried it without internet
>>>> connection.
>>>>
>>>>
>>>>
>>>> On Sat, May 30, 2020, 10:17 PM Samuel Nogueira 
>>>> wrote:
>>>>
>>>> Can you send  me more details about the error? A screenshot should be
>>>> enough
>>>>
>>>> *De: *sunday honesty 
>>>> *Enviado:*sábado, 30 de maio de 2020 15:18
>>>> *Para: *django-users@googlegroups.com
>>>> *Assunto: *Re: Command open postgresql in from cmd in windows
>>>>
>>>>
>>>>
>>>> @Samuel,
>>>>
>>>> I did that and psql now opened and prompted me to enter password for my
>>>> user name(system). I entered the password I created while installing
>>>> postgresql and got a fatal error even when I was connected to the
>>>> internet...
>>>>
>>>>
>>>>
>>>> PS: the username it gave me during installation is postgres but
>>>> prompted me to enter password for my computer username
>>>>
>>>>
>>>>
>>>> On Sat, May 30, 2020, 6:39 PM Samuel Nogueira 
>>>> wrote:
>>>>
>>>> Set path For PostgreSQL in Windows:
>>>>
>>>>
>>>>
>>>>1. Searching for env will show Edit environment variables for your
>>>>account
>>>>2. Select Environment Variables
>>>>
>>>>
>>>>1. From the System Variables box click new(to add new path)
>>>>
>>>>
>>>>
>>>> Include the bin directory of your PostgreSQL installation. then add
>>>> new path there
>>>>
>>>> [for example]
>>>>
>>>> C:\Program Files\PostgreSQL\12\bin
>>>>
>>>> After that click OK and then try to type psql in your command shell
>>>>
>>>>
>>>>
>>>> I adapted this from a comment in stackoverflow in the link bellow, if
>>>> it doesnt work I suggest you to go there.
>>>>
>>>>
>>>> https://stackoverflow.com/questions/11460823/setting-windows-path-for-postgres-tools
>>>>
>>>>
>>>>
>>>> *De: *sunday honesty 
>>>> *Enviado:*sábado, 30 de maio de 2020 14:20
>>>> *Para: *Django users 
>>>> *Assunto: *Command open postgresql in from cmd in windows
>>>>
>>>>
>>>>
>>>> I have been in a message before I could successfully install postgresql
>>>> on my windows; it seems everyone is using Linux or Mac.
>>>>
>>>>
>>>>
>>>> Pls can someone help me now...
>>>>
>>>> I want to open postgres she'll from my command prompt so I can continue
>>>> what am learning... The Tutorial am following is using Linux and the
>>>> command to "psql" to open shell is not working on my windows.
>>>>
>>>>
>>>>
>>>> Anybody please.
>>>>
>>>>
>>>>
>>>> --
>>>>
>>>> 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.co

Re: Command open postgresql in from cmd in windows

2020-05-31 Thread sunday honesty
All right. I'll do that now.

On Sat, May 30, 2020, 11:34 PM Samuel Nogueira  wrote:

> you just need to specify the username wich you want to use. So type "psql
> -U postgres", as postgres being your username.
>
>
> Em sáb., 30 de mai. de 2020 às 18:47, sunday honesty <
> honesty202...@gmail.com> escreveu:
>
>> Here is it again
>>
>> On Sat, May 30, 2020, 10:44 PM Samuel Nogueira 
>> wrote:
>>
>>> Sorry but i think your screenshot wasn’t attached to your last email,
>>> please end it again
>>>
>>> *De: *sunday honesty 
>>> *Enviado:*sábado, 30 de maio de 2020 18:28
>>> *Para: *django-users@googlegroups.com
>>> *Assunto: *Re: Command open postgresql in from cmd in windows
>>>
>>>
>>>
>>> Here is the screenshot... Pls download.
>>>
>>>
>>>
>>> PS: I was connected to the internet and also tried it without internet
>>> connection.
>>>
>>>
>>>
>>> On Sat, May 30, 2020, 10:17 PM Samuel Nogueira 
>>> wrote:
>>>
>>> Can you send  me more details about the error? A screenshot should be
>>> enough
>>>
>>> *De: *sunday honesty 
>>> *Enviado:*sábado, 30 de maio de 2020 15:18
>>> *Para: *django-users@googlegroups.com
>>> *Assunto: *Re: Command open postgresql in from cmd in windows
>>>
>>>
>>>
>>> @Samuel,
>>>
>>> I did that and psql now opened and prompted me to enter password for my
>>> user name(system). I entered the password I created while installing
>>> postgresql and got a fatal error even when I was connected to the
>>> internet...
>>>
>>>
>>>
>>> PS: the username it gave me during installation is postgres but prompted
>>> me to enter password for my computer username
>>>
>>>
>>>
>>> On Sat, May 30, 2020, 6:39 PM Samuel Nogueira 
>>> wrote:
>>>
>>> Set path For PostgreSQL in Windows:
>>>
>>>
>>>
>>>1. Searching for env will show Edit environment variables for your
>>>account
>>>2. Select Environment Variables
>>>
>>>
>>>1. From the System Variables box click new(to add new path)
>>>
>>>
>>>
>>> Include the bin directory of your PostgreSQL installation. then add new
>>> path there
>>>
>>> [for example]
>>>
>>> C:\Program Files\PostgreSQL\12\bin
>>>
>>> After that click OK and then try to type psql in your command shell
>>>
>>>
>>>
>>> I adapted this from a comment in stackoverflow in the link bellow, if it
>>> doesnt work I suggest you to go there.
>>>
>>>
>>> https://stackoverflow.com/questions/11460823/setting-windows-path-for-postgres-tools
>>>
>>>
>>>
>>> *De: *sunday honesty 
>>> *Enviado:*sábado, 30 de maio de 2020 14:20
>>> *Para: *Django users 
>>> *Assunto: *Command open postgresql in from cmd in windows
>>>
>>>
>>>
>>> I have been in a message before I could successfully install postgresql
>>> on my windows; it seems everyone is using Linux or Mac.
>>>
>>>
>>>
>>> Pls can someone help me now...
>>>
>>> I want to open postgres she'll from my command prompt so I can continue
>>> what am learning... The Tutorial am following is using Linux and the
>>> command to "psql" to open shell is not working on my windows.
>>>
>>>
>>>
>>> Anybody please.
>>>
>>>
>>>
>>> --
>>>
>>> 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/e2396f7b-9e27-442d-a2aa-302a089bead8%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://group

Re: Command open postgresql in from cmd in windows

2020-05-30 Thread sunday honesty
Here is it again

On Sat, May 30, 2020, 10:44 PM Samuel Nogueira  wrote:

> Sorry but i think your screenshot wasn’t attached to your last email,
> please end it again
>
> *De: *sunday honesty 
> *Enviado:*sábado, 30 de maio de 2020 18:28
> *Para: *django-users@googlegroups.com
> *Assunto: *Re: Command open postgresql in from cmd in windows
>
>
>
> Here is the screenshot... Pls download.
>
>
>
> PS: I was connected to the internet and also tried it without internet
> connection.
>
>
>
> On Sat, May 30, 2020, 10:17 PM Samuel Nogueira 
> wrote:
>
> Can you send  me more details about the error? A screenshot should be
> enough
>
> *De: *sunday honesty 
> *Enviado:*sábado, 30 de maio de 2020 15:18
> *Para: *django-users@googlegroups.com
> *Assunto: *Re: Command open postgresql in from cmd in windows
>
>
>
> @Samuel,
>
> I did that and psql now opened and prompted me to enter password for my
> user name(system). I entered the password I created while installing
> postgresql and got a fatal error even when I was connected to the
> internet...
>
>
>
> PS: the username it gave me during installation is postgres but prompted
> me to enter password for my computer username
>
>
>
> On Sat, May 30, 2020, 6:39 PM Samuel Nogueira 
> wrote:
>
> Set path For PostgreSQL in Windows:
>
>
>
>1. Searching for env will show Edit environment variables for your
>account
>2. Select Environment Variables
>
>
>1. From the System Variables box click new(to add new path)
>
>
>
> Include the bin directory of your PostgreSQL installation. then add new
> path there
>
> [for example]
>
> C:\Program Files\PostgreSQL\12\bin
>
> After that click OK and then try to type psql in your command shell
>
>
>
> I adapted this from a comment in stackoverflow in the link bellow, if it
> doesnt work I suggest you to go there.
>
>
> https://stackoverflow.com/questions/11460823/setting-windows-path-for-postgres-tools
>
>
>
> *De: *sunday honesty 
> *Enviado:*sábado, 30 de maio de 2020 14:20
> *Para: *Django users 
> *Assunto: *Command open postgresql in from cmd in windows
>
>
>
> I have been in a message before I could successfully install postgresql on
> my windows; it seems everyone is using Linux or Mac.
>
>
>
> Pls can someone help me now...
>
> I want to open postgres she'll from my command prompt so I can continue
> what am learning... The Tutorial am following is using Linux and the
> command to "psql" to open shell is not working on my windows.
>
>
>
> Anybody please.
>
>
>
> --
>
> 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/e2396f7b-9e27-442d-a2aa-302a089bead8%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/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol?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/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%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/82EDD67E-5365-4148-BCE2-F2442C82E8BB%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/82EDD67E-5365-4148-BCE2-F2442C82E8BB%40hxcore.ol?utm_medium=email_source=footer&

Re: Command open postgresql in from cmd in windows

2020-05-30 Thread sunday honesty
Here is the screenshot... Pls download.

PS: I was connected to the internet and also tried it without internet
connection.

On Sat, May 30, 2020, 10:17 PM Samuel Nogueira  wrote:

> Can you send  me more details about the error? A screenshot should be
> enough
>
> *De: *sunday honesty 
> *Enviado:*sábado, 30 de maio de 2020 15:18
> *Para: *django-users@googlegroups.com
> *Assunto: *Re: Command open postgresql in from cmd in windows
>
>
>
> @Samuel,
>
> I did that and psql now opened and prompted me to enter password for my
> user name(system). I entered the password I created while installing
> postgresql and got a fatal error even when I was connected to the
> internet...
>
>
>
> PS: the username it gave me during installation is postgres but prompted
> me to enter password for my computer username
>
>
>
> On Sat, May 30, 2020, 6:39 PM Samuel Nogueira 
> wrote:
>
> Set path For PostgreSQL in Windows:
>
>
>
>1. Searching for env will show Edit environment variables for your
>account
>2. Select Environment Variables
>
>
>1. From the System Variables box click new(to add new path)
>
>
>
> Include the bin directory of your PostgreSQL installation. then add new
> path there
>
> [for example]
>
> C:\Program Files\PostgreSQL\12\bin
>
> After that click OK and then try to type psql in your command shell
>
>
>
> I adapted this from a comment in stackoverflow in the link bellow, if it
> doesnt work I suggest you to go there.
>
>
> https://stackoverflow.com/questions/11460823/setting-windows-path-for-postgres-tools
>
>
>
> *De: *sunday honesty 
> *Enviado:*sábado, 30 de maio de 2020 14:20
> *Para: *Django users 
> *Assunto: *Command open postgresql in from cmd in windows
>
>
>
> I have been in a message before I could successfully install postgresql on
> my windows; it seems everyone is using Linux or Mac.
>
>
>
> Pls can someone help me now...
>
> I want to open postgres she'll from my command prompt so I can continue
> what am learning... The Tutorial am following is using Linux and the
> command to "psql" to open shell is not working on my windows.
>
>
>
> Anybody please.
>
>
>
> --
>
> 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/e2396f7b-9e27-442d-a2aa-302a089bead8%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/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol?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/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%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/82EDD67E-5365-4148-BCE2-F2442C82E8BB%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/82EDD67E-5365-4148-BCE2-F2442C82E8BB%40hxcore.ol?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/CALcuGNsYJgUJQ%2BSywNePjqCH3PM9hpcH97cHDgxj%2BD12ufbdDA%40mail.gmail.com.


Re: Command open postgresql in from cmd in windows

2020-05-30 Thread sunday honesty
@Samuel,
I did that and psql now opened and prompted me to enter password for my
user name(system). I entered the password I created while installing
postgresql and got a fatal error even when I was connected to the
internet...

PS: the username it gave me during installation is postgres but prompted me
to enter password for my computer username

On Sat, May 30, 2020, 6:39 PM Samuel Nogueira  wrote:

> Set path For PostgreSQL in Windows:
>
>
>
>1. Searching for env will show Edit environment variables for your
>account
>2. Select Environment Variables
>
>
>1. From the System Variables box click new(to add new path)
>
>
>
> Include the bin directory of your PostgreSQL installation. then add new
> path there
>
> [for example]
>
> C:\Program Files\PostgreSQL\12\bin
>
> After that click OK and then try to type psql in your command shell
>
>
>
> I adapted this from a comment in stackoverflow in the link bellow, if it
> doesnt work I suggest you to go there.
>
>
> https://stackoverflow.com/questions/11460823/setting-windows-path-for-postgres-tools
>
>
>
> *De: *sunday honesty 
> *Enviado:*sábado, 30 de maio de 2020 14:20
> *Para: *Django users 
> *Assunto: *Command open postgresql in from cmd in windows
>
>
>
> I have been in a message before I could successfully install postgresql on
> my windows; it seems everyone is using Linux or Mac.
>
>
>
> Pls can someone help me now...
>
> I want to open postgres she'll from my command prompt so I can continue
> what am learning... The Tutorial am following is using Linux and the
> command to "psql" to open shell is not working on my windows.
>
>
>
> Anybody please.
>
>
>
> --
>
> 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/e2396f7b-9e27-442d-a2aa-302a089bead8%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/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol
> <https://groups.google.com/d/msgid/django-users/029CFE67-6146-41CD-A684-E616D519A356%40hxcore.ol?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/CALcuGNuGh1hKneW5cfB6rRwiKspy_U%2BpKNYpXf1-t1wKuWnHmg%40mail.gmail.com.


Command open postgresql in from cmd in windows

2020-05-30 Thread sunday honesty
I have been in a message before I could successfully install postgresql on my 
windows; it seems everyone is using Linux or Mac.

Pls can someone help me now...
I want to open postgres she'll from my command prompt so I can continue what am 
learning... The Tutorial am following is using Linux and the command to "psql" 
to open shell is not working on my windows.

Anybody please.

-- 
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/e2396f7b-9e27-442d-a2aa-302a089bead8%40googlegroups.com.


Re: IntegrityError: NOT NULL constraint failed

2020-05-27 Thread sunday honesty
Thanks Samuel it worked

On Thu, May 28, 2020, 12:23 AM Samuel Nogueira  wrote:

> In your Comment model you have a author field wich is a ForeignKey. The
> error is pointing exactly to that field, since it is a not null field. To
> overcome this you must pick the ID of the logged user and set the author
> field with the user ID. You can do that in your views.py the same way as
> you did in new_comment.post = post, only changing .post for .author and
> matching it with request.user. the line will look like this
> new_comment.author = request.user. remember to put it before
> new_comment.save()
>
>
>
> *De: *sunday honesty 
> *Enviado:*quarta-feira, 27 de maio de 2020 19:36
> *Para: *Django users 
> *Assunto: *IntegrityError: NOT NULL constraint failed
>
>
>
> I try to let user add comments to blog post am making... When I run
> makemigrations and migrate, everything seemed fine . The form displayed
> well but shows the following error when I fill the form and click on the
> submit button. Django.db.utils.IntegrityError: NOT NULL constraint failed:
> blog_comment.author_id
>
>
>
> Am new to Django and following a tutorial. The tutorial doesn't have users
> except the super user. I learnt about users and so I let user register to
> use the blog. The tutorial provided a name field in the form so commenter
> can enter their name. Here, I want to use the current user for this
> field(see my models.py below to see how I have done this). Any help to
> solve this will be appreciated.
>
>
>
> PS: I have seen similar questions like this and deleted my migrations file
> and re-ran migrations but it didn't still work.
>
>
>
> #models.py
>
> class Comment(models.Model):
>
> post = models.ForeignKey(Post, on_delete=models.CASCADE,
> related_name='comments')
>
> author = models.ForeignKey(get_user_model(), on_delete=models.CASCADE,)
>
> comment = models.TextField()
>
> created = models.DateTimeField(auto_now_add=True)
>
> updated = models.DateTimeField(auto_now=True)
>
> active = models.BooleanField(default=True)
>
>
>
> class Meta:
>
> ordering = ('created',)
>
>
>
> def __str__(self):
>
> return f'Comment by {self.author} on {self.post}'
>
>
>
> #forms.py
>
> class CommentForm(forms.ModelForm):
>
>
>
> class Meta:
>
> model = Comment
>
> fields = ('comment',)
>
>
>
> #views.py
>
> login_required
>
> def post_detail(request, post, pk):
>
> post = get_object_or_404(Post, id=pk, slug=post, status='published')
>
> comments = post.comments.filter(active=True)
>
> new_comment = None
>
>
>
> if request.method == 'POST':
>
> comment_form = CommentForm(data=request.POST)
>
> if comment_form.is_valid():
>
> new_comment = comment_form.save(commit=False)
>
> new_comment.post = post
>
> new_comment.save()
>
> else:
>
> comment_form = CommentForm()
>
> return render(request,
>
> 'post_detail.html',
>
> {'post': post,
>
> 'comments': comments,
>
> 'new_comment': new_comment,
>
> 'comment_form': comment_form})
>
>
>
> --
>
> 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/87349ba6-bb75-477c-a84b-9e15be428a5b%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/5ecef62c.1c69fb81.ab057.4da7%40mx.google.com
> <https://groups.google.com/d/msgid/django-users/5ecef62c.1c69fb81.ab057.4da7%40mx.google.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/CALcuGNtreJ4koB6v22TtGKsPSD9-w4%3DzFR_v63u5c%3Dk6rNJUXA%40mail.gmail.com.


IntegrityError: NOT NULL constraint failed

2020-05-27 Thread sunday honesty
I try to let user add comments to blog post am making... When I run 
makemigrations and migrate, everything seemed fine . The form displayed well 
but shows the following error when I fill the form and click on the submit 
button. Django.db.utils.IntegrityError: NOT NULL constraint failed: 
blog_comment.author_id

Am new to Django and following a tutorial. The tutorial doesn't have users 
except the super user. I learnt about users and so I let user register to use 
the blog. The tutorial provided a name field in the form so commenter can enter 
their name. Here, I want to use the current user for this field(see my 
models.py below to see how I have done this). Any help to solve this will be 
appreciated.

PS: I have seen similar questions like this and deleted my migrations file and 
re-ran migrations but it didn't still work.

#models.py
class Comment(models.Model):
post = models.ForeignKey(Post, on_delete=models.CASCADE, 
related_name='comments')
author = models.ForeignKey(get_user_model(), on_delete=models.CASCADE,)
comment = models.TextField()   
created = models.DateTimeField(auto_now_add=True)  
updated = models.DateTimeField(auto_now=True)
active = models.BooleanField(default=True)

class Meta:
ordering = ('created',)

def __str__(self):
return f'Comment by {self.author} on {self.post}'

#forms.py
class CommentForm(forms.ModelForm):

class Meta:
model = Comment
fields = ('comment',)

#views.py
login_required
def post_detail(request, post, pk):
post = get_object_or_404(Post, id=pk, slug=post, status='published')
comments = post.comments.filter(active=True)
new_comment = None

if request.method == 'POST':
comment_form = CommentForm(data=request.POST)
if comment_form.is_valid():
new_comment = comment_form.save(commit=False)
new_comment.post = post
new_comment.save()
else:
comment_form = CommentForm()
return render(request,
'post_detail.html',
{'post': post,
'comments': comments,
'new_comment': new_comment,
'comment_form': comment_form})

-- 
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/87349ba6-bb75-477c-a84b-9e15be428a5b%40googlegroups.com.


How to share post to social media from a Django blog

2020-05-27 Thread sunday honesty
Please can someone help me look into this.
I have done everything to use django-social-share but it refused to work with 
the templates I defined.
Can you help me take a look.
https://stackoverflow.com/questions/62038241/how-do-i-make-custom-templates-for-django-social-share

-- 
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/7852f8a9-6559-4ce7-8032-c1bc06e7d2bf%40googlegroups.com.


Problem with django-social-share

2020-05-26 Thread sunday honesty
Hello develops, hope you guys are doing well. Really thankful for all those who 
make out time to answer our varrying questions.

When I used django-social_share, everything worked fine until I added custom 
templates.
After creating the templates and styling with W3.CSS, the social link didn't 
display again... I deleted all the templates and again the link showed...
Can someone help me take a look at my teplates to help determine what I have 
done wrong.

templates/django_social_share/templatetags/share_to_facebook.html


li class="fa fa-facebook">


-- 
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/6375c8fd-c146-4915-8f1b-c918d07e37b4%40googlegroups.com.


Error while trying to send email for password reset

2020-05-24 Thread sunday honesty
I got the following error while trying to send email with send grid smtp

UnicodeEncodeError: 'ascii' codec can't encode character '\u2020' in 
position 168: ordinal not in range(128)

-- 
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/e3baf159-4247-413a-89cf-7c1993aee2b1%40googlegroups.com.


Re: 403 Forbidden

2020-05-24 Thread sunday honesty
Yes, I have both custom password_reset_email.html and
password_reset_subject.txt at /registration/...

But are you sure the correct name is 403.html?

On Sun, May 24, 2020, 2:11 PM Kasper Laudrup  wrote:

> Hi Sunday,
>
> On 24/05/2020 15.04, sunday honesty wrote:
> > What I mean is that it's still outputting the default " 403 forbidden"
> > and not using any custom template.
> > If it's because default=True in my settings, why did my other custom
> > template at "templates/registration/... displayed?
> >
>
> OK. That doesn't sound related to the "Debug=True" setting, although it
> does sound weird if your other custom error pages are being shown with
> Debug settings enabled?
>
> Maybe someone else has an idea?
>
> 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/00b9a322-de31-ab7e-8eb2-f239233f2f42%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/CALcuGNsg%3DZjegt%3Dgm04YerhfS_kB-Gdt7sYFOorFgBtYXPA7cg%40mail.gmail.com.


Re: 403 Forbidden

2020-05-24 Thread sunday honesty
What I mean is that it's still outputting the default " 403 forbidden" and
not using any custom template.
If it's because default=True in my settings, why did my other custom
template at "templates/registration/... displayed?

On Sun, May 24, 2020, 1:59 PM Kasper Laudrup  wrote:

> Hi Sunday,
>
> On 24/05/2020 13.46, sunday honesty wrote:
> > Trust you're doing great guys!
> > Please can someone help with the template name where 403 forbidden
> message that always displays when you raise PermissionDenied.
> > I want to customize the message that should display...
> > I have tried
> > 403.html in my registration folder inside my templates folder but it's
> not working.
> >
>
> It's hard to guess what you mean by "not working", but be aware that
> custom error pages are not used when Debug is set to True in your
> settings. Maybe that's why it's "not working".
>
> 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/d096c046-a5ec-ebd8-2cd6-d2d9803cc8df%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/CALcuGNt_ZjzkKVmeQdhg768yXQeDxLGZtLqpBQY327gFkS_5dA%40mail.gmail.com.


403 Forbidden

2020-05-24 Thread sunday honesty
Trust you're doing great guys!
Please can someone help with the template name where 403 forbidden message that 
always displays when you raise PermissionDenied.
I want to customize the message that should display...
I have tried
403.html in my registration folder inside my templates folder but it's not 
working.

-- 
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/565fb257-f6ce-4412-9a1f-20e8d439b4f2%40googlegroups.com.


Re: Add search to my blog app

2020-05-20 Thread sunday honesty
I don't know JavaScript

On Wed, May 20, 2020, 5:25 PM Vishesh Mangla 
wrote:

> Hi if you want a search bar you need javascript which will do the dynamic
> stuff. Add an event listener to you  of html and use
> “change” as the event. Then you need to insert and remove elements on the
> DOM based on the text in the search box. For more info ask on
> https://webchat.freenode.net/ in the #javascript.
>
>
>
> Sent from Mail <https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> *From: *sunday honesty 
> *Sent: *20 May 2020 21:45
> *To: *Django users 
> *Subject: *Add search to my blog app
>
>
>
> Hello everyone! I have got a question. I am a Django beginner trying to
> build my first web app after completing a book.
>
>
>
> I made an app I called developers forum where authenticated users can post
> something like question or code achievement and another can comment in form
> of answer.
>
> I want to add a search functionality which was not covered in the tutorial.
>
> I browsed out and found how I could add the search but the search results
> will be displayed to a designated urls created for the purpose. I want to
> be able to redirect the searcher to the exact post containing the keyword
> they have typed in the search form with the text highlighted. How can I
> achieve that... If you need any pieces of my code to be able to help me, be
> kind to ask me; I'll post a link to where you can find it.
>
> Thanks in advance.
>
>
>
> --
>
> 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/cdbf7038-480e-446f-aeac-e079ad575e47%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/5ec559c3.1c69fb81.ccc5c.9d57%40mx.google.com
> <https://groups.google.com/d/msgid/django-users/5ec559c3.1c69fb81.ccc5c.9d57%40mx.google.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/CALcuGNv0LBJeQxZB04xyWCDvTgoo5zN82Nf_7bqpomAbQWwAFQ%40mail.gmail.com.


Add search to my blog app

2020-05-20 Thread sunday honesty
Hello everyone! I have got a question. I am a Django beginner trying to build 
my first web app after completing a book.

I made an app I called developers forum where authenticated users can post 
something like question or code achievement and another can comment in form of 
answer.
I want to add a search functionality which was not covered in the tutorial.
I browsed out and found how I could add the search but the search results will 
be displayed to a designated urls created for the purpose. I want to be able to 
redirect the searcher to the exact post containing the keyword they have typed 
in the search form with the text highlighted. How can I achieve that... If you 
need any pieces of my code to be able to help me, be kind to ask me; I'll post 
a link to where you can find it.
Thanks in advance.

-- 
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/cdbf7038-480e-446f-aeac-e079ad575e47%40googlegroups.com.


Re: Bootstrap drop down menu not clickable.

2020-05-17 Thread sunday honesty
Thanks for replying...
I just downloaded it now following the guide on the doc you sent me.
I have added it to my installed app and requirements.txt.
I loaded it at the top of my template and it didn't work. I then included
it in the {% block content %} as suggested by a member here yesterday, yet
it didn't work.
I don't know what's just wrong.
You can take a look at my base.html file
https://pastebin.com/4gVcN2si

On Sun, May 17, 2020, 9:50 AM Kasper Laudrup  wrote:

> Hi Sunday
>
> On 17/05/2020 08.33, sunday honesty wrote:
> > That's what I did... But the question is do I need to download
> > django-bootstrap with pip before I can use compiled bootstrap I have
> > downloaded?
> > Isn't django-bootstrap different from bootstrap?
> >
>
> The compiled bootstrap you have downloaded is just a bunch of CSS
> styles. You have to do some manual work to make that work with you
> Django project.
>
> The whole point of something like the django-bootstrap package is to
> avoid that manual work.
>
> Have you tried following the very simple installation instructions:
>
> https://django-bootstrap4.readthedocs.io/en/latest/installation.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/3b8a4124-4a8a-34f1-a4b4-3387aed6cc6e%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/CALcuGNs6VS_ix30Cxf-f-S64v5USTm4%2Bx6LEXKjEhYK1GrK7ww%40mail.gmail.com.


Re: Bootstrap drop down menu not clickable.

2020-05-17 Thread sunday honesty
That's what I did... But the question is do I need to download
django-bootstrap with pip before I can use compiled bootstrap I have
downloaded?
Isn't django-bootstrap different from bootstrap?

On Sun, May 17, 2020, 2:49 AM Clive Bruton  wrote:

>
> On 16 May 2020, at 15:43, sunday honesty wrote:
>
> > I included it to installed app and got an error message on the
> > console. "Module not found, no module named bootstrap 4"
>
> "bootstrap4"
>
>
> -- Clive
>
> --
> 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/7552335C-16B0-4114-B1F3-5A3F8C1CD02A%40indx.co.uk
> .
>

-- 
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/CALcuGNsiD-Lsr87Zxodnx0s_%3DMe-bcUJzscz6XQHcxqwAy%2Bj2g%40mail.gmail.com.


Re: Bootstrap drop down menu not clickable.

2020-05-16 Thread sunday honesty
I saw "pip install django-bootstrap4"

After installing, I should load bootstrap
Then I could add bootstrap form.

Other tutorials I have seen don't require downloading bootstrap since I
have doneloaded the compiled bootstrap and added it to the static folder of
my Django project.
If really I must download bootstrap using pip before it works, why did
other bootstrap features worked well except for the dropdown?

On Sat, May 16, 2020, 3:51 PM sunday honesty 
wrote:

> All right
>
> On Sat, May 16, 2020, 3:49 PM Simon A  wrote:
>
>> Try to run the pip install command if you havent already. Check the
>> correct command to install bootstrap3 or 4 if forgot the complete package
>> name.
>>
>> On Sat, May 16, 2020, 22:45 sunday honesty 
>> wrote:
>>
>>> I included it to installed app and got an error message on the console.
>>> "Module not found, no module named bootstrap 4"
>>>
>>> On Sat, May 16, 2020, 3:31 PM Clive Bruton  wrote:
>>>
>>>>
>>>> On 16 May 2020, at 15:03, sunday honesty wrote:
>>>>
>>>> > I did that and got a TemplateSyntaxError stating that bootstrap4 is
>>>> > not a registered tag library
>>>>
>>>> Did you put it in your installed_apps?
>>>>
>>>>
>>>> -- Clive
>>>>
>>>> --
>>>> 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/AF951EBC-2228-4CB5-92CA-F7207A31DE0B%40indx.co.uk
>>>> .
>>>>
>>> --
>>> 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/4gDB5RmIxfA/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/CALcuGNsKtsCKW8FiTSSnrD1B7ajLYGU-rUGs23SFPSfsva%2BwMw%40mail.gmail.com
>>> <https://groups.google.com/d/msgid/django-users/CALcuGNsKtsCKW8FiTSSnrD1B7ajLYGU-rUGs23SFPSfsva%2BwMw%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/CABXH83rS%2BdyLMhOdcdcXtvERh5a2PpmG_NubQjjspEz1YacWSw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CABXH83rS%2BdyLMhOdcdcXtvERh5a2PpmG_NubQjjspEz1YacWSw%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/CALcuGNsRdWqucetgtU3qS_78mCxu%3DBvV%3DDO4DXGdH7fpSknk-w%40mail.gmail.com.


Re: Bootstrap drop down menu not clickable.

2020-05-16 Thread sunday honesty
All right

On Sat, May 16, 2020, 3:49 PM Simon A  wrote:

> Try to run the pip install command if you havent already. Check the
> correct command to install bootstrap3 or 4 if forgot the complete package
> name.
>
> On Sat, May 16, 2020, 22:45 sunday honesty 
> wrote:
>
>> I included it to installed app and got an error message on the console.
>> "Module not found, no module named bootstrap 4"
>>
>> On Sat, May 16, 2020, 3:31 PM Clive Bruton  wrote:
>>
>>>
>>> On 16 May 2020, at 15:03, sunday honesty wrote:
>>>
>>> > I did that and got a TemplateSyntaxError stating that bootstrap4 is
>>> > not a registered tag library
>>>
>>> Did you put it in your installed_apps?
>>>
>>>
>>> -- Clive
>>>
>>> --
>>> 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/AF951EBC-2228-4CB5-92CA-F7207A31DE0B%40indx.co.uk
>>> .
>>>
>> --
>> 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/4gDB5RmIxfA/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/CALcuGNsKtsCKW8FiTSSnrD1B7ajLYGU-rUGs23SFPSfsva%2BwMw%40mail.gmail.com
>> <https://groups.google.com/d/msgid/django-users/CALcuGNsKtsCKW8FiTSSnrD1B7ajLYGU-rUGs23SFPSfsva%2BwMw%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/CABXH83rS%2BdyLMhOdcdcXtvERh5a2PpmG_NubQjjspEz1YacWSw%40mail.gmail.com
> <https://groups.google.com/d/msgid/django-users/CABXH83rS%2BdyLMhOdcdcXtvERh5a2PpmG_NubQjjspEz1YacWSw%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/CALcuGNtqJs6bbwpQHrP4T2LtNDfibsdM5iN5KmU6r5%3D79bJz8A%40mail.gmail.com.


Re: Bootstrap drop down menu not clickable.

2020-05-16 Thread sunday honesty
I included it to installed app and got an error message on the console.
"Module not found, no module named bootstrap 4"

On Sat, May 16, 2020, 3:31 PM Clive Bruton  wrote:

>
> On 16 May 2020, at 15:03, sunday honesty wrote:
>
> > I did that and got a TemplateSyntaxError stating that bootstrap4 is
> > not a registered tag library
>
> Did you put it in your installed_apps?
>
>
> -- Clive
>
> --
> 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/AF951EBC-2228-4CB5-92CA-F7207A31DE0B%40indx.co.uk
> .
>

-- 
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/CALcuGNsKtsCKW8FiTSSnrD1B7ajLYGU-rUGs23SFPSfsva%2BwMw%40mail.gmail.com.


Bootstrap drop down menu not clickable.

2020-05-16 Thread sunday honesty
I did that and got a TemplateSyntaxError stating that bootstrap4 is not a 
registered tag library

-- 
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/5756089d-a944-4b3c-8d35-74e328c47cc1%40googlegroups.com.


Bootstrap drop down not dropping

2020-05-15 Thread sunday honesty
I have tried everything possible to make my bootstrap clik but no way. I 
included bootstrap js, css, jQuery and popper in locally in my static 
directory. I have been stocked for over two weeks. Someone help me out pls.
Here's the link to my code.

https://stackoverflow.com/questions/61709772/my-bootstrap-drop-down-items-are-not-clickable-showing

Pls help out and not too experienced.

-- 
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/ed30d129-af14-4d2c-aec5-b57605779163%40googlegroups.com.


Bootstrap drop down menu not clickable.

2020-05-15 Thread sunday honesty
This is my first question here. I hope I find answer. Am happy to be with you 
guys.

I am beginner and have been stucked with this issue for about two weeks now.

Because I don't have good network access here, I decided to download and 
include Bootstrap source file in the static folder of my Django project.
I basically included four files to be able to use bootstrap. The files and 
their location are as follow.
my_project_directory
my_priject
static
css
bootstrap.min.css
js
bootstrap.min.js
jQuery.min.js
popper.min.js

I have done all the settings as suggested from one online resource. Settings 
like setting static_url, static_root and staticfile_dir.

I have included {% load static %} at the top of my base.html file and referred 
to the four files in included. I linked css at the head and the three Js at the 
body before closing body.

When I try adding nav bar and drop-down menu, every other things worked except 
for the dropdown. If I click on the item that should reveal the dropdown items, 
it's simply not showing anything but
append # to my home url at the tab.
That is, before, my home page is something like localhost but when I click on 
the dropdown, it changes to localhost/# with nothing dropping down.

I have posted this issue on Stackoverflow but no answer till now.

Here's a link to the codes, may be you can take a look at it.

https://stackoverflow.com/questions/61709772/my-bootstrap-drop-down-items-are-not-clickable-showing

Thanks in advance for helping me out.

-- 
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/d54eb474-8740-42a4-9d7a-2d99227f0160%40googlegroups.com.