Re: Tutorials Needed

2019-03-01 Thread Sam W
This YouTube Channel is really good Taught by Corey Schafer https://www.youtube.com/watch?v=UmljXZIypDc Python Django Tutorial: It has more than 17 videos about Django. On Thursday, February 28, 2019 at 12:54:06 PM UTC-6, Madhav Rajmohan wrote: > > Friends, > I am Madhav Rajmohan

Re: Problems with first program

2019-03-01 Thread Sam W
The error is very clear "IndentationError: expected an indented block" Use PyCharm IDE OR Visual Studio Code. Also, never use Keyboard Spacebar for indentation , always use Tab for indentation. TO solve your problem take the question_text to the beginning of the line then hit the Tab once. O

Re: django vue javascript integration

2019-03-01 Thread Sam W
Why don't you use Django REST framework ? On Friday, March 1, 2019 at 11:36:37 AM UTC-6, Tomas Garijo wrote: > > Hello group, > > I have a huge problems to integrate a vue javascript file in one template, > only for testing, I'm searching on google but unfortuny I can't find anything. > I have a

Re: django vue javascript integration

2019-03-01 Thread Sam W
Why don't you use Django REST framework ? Try this : How to Integrate Vue.js with Django Rest Framework? https://www.techiediaries.com/django-rest-vuejs/ On Friday, March 1, 2019 at 11:36:37 AM UTC-6, Tomas Garijo wrote: > > Hello group, > > I have a huge problems to integrate a vue javascript f

log out a user when user closes tab or browser

2019-03-20 Thread Sam W
Is there a way in Django to log out a user when user closes tab or browser? This one "SESSION_EXPIRE_AT_BROWSER_CLOSE =True" Doesn't work -- 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: log out a user when user closes tab or browser

2019-03-21 Thread Sam W
AT_BROWSER_CLOSE works for me > but only when you close the browswer, closing a tab will not log you out > also it depends on the browser (firefox seemed in the past to ignore this) > > On Thu, 21 Mar 2019 at 05:34, Sam W > > wrote: > >> Is there a way in Django to log out

Re: log out a user when user closes tab or browser

2019-03-21 Thread Sam W
closing a tab will not log you out >> also it depends on the browser (firefox seemed in the past to ignore this) >> >> On Thu, 21 Mar 2019 at 05:34, Sam W > >> wrote: >> >>> Is there a way in Django to log out a user when user closes tab or >>>

Re: custom registration form

2019-03-25 Thread Sam W
Similar question in Stackoverflow: https://stackoverflow.com/questions/24791110/django-allauth-how-to-set-user-to-active-only-after-e-mail-verification/24809190 On Monday, March 25, 2019 at 7:52:57 AM UTC-5, Shubham Joshi wrote: > > How can I create sign up form in such a way that..once a form h

Re: Web Push Notification in Django

2019-03-25 Thread Sam W
Web Push Notification Package for Django: https://github.com/safwanrahman/django-webpush On Monday, March 25, 2019 at 11:28:43 AM UTC-5, Aayush Bhattarai wrote: > > *I am working on blog project and I wanted to add Web Push Notification in > Django. I have researched a lot. I have not found prop

Re: Django REST custom registration

2019-03-25 Thread Sam W
Similar question in Stackoverflow: https://stackoverflow.com/questions/24791110/django-allauth-how-to-set-user-to-active-only-after-e-mail-verification/24809190 On Monday, March 25, 2019 at 4:17:11 AM UTC-5, shubham joshi wrote: > > How can I create sign up form in such a way that..once a form h

Re: Web Push Notification in Django

2019-03-25 Thread Sam W
This one is very simple: https://www.pushbots.help/install-pushbots-in-your-app-or-website/web-pages/add-pushbots-to-your-web-page On Monday, March 25, 2019 at 11:28:43 AM UTC-5, Aayush Bhattarai wrote: > > *I am working on blog project and I wanted to add Web Push Notification in > Django. I ha

Django Upload multiple files without using Django forms or models

2019-04-14 Thread Sam W
I want to upload multiple files to the system (Local folder) without using Django forms or models. For a single file, everything works just fine and the file get saved to a local media folder under the project. But when I changed the function from {request.FILES['images'] } To {request.FILES.ge

Re: ReportLab or Xhtml2pdf Please can any one guide me to convert the rendered in html to pdf

2019-04-19 Thread Sam W
Use java then use py4j or Jython to call java method... https://www.baeldung.com/pdf-conversions-java On Fri, Apr 19, 2019, 1:11 PM Irfan Khan wrote: > hi, > i stucked in converting the pdf file from html > can an one suggest me even any other possibility instead of using python > library

Re: Django Upload multiple files without using Django forms or models

2019-05-13 Thread Sam W
Yes long time ago .. follow this tutorial https://simpleisbetterthancomplex.com/tutorial/2016/11/22/django-multiple-file-upload-using-ajax.html On Monday, May 13, 2019 at 10:00:24 AM UTC-5, christophe szczepanski wrote: > > *do solved your problem ? , i have the same ?* > > > *Thank you :)* > --

Re: integrate vue js with django

2019-07-15 Thread Sam W
*Use Django REST framework for Django and Vue.axios for vuejs* *Example: * https://medium.com/@jrmybrcf/how-to-build-a-project-with-django-vuejs-create-a-rest-api-endpoint-b57374a89661 On Monday, July 15, 2019 at 12:10:48 AM UTC-5, Pradeep Singh wrote: > > can anyone tell me how to integrate vu

Re: Sign Up by using E-mail id

2019-07-24 Thread Sam W
Check this one out: Django Authentication with just an email and password (no username required!) https://medium.com/@ramykhuffash/django-authentication-with-just-an-email-and-password-no-username-required-33e47976b517 On Wednesday, July 24, 2019 at 5:27:37 AM UTC-5, Soumen Khatua wrote: > > Hi

Re: Sign Up by using E-mail id

2019-07-24 Thread Sam W
This is the official page. It is really simple to follow: https://docs.djangoproject.com/en/2.2/topics/auth/default/ On Wednesday, July 24, 2019 at 5:27:37 AM UTC-5, Soumen Khatua wrote: > > Hi Folks, > I want to create one signup page where end-user can SignUp and LogIn by > using their e-mail

Re: Only for specific region

2019-07-30 Thread Sam W
Use IP2LOCATION to detect the location of the user IP address then you can show pages based on it On Monday, July 29, 2019 at 8:07:07 PM UTC-5, Sebastian Jung wrote: > > Hello, > > I want that my Website only German user can Open it and another User from > Others Region a template Show, that t

Re: django-vue

2019-08-01 Thread Sam W
*Udemy * The Complete Guide to Django REST Framework and Vue JS https://www.udemy.com/the-complete-guide-to-django-rest-framework-and-vue-js/ On Thursday, August 1, 2019 at 2:46:10 AM UTC-5, Pradeep Singh wrote: > > can anyone sugget me django-vue tutorial > -- You received this message becau

Re: Drag and drop

2019-08-02 Thread Sam W
Use Javascript or jQuery check out this link: https://simpleisbetterthancomplex.com/tutorial/2016/11/22/django-multiple-file-upload-using-ajax.html *10 jQuery File Upload Plugins:* https://www.sitepoint.com/10-jquery-file-uploads/ On Friday, August 2, 2019 at 10:00:44 AM UTC-5, Django Dojo wrote

Re: can anyone help me to solve the following error in django-vue integration

2019-08-02 Thread Sam W
Did you add 'corsheaders', to the settings file? Follow this link: https://pypi.org/project/django-cors-headers/ On Thursday, August 1, 2019 at 10:18:11 PM UTC-5, Pradeep Singh wrote: > > F:\django-vue project\djangoVueProject\frontend\webpack.config.js:81 > 'vue$': 'vue/dist/vue.esm.js' >

Re: can anyone help me to solve the following error in django-vue integration

2019-08-02 Thread Sam W
Did you add 'corsheaders', to the settings file? The Error is very clear: *npm ERR! frontend@1.0.0 dev: `cross-env NODE_ENV=development webpack-dev-server --open --hot`* Install : pip install django-cors-headers Then add: 'corsheaders',to the INSTALLED_APPS inside settings file in Django ser

tinymce no module exists

2019-08-04 Thread Sam W
Add it to the installed apps INSTALLED_APPS = ( ... 'tinymce', ) -- 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.

Re: job search

2019-08-20 Thread Sam W
I'm sorry. But knowing Python alone is not enough. I know Python and Django really well, still can't find a job for more than six months. You need to know Solid Python programming, python framework (Django (DRF) & Flask), Docker and Kubernetes, AWS or Azure, Front-end development (React