What is the ideal web server to use with Django?

2015-05-12 Thread akshat
I am new to Django. I am building a app which will have to handle several concurrent requests. Which web server is suitable for this? I have read that Apache's performance degrades on high load. -- You received this message because you are subscribed to the Google Groups "Django users" group.

How to go about building complicated web apps with django?

2015-05-12 Thread akshat
I am new to django. I have till now built tutorial apps and read almost 25% of the source code of django. Right now I guess I have decent know-how of django but since I have not built large-scale app on django hence the question. I am building a web app which I know will involve various complexi

Combining Social auth and normal auth in Django

2015-05-21 Thread akshat
I am developing a full-fledged user management in django. I want to combine normal django authentication and social authentications. Django normal authentication contains one User table which stores all the fields of user such as (username,email,password etc). I want to know the sequential steps

Having problem in assigning urls to different views

2015-05-29 Thread akshat
x27;^hello_template/$',include('article.urls')), ] views.py inside article app looks like this - from django.shortcuts import render from django.http import HttpResponse from django.template.loader import get_template from django.template import Context def hello(request): name =

Problem in updating database models.

2015-05-31 Thread akshat
I am using Django 1.8 to build a demo project.Inside my project I have one app 'Book'.Book app initially had this model - class Book(models.Model): title = models.CharField(max_length=200) author = models.TextField() pub_date = models.DateTimeField('date published') I applied

No Email field in the User Registration Form

2015-06-03 Thread akshat
Hello, I am using Django 1.8 and creating a custom user model and registration. My Custom USer registration form is this - class CustomUserCreationForm(UserCreationForm): """ A form that crea

How to check if the client's browser supports cookies in Django?

2015-06-08 Thread akshat
I am making an app which uses User authentication to give access to various pages on the website. I want to use session management for this. But first I need to check if the cookie support is provided by the client's browser. Some conditions which I want to check are - 1) If the user visits my

Re: How to check if the client's browser supports cookies in Django?

2015-06-08 Thread akshat
But this requires two separate views right? How does facebook know on the first attempt that cookie support is not enabled in my browser? On Monday, June 8, 2015 at 8:09:26 PM UTC+5:30, larry@gmail.com wrote: > > On Mon, Jun 8, 2015 at 10:36 AM, akshat > wrote: > > I am maki

What are some 3rd party good django applications which handle user registration,login and authentication?

2015-06-08 Thread akshat
I know some applications and have also used them but I want to know what other django users use and love? Thanks -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email t

How to test email-verification in django-registration-redux application on localhost?

2015-06-09 Thread akshat
I have made an django app which uses Django-Registration-redux application to registration and email verification of users.I am using 'Sites' framework also.How ever when I click register button email is not sent but instead I get this error message - You're using the Django "sites framework"

How to permissions to a group in Django 1.8?

2015-06-13 Thread akshat
I have a 'Document' model which has many-to-many relationship with User model.There is a separate web page in my project which displays the Document instance in a text editor. Now suppose user who created one document wants to invite other users to this document.But he wants to give read-only

what is the alternative to SiteProfileNotAvailable in django?

2015-06-25 Thread akshat
I am using Django-profiles 3rd party app for maintaining user profiles. Django-profiles use *SiteProfileNotAvailable* incase 'settings.AUTH_PROFILE_MODULE' is not defined in settings.py. But *SiteProfileNotAvailable* is deprecated in Django 1.8. So what is the alternative to SiteProfileNotAvaila

what is the alternative to SiteProfileNotAvailable in django?

2015-06-25 Thread akshat
I am using Django-profiles 3rd party app for maintaining user profiles. Django-profiles use *SiteProfileNotAvailable* incase 'settings.AUTH_PROFILE_MODULE' is not defined in settings.py. But *SiteProfileNotAvailable* is deprecated in Django 1.8. So what is the alternative to SiteProfileNotAvaila

what is the alternative to SiteProfileNotAvailable in django?

2015-06-25 Thread akshat
I am using Django-profiles 3rd party app for maintaining user profiles. Django-profiles use *SiteProfileNotAvailable* incase 'settings.AUTH_PROFILE_MODULE' is not defined in settings.py. But *SiteProfileNotAvailable* is deprecated in Django 1.8. So what is the alternative to SiteProfileNotAvaila

How to set back the data to ck-editor instance in a Django web app?

2015-06-29 Thread akshat
I have a Django web app which has various instances of ck-editor instances on a web page.By using on blur event I am saving whole of data of the instance in the database - {% for editor in editors %} {% endfor %}

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 m

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

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 interest

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: > >> Halo,

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
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 django-users+unsubscr...@

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 django-users+unsubscr...@goog

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

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 you

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

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

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

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 t

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 like

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

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

Django Pagination

2020-05-30 Thread Akshat Zala
lif num > page_obj.number|add:'-4' and num < page_obj.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 "Djang

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

Re: Django Pagination

2020-05-30 Thread Akshat Zala
dd:'4' %} {{ num }} {% endif %} {% endfor %} {% if page_obj.has_next %} arrow_right Last {% endif %} {% endif %} It only shows pagination and posts are not seen in template. On Saturday, 30 May 2020 21:39:52 UTC+5:30, RyuCoder wrote: > > Hi akshat, > What is the difficulty? &g

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

Django + MongoDB

2020-07-23 Thread Akshat Gupta
Hello, Ok, first of all, I think Django is really built for Relational databases. Django ORM fits and works really well for RDBMS. However, the app which I am building requires MongoDB as a database. I really tried but all my application needs require MongoDB. So I want to use Django for Mongo

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 this

Not able to connect mongo DB with django2.1

2018-09-17 Thread akshat ahuja
Hey guys, I am a beginner to Django and I am making an application in which I have to connect to MongoDB to retrieve data,, But I am not able to connect to MongoDB, can someone please help me? Regards, Akshat Ahuja -- You received this message because you are subscribed to the Google Groups

Re: Project together

2023-12-11 Thread Akshat Shah
I am interested as well On Monday 11 December 2023 at 01:48:09 UTC+5:30 Williams wrote: > Add me 0037369134555 > > On Thu, Nov 23, 2023, 8:14 PM Youssef Bachraoui > wrote: > >> Hi developer i search to make a group on WhatsApp to begin a project >> together anyone interested about that? >> >>

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 templat