Re: How can I host my application in web hosting?

2019-12-01 Thread Asif Khan
I am using Webfaction and quit happy. it is quit fast and scalable platform for Django application. On Thursday, August 22, 2019 at 4:47:51 PM UTC+5, Wasim Rana wrote: > > Hello, I am building a web application locally in my computer. It's almost > done and I want to host it in Siteground

Re: Getting "SMTPServerDisconnected: Connection unexpectedly closed: [Errno 104] Connection reset by peer" errors when using django.core.mail.send_mail in the loop

2019-05-21 Thread Asif Khan
I am facing similar error while I am rendering html template to PDF by using xhtml2pdf. Same when my template have small number of rows it works perfect to render as pdf but when my result fetch mutiple table rows it start processing and after couple of duration give error [Errno 104]

Re: Djando 2.0.7 image handling problem on production server

2018-07-21 Thread Asif Khan
Oh dear I checked and found that Pillow was install in Python3.5 where as production setup is for Python3.6 so Pillow was installed by pip3.5 but not with pip3.6 which I have installed now. the problem is resolved. Thanks for make me focus on this. On Saturday, July 21, 2018 at 9:58:55 PM

Re: Djando 2.0.7 image handling problem on production server

2018-07-21 Thread Asif Khan
> > On Saturday, July 21, 2018 at 11:56:12 AM UTC-4, Asif Khan wrote: >> >> I developed application that uses an ImageField in Django==2.0.7 with >> Pillow 5.2.0 there is no issue on development machine but facing problem on >> production server giving "Server Er

Djando 2.0.7 image handling problem on production server

2018-07-21 Thread Asif Khan
I developed application that uses an ImageField in Django==2.0.7 with Pillow 5.2.0 there is no issue on development machine but facing problem on production server giving "Server Error 500" Exception Value: No module named 'PIL' which I have not used or called in my code. I new to Python and

Re: button not responding when click but when press return key than works

2018-06-14 Thread Asif Khan
., 14 jun. 2018 a las 0:14, Asif Khan ( >) escribió: > >> No I am not using JS capturing for any kind of actions. where as my other >> form button are working. >> >> On Thursday, June 14, 2018 at 2:14:48 AM UTC+5, Asif Khan wrote: >>> >>> I am having amaz

Re: button not responding when click but when press return key than works

2018-06-13 Thread Asif Khan
No I am not using JS capturing for any kind of actions. where as my other form button are working. On Thursday, June 14, 2018 at 2:14:48 AM UTC+5, Asif Khan wrote: > > I am having amazing problem in my django template. Button does not respond > on pressing click on it. It works whe

button not responding when click but when press return key than works

2018-06-13 Thread Asif Khan
I am having amazing problem in my django template. Button does not respond on pressing click on it. It works when I press return key. code is following. {% extends 'vtapp/baseapp_layout.html' %} {% block head %} Vehicle Vegilince - Customer Search {% endblock %} {% block content %} Enter

Re: how to import functions of app from the same project from other app

2018-05-21 Thread Asif Khan
rial/index.html > https://developers.google.com/edu/python/ > > https://docs.djangoproject.com/en/2.0/intro/tutorial01/ > https://docs.djangoproject.com/en/2.0/ > > Hope it helps! > > On Monday, May 21, 2018 at 2:01:45 PM UTC-3, Asif Khan wrote: >> >> I am trying t

Re: how to import functions of app from the same project from other app

2018-05-21 Thread Asif Khan
thanks it is resolved. On Tuesday, May 22, 2018 at 12:18:49 AM UTC+5, Coder Dude wrote: > > Suppose your function is in accounts.models . And you want to import in > VV.views > > In views.py of VV, > Write, > from accounts.models import foo -- You received this message because you are

how to import functions of app from the same project from other app

2018-05-21 Thread Asif Khan
I am trying to import function wrote in one of app in a project to import that function in other app in same project. like I have one project and two apps. Project1 Project1 accounts app (function written in this app) VV app (wants to utilize in this app) I am

Designed page in Adobe Muse as html not showing on browser

2018-05-01 Thread Asif Khan
I have designed a page in adobe muse and exported in html to use with Django all is perfect no errors but when run it is not showing anything on the browser. Asifs-iMac4K:aisite asifkhan$ python3 manage.py runserver Performing system checks... System check identified no issues (0 silenced).