User Athentication Issue

2020-03-18 Thread Irfan Khan
hi every one, as implemented the user authentication i have tested it working fine. but one issue is when ever we logged into the portal then if we again clicks on back option in browser it going back to login page.how to prevent it. thanks in advance. With Regards, *Irfan khan* -- You receiv

Re: cant import views

2020-03-18 Thread דביר חומרי
בתאריך יום שלישי, 17 במרץ 2020 בשעה 20:03:10 UTC+2, מאת דביר חומרי: > > i was following the toturial and i could'nt find why this error is accure. > polls/urls.py' > > from django.urls import path > > from . import views > > urlpatterns = [ > path('', views.index, name='index'), > ] > > > and

Re: User Athentication Issue

2020-03-18 Thread Integr@te System
Hi Irfan, Plz try to consider cookies with connection session on this user for which other happen. On Wed, Mar 18, 2020, 15:56 Irfan Khan wrote: > hi every one, > > as implemented the user authentication i have tested it working fine. but > one issue > is when ever we logged into the portal th

Re: i'm having problems trying to add users to the admin on django for so long now that i haven't been able to learn much about django for months

2020-03-18 Thread chucks ogwo
It worked! I upgraded Django from 2.0.7 to 3.0.4 which is the latest version and now everything is working as it should. Thank you very much, I'm super grateful On Wednesday, March 18, 2020 at 4:39:24 AM UTC+1, chucks ogwo wrote: > > Environment: > > > Request Method: POST > Request URL: http://

Re: How to resolve account access permission on SendGrid.

2020-03-18 Thread Maro Okegbero Samuel
Hey, Aninash. How did you go about solving the issue, please? On Tuesday, 10 March 2020 19:39:31 UTC+1, avinash prajapati wrote: > > I am recently created an account on SendGrid but after first login it is > showing > error that accounts access permission is not authonaticate. > Help to resolve

Blog project help

2020-03-18 Thread Luka Nik
Hello fellow djangos, I have a slight problem with my project, a simple solution is needed I believe, but I couldn't figure it out. I wanted to add a comment section for my blog posts. Here is the code: Models.py: class Comment(models.Model): post = models.ForeignKey(Post, on_delete=models.

Re: Blog project help

2020-03-18 Thread Python Programming
Hello my friend this site is for you: https://djangocentral.com/building-a-blog-application-with-django/ ‫‪Luka Nik‬‏ <‪luka2...@gmail.com‬‏> در تاریخ چهارشنبه ۱۸ مارس ۲۰۲۰ ساعت ۱۹:۵۷ نوشت:‬ > Hello fellow djangos, > > I have a slight problem with my project, a simple solution is needed I > beli

Re: cant import views

2020-03-18 Thread Laurent Gattegno
I think the problem is inside the views.py file. It looks like python doesnt find views.index and the problem may be the index Laurent Gattegno ‪Le mer. 18 mars 2020 à 12:58, ‫דביר חומרי‬‎ a écrit :‬ > > > בתאריך יום שלישי, 17 במרץ 2020 בשעה 20:03:10 UTC+2, מאת דביר חומרי: >> >> i was following

Re: Blog project help

2020-03-18 Thread Luka Nik
Yes, I used that, but it's not working for me. Actually I combined two projects, but, I think my blog/post-detail is not working On Wed, Mar 18, 2020 at 6:00 PM Python Programming wrote: > Hello my friend this site is for you: > > https://djangocentral.com/building-a-blog-application-with-django

write a new app

2020-03-18 Thread Mohsen Pahlevanzadeh
Dear All, I need to write an real app for my CV, But I want to write a usable app, Not just a app for upload in github. What do you recommend? Of course , I don't want to code html/css and js. I want to write only back-end. --mohsen -- You received this message because you are subscribed to th

Re: Blog project help

2020-03-18 Thread sanka nanaji
I cannot see forms/serializers here. You have to make a modelserializer/form in your serializers.py/form.py file and write class meta in that and put comment fields in model user. I would suggest you to go look in the document. Thank you On Wed, Mar 18, 2020, 13:06 Luka Nik wrote: > Yes, I used

Django channel and gunicorn

2020-03-18 Thread N'BE SORO
hi i have a problem with django channel and gunicorn. I don't know how to configure my project so that the websocket can pass. thank you. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails

Re: Blog project help

2020-03-18 Thread Motaz Hejaze
where is your forms.py file ??? you have to write the comments form .. using forms.Form write field by field or using forms.modelform class meta : model = Comment On Wed, Mar 18, 2020 at 8:10 PM sanka nanaji wrote: > I cannot see forms/serializers here. You have to make a > modelserializer/f

Re: write a new app

2020-03-18 Thread ANi
Well, you can write an integrated API service app. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discus

Re: i am trying to show the uploaded picture in html file but it's not showing there. #error d.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found) in inspecting eleme

2020-03-18 Thread ANi
I think maybe you should check your file upload settings, like the upload path. - Ani -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@

Re: write a new app

2020-03-18 Thread Motaz Hejaze
Thats right , Make a web service for something important On Thu, 19 Mar 2020, 3:03 am ANi, wrote: > Well, you can write an integrated API service app. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsubscribe from this group and s

Re: i am trying to show the uploaded picture in html file but it's not showing there. #error d.jpg:1 Failed to load resource: the server responded with a status of 404 (Not Found) in inspecting elemen

2020-03-18 Thread Motaz Hejaze
Please upload models , urls , settings files On Thu, 19 Mar 2020, 3:33 am ANi, wrote: > I think maybe you should check your file upload settings, like the upload > path. > > - Ani > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To unsu

It is Possible to send html File through Django Rest api? Please suggest

2020-03-18 Thread venna venkatReddy
It is Possible to send html File through Django Rest API. I need how to send Template/one.html file to Other Application when they hit my API. Please respond or suggest any url -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fro

Re: cant import views

2020-03-18 Thread Sai Sandeep Rayanuthala
There is no function index in views. That is the problem. Create a function named index in views. On Wed, 18 Mar 2020, 22:30 Laurent Gattegno, wrote: > I think the problem is inside the views.py file. It looks like python > doesnt find views.index and the problem may be the index > Laurent Gatte