Re: having an issue with my admin site after an upgrade from django 3.0 to 3.1

2020-08-14 Thread Exactly musty
7 > UTC+2: > >> Done that already but still not working and I use another browser but >> still the same >> >> On Tue, 11 Aug 2020, 6:59 pm carlos, wrote: >> >>> Hi, clean your cache navigator?? >>> >>> On Tue, Aug 11, 2020 at 11:04 AM Ex

Can't change my site name from example.com

2020-07-27 Thread Exactly musty
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

looking for solution

2020-07-27 Thread Exactly musty
The way you wrote your django url is not correct,the " should be like the "cart" not " cart " python count empty space -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an em

Re: Need Help : Custom User Model

2020-07-22 Thread Exactly musty
Reach me I would give you my github repo to copy it from -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this

Re: Need Help : Custom User Model

2020-07-22 Thread Exactly musty
Months ago I was looking for those same thing, I read the doc but wasnt clear enough I had to follow tutorials not until I learnt it, now I use it on all my project, which i added django allauth but i recommend reading this and following this tutorial, if you a newbie custom user model can be a

Re: Not found media/some.jpg

2020-07-21 Thread Exactly musty
delete the media folder and add image again from your admin On Wednesday, July 22, 2020 at 3:56:35 AM UTC+1, Salima Begum wrote: > > Hi all, > Here, i am using three image fields in PostAd form. Images are not saved > to the media folder. Can anyone help me please. > > In models.py > > class c

Re: New Comer Alert !!!

2020-07-21 Thread Exactly musty
this is the reason am active on facebook, i get to get my problem solved than i do in stackoverflow https://web.facebook.com/groups/python.django On Wednesday, July 22, 2020 at 2:07:28 AM UTC+1, David Kyenshak wrote: > > Hello everyone, my name is David. I'm new to django. I've been doing > djan

Login and Registration

2020-07-19 Thread Exactly musty
Read the doc or follow MDN tutorial -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the we

can't find index

2020-07-17 Thread Exactly musty
Look at the error closely, as it says it all, in your project url django cant find the path index,its a url problem, check it if you got it well spelt -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

Re: How to save images posted by application users

2020-07-16 Thread Exactly musty
I also had the same problem long time ago I remember i felt like hanging myself,here is what I did, i deleted the media folder,created by django, try this if it will work -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from thi

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

2020-07-16 Thread Exactly musty
i encounter alot shit when adding static to a url background images,django templates can be shitty sometimes,because sometimes it wont pick up due to some spacing ,its very annoying,here is what i do either i write the same code by myself again beneath it but mostly it always worked by copying

Re: ModuleNotFoundError: No module named 'django'

2020-07-16 Thread Exactly musty
Are you sure you are in your virtual environment, if not make sure you activate your env then install all requirements before you migrations or runserver On Thursday, July 16, 2020 at 7:50:11 PM UTC+1, harshith kumar pedarla wrote: > > I'm getting this error > > Traceback (most recent call

NoReverseMatch if "url" template tag not used with app_name

2020-07-14 Thread Exactly musty
You are using django url, so it should be the same name you gave your url in your URLs.py e.g path('',homeview.as_views, name='home-page') So if I want to call this url in my template I will use the django url which is {% url 'home-page' %}. You will have to check your url and see if what you

Sending email from contact form to all superuser.

2020-07-14 Thread Exactly musty
You will use django send_mail in your views,just go to the django doc,and search for send_mail -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsu

ERROR WHEN RUNNING PYTHON SCRIPT IN DJANGO ENVIRONMENT

2020-07-09 Thread Exactly musty
For any database you are using use this after your database is been set appropriately with the help of django doc Python manage.py makemigrations Python manage.py migrate -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Django

2020-07-07 Thread Exactly musty
You wont get your question answered if you snap your code with your phone,is either you copy and paste the code or screen shot your laptop,ain't seeing shit if you want your question you should edit it -- You received this message because you are subscribed to the Google Groups "Django users"

Re: Static not working on unix while working on windows

2020-07-07 Thread Exactly musty
Oh,have you run migration yet,if you haven't, you need to sometimes while hosting -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@goog

django.core.exceptions.ImproperlyConfigured: The included URLconf 'simplesocial.urls' does not appear to have any patterns in it

2020-07-07 Thread Exactly musty
Show your URLs.py and your imports -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web

Basic security check

2020-07-06 Thread Exactly musty
Bro you should probably host it before talking about security,I am talking about buying a domain name and hosting for yourself -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, se

Static not working on unix while working on windows

2020-07-06 Thread Exactly musty
Try this https://groups.google.com/d/msgid/django-users/35233aa7-a4c2-4cbf-8d69-54ddc4844045o%40googlegroups.com.

Re: How to access custom template using auth_views?

2020-07-05 Thread Exactly musty
try this then clear cache on your browser path('logout/', auth_views. LogoutView.as_view(template_name='registration/logged_out.html'), name= 'logout'), On Sunday, July 5, 2020 at 8:58:25 PM UTC+1, Yasir Iqbal wrote: > > I am having difficulty to access my custom template when I tried to logout >

Re: How to access custom template using auth_views?

2020-07-05 Thread Exactly musty
i recommend you use django-allauth,for its easier, you won't have to struggle for authentication as django has taken care of everything for you On Sun, Jul 5, 2020 at 8:58 PM Yasir Iqbal wrote: > I am having difficulty to access my custom template when I tried to logout > or password_change and

how to give permission to a logged in specific user in a list of users profile

2020-07-05 Thread Exactly musty
how can i specify a user in django templates, for example i have a page which consist of list of users available but i want it to show "Talk to a patient" for only the logged in user on his own profile here is what am saying in picture and here is my code, i actually don't know how to put the c

Django

2020-07-04 Thread Exactly musty
Are you serious from scratch?don't you read the documentation -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view