Python-django project

2020-08-07 Thread Akshat Zala
Interested in working My whatsapp number: +91 9619073241 -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view

Re: Django Pagination

2020-06-01 Thread Akshat Zala
Dear Sir, it shows all the text on all the pages. if there are total 5 posts, then it shows all the 5 posts on all the pages. Thanks, Akshat Zala On Saturday, 30 May 2020 20:54:35 UTC+5:30, maninder singh Kumar wrote: > > Views.py looks fine ! > > regards > willy > > &

Re: Django Pagination

2020-05-31 Thread Akshat Zala
fined the variable is_paginated? Is it present in the > context? > > On Sat, May 30, 2020, 8:53 PM maninder singh Kumar > wrote: > >> Views.py looks fine ! >> >> regards >> willy >> >> >> On Sat, May 30, 2020 at 7:22 PM Akshat Zala > &g

Re: Django Pagination

2020-05-30 Thread Akshat Zala
On Saturday, 30 May 2020 19:20:47 UTC+5:30, Akshat Zala wrote: > > Hello, > > I am finding it difficult to paginate through all the posts > > My views.py : > > @login_required > def home_view(request): > """Display all the post of frie

Django Pagination

2020-05-30 Thread Akshat Zala
number|add:'4' %} {{ num }} {% endif %} {% endfor %} {% if page_obj.has_next %} arrow_right Last {% endif %} Thanks Akshat Zala -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails fr

Re: Parallel or split payment options using paypal

2020-05-29 Thread Akshat Zala
Hi John I agree with Kasper. Regards, Akshat On Thursday, 28 May 2020 01:31:03 UTC+5:30, Kasper Laudrup wrote: > > Hi John, > > On 27/05/2020 19.06, John McClain wrote: > > Hello All, > > > > Can anyone provide a method to split payments via paypal. I basically > > want to earn a

Re: Django back button issue after log-out

2020-05-22 Thread Akshat Zala
Hey, Did the solution worked? On Tuesday, 19 May 2020 10:37:51 UTC+5:30, Akshat Zala wrote: > > In urls.py of the project directory: > > path('login/', auth_views.LoginView. > as_view(template_name='users/login.html', redirect_authenticated_user=True > ), > name='login

Re: I am facing issues in sharing module.

2020-05-19 Thread Akshat Zala
I have Posts and Friends model in blog and friend apps respectively. In friend model: I have fromuser, touser, and status as fields. In Posts model, I have title, content, author_id anddatecreated and modified date. On Monday, 18 May 2020 20:12:14 UTC+5:30, Akshat Zala wrote: > > I am

Re: Integrate wepay payments in django site

2020-05-19 Thread Akshat Zala
You can install the following package and study the documentation: 1. https://pypi.org/project/django-wepay/ On Tuesday, 19 May 2020 22:56:24 UTC+5:30, Shyam Acharjya wrote: > > greetings, > > has anyone here have any prior experience in integrating wepay to a django > site? if yes please share

Re: NEW TO DJANGO

2020-05-19 Thread Akshat Zala
You can study https://developer.paypal.com/docs/api/quickstart/ On Wednesday, 20 May 2020 08:57:06 UTC+5:30, Akshat Zala wrote: > > I agree with Vishesh, You require api key which needs to be in settings.py > file > > On Tuesday, 19 May 2020 20:43:17 UTC+5:30, Vishesh Mangla wr

Re: NEW TO DJANGO

2020-05-19 Thread Akshat Zala
I agree with Vishesh, You require api key which needs to be in settings.py file On Tuesday, 19 May 2020 20:43:17 UTC+5:30, Vishesh Mangla wrote: > > Your question is not clear to me. What exactly do you want ?You do not > require django to go to a site , rather you require a hyperlink. > > >

Re: CouchDB as Django backend database

2020-05-19 Thread Akshat Zala
You can refer to the link below: 1. https://stackoverflow.com/a/50521563/4511992 On Friday, 15 May 2020 19:46:52 UTC+5:30, Gopesh Shriwas wrote: > > Hi All, > > Can anybody help me on using couchdb as a django backend database. I went > though with multiple options available on the internet

Re: required help to save SECRET_KEY and Third party Private API key

2020-05-18 Thread Akshat Zala
You can refer the link below: 1. https://cloud.google.com/community/tutorials/secrets-manager-python On Tuesday, 19 May 2020 10:26:17 UTC+5:30, Anirudh choudhary wrote: > > Hello everyone > > I am hosting my website on google cloud platform on Ubuntu VM instance. I > cannot find a way to set

Re: required help to save SECRET_KEY and Third party Private API key

2020-05-18 Thread Akshat Zala
You need to save in ~/.profile On Tuesday, 19 May 2020 10:26:17 UTC+5:30, Anirudh choudhary wrote: > > Hello everyone > > I am hosting my website on google cloud platform on Ubuntu VM instance. I > cannot find a way to set the environment variable in the machine > > Like when I type on my

Re: Django back button issue after log-out

2020-05-18 Thread Akshat Zala
In urls.py of the project directory: path('login/', auth_views.LoginView. as_view(template_name='users/login.html', redirect_authenticated_user=True), name='login'), On Monday, 17 December 2012 18:39:25 UTC+5:30, ke1g wrote: > > > > On Mon, Dec 17, 2012 at 5:14 AM, Ashish Sable > wrote: > >> >>

Re: I am facing issues in sharing module.

2020-05-18 Thread Akshat Zala
I am facing issue in quering the database. I cannot write join query in django orm. On Sunday, 17 May 2020 18:04:47 UTC+5:30, Akshat Zala wrote: > > I wish to share the post with friends in django application. > > My project flow chart is as follows: > > > 1. User register

I am facing issues in sharing module.

2020-05-17 Thread Akshat Zala
. Pending job is to Share the post with friend. 10. Now it is showing all the post to every registered user. Regards, Akshat Zala -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

How to share the post with friends in django?

2020-05-16 Thread Akshat Zala
from_user, to_user and status share details have fields like from_user, to_user and is_friend and shared_content. /user/models.py contains Profile model with user image date & time details Thanks for help, Akshat Zala akshatz...@gmail.com -- You received this message because

Re: Deploying Django Project on heroku

2020-05-16 Thread Akshat Zala
Did the downgrading django==2.2 LTS worked? On Friday, 15 May 2020 00:40:42 UTC+5:30, Sunday Iyanu Ajayi wrote: > > Thank you. I will do that > *AJAYI Sunday * > (+234) 806 771 5394 > *sunne...@gmail.com * > > > > On Thu, May 14, 2020 at 3:58 AM Akshat Zala > w

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
If possible, please downgrade the django version to django2.2 LTS and try again... -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
If possible, please downgrade DJ version to 2.2 LTS and try again to execute the code. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
If using django3.0.0, please down grade the django.VERSION to django==2.2 On Wednesday, 13 May 2020 20:46:17 UTC+5:30, Akshat Zala wrote: > > Which version of django are you using? > > On Saturday, 9 May 2020 19:21:53 UTC+5:30, Sunday Iyanu Ajayi wrote: >> >> I ha

Re: Deploying Django Project on heroku

2020-05-13 Thread Akshat Zala
Which version of django are you using? On Saturday, 9 May 2020 19:21:53 UTC+5:30, Sunday Iyanu Ajayi wrote: > > I have but I still get error > > [image: image.png] > *AJAYI Sunday * > (+234) 806 771 5394 > *sunne...@gmail.com * > > > > On Sat, May 9, 2020 at 1:50 PM ola neat > > wrote: > >>

Re: Project available

2020-05-11 Thread Akshat Zala
I am interested. Do let me know what is to be done. Regards. Akshat On Monday, 11 May 2020 11:36:23 UTC+5:30, maninder singh Kumar wrote: > > Dear group members, > > I have a django project available the flowcharts of which will be up in 1 > week. Write or call if interested ? > > Willy >

Re: Login Not working

2020-04-07 Thread Akshat Zala
On Tuesday, 7 April 2020 18:49:36 UTC+5:30, Akshat Zala wrote: > > You can use decorator before start of view: > No need to write different view for user and admin. > > @login_required(*redirect_field_name='next'*, *login_url=None)* > > On Monday, 6 April 2020 19:05:33 UTC+5

Re: Login Not working

2020-04-07 Thread Akshat Zala
You can use decorator before start of view: No need to write different view for user and admin. @login_required(*redirect_field_name='next'*, *login_url=None)* On Monday, 6 April 2020 19:05:33 UTC+5:30, kkwaqar786 wrote: > > Loggin not working , > > Please Help Me, > > Admin: > > username:-admin

Re: Login Not working

2020-04-07 Thread Akshat Zala
YOu can use decorator: @login_required before start of the function/ On Monday, 6 April 2020 19:05:33 UTC+5:30, kkwaqar786 wrote: > > Loggin not working , > > Please Help Me, > > Admin: > > username:-admin > password:-admin > > User: > > username:-waqar > password:-Test@123 > > > > Please Solved

How to write view in django to display friend_request which are sent by logged in user?

2020-01-10 Thread Akshat Zala
my view to display friendlist: def friend_list(request): context = { 'results_from_user': Friend.objects.filter(from_user=request.user), 'results_to_user': Friend.to_user } return render(request, 'friend/friend_list.html', context) my