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 currently pursuing  my Studies in 
> Computer Science, I Need some good beginners* Tutorial for Django.*And at 
> the same time some tutorials* for advanced python*
>
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ce32c250-6a3b-4a62-af38-99fa4627374c%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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. 



On Thursday, February 28, 2019 at 5:14:33 PM UTC-6, Edvani Pascoal wrote:
>
> hey guys I'm beginner on django I never worked with this framework before 
> and then I've problems to started polls app this is the error:
> (my_env) root@ubuntu:~/django-test/djangoproject# python manage.py 
> runserver 192.168.184.202:8000
>
>
> Unhandled exception in thread started by  check_errors..wrapper at 0x7fa7af08b9d8>
> Traceback (most recent call last):
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/utils/autoreload.py",
>  
> line 225, in wrapper
> fn(*args, **kwargs)
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/core/management/commands/runserver.py",
>  
> line 109, in inner_run
> autoreload.raise_last_exception()
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/utils/autoreload.py",
>  
> line 248, in raise_last_exception
> raise _exception[1]
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/core/management/__init__.py",
>  
> line 337, in execute
> autoreload.check_errors(django.setup)()
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/utils/autoreload.py",
>  
> line 225, in wrapper
> fn(*args, **kwargs)
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/__init__.py",
>  
> line 24, in setup
> apps.populate(settings.INSTALLED_APPS)
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/apps/registry.py",
>  
> line 112, in populate
> app_config.import_models()
>   File 
> "/home/edvani/django-test/my_env/lib/python3.6/site-packages/django/apps/config.py",
>  
> line 198, in import_models
> self.models_module = import_module(models_module_name)
>   File "/usr/lib/python3.6/importlib/__init__.py", line 126, in 
> import_module
> return _bootstrap._gcd_import(name[level:], package, level)
>   File "", line 994, in _gcd_import
>   File "", line 971, in _find_and_load
>   File "", line 955, in 
> _find_and_load_unlocked
>   File "", line 665, in _load_unlocked
>   File "", line 674, in exec_module
>   File "", line 781, in get_code
>   File "", line 741, in 
> source_to_code
>   File "", line 219, in 
> _call_with_frames_removed
>   File "/home/edvani/django-test/djangoproject/polls/models.py", line 5
> question_text = models.CharField(max_length=200)
> ^
> IndentationError: expected an indented block
>
>
> I need help how to solve this??
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/9d1cfb81-5305-4d3b-882b-8c99d8cae3f3%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 simple html file and I want to load a code that is in other file, of 
> course this files is a *.js file
>
> The best is attach some file to see the problem
>
> You can see in the html file,  there is some comment code this is a test to 
> see if the javascript code works fine, and this works fine.
> But when this javascript code put in other file and load from html file (I'm 
> not sure this will be true) the code doesn't work fine. 
>
>
> Kinds Regards
>
>
>
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4c236c3c-6d18-4d5f-af34-2cc2c947122f%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 file in one template, 
> only for testing, I'm searching on google but unfortuny I can't find anything.
> I have a simple html file and I want to load a code that is in other file, of 
> course this files is a *.js file
>
> The best is attach some file to see the problem
>
> You can see in the html file,  there is some comment code this is a test to 
> see if the javascript code works fine, and this works fine.
> But when this javascript code put in other file and load from html file (I'm 
> not sure this will be true) the code doesn't work fine. 
>
>
> Kinds Regards
>
>
>
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a923a79a-6362-4f1c-8abc-59c6e9b60997%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/644cca74-0443-4c71-8d8e-7326a252eb2e%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-21 Thread Sam W
Thank you for your response. 
SESSION_EXPIRE_AT_BROWSER_CLOSE = True
Doesn't work well in Chrome browser. Plus I want the client's session
to be expired/logged out when tab closed.

On Thursday, March 21, 2019 at 6:48:20 AM UTC-5, Christian Ledermann wrote:
>
> SESSION_EXPIRE_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 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 from it, send an 
>> email to django-users...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/644cca74-0443-4c71-8d8e-7326a252eb2e%40googlegroups.com
>>  
>> <https://groups.google.com/d/msgid/django-users/644cca74-0443-4c71-8d8e-7326a252eb2e%40googlegroups.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>
> -- 
> Best Regards,
>
> Christian Ledermann
>
> Newark-on-Trent - UK
> Mobile : +44 7474997517
>
> https://uk.linkedin.com/in/christianledermann
> https://github.com/cleder/
>
>
> <*)))>{
>
> If you save the living environment, the biodiversity that we have left,
> you will also automatically save the physical environment, too. But If
> you only save the physical environment, you will ultimately lose both.
>
> 1) Don’t drive species to extinction
>
> 2) Don’t destroy a habitat that species rely on.
>
> 3) Don’t change the climate in ways that will result in the above.
>
> }<(((*>
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/cbf6174a-d8c2-4f89-8a33-81e57e9e2a4a%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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

2019-03-21 Thread Sam W
Thank you for your response. 
JavaScript infinite loop behavior gets blocked by Antivirus.

On Thursday, March 21, 2019 at 8:46:22 AM UTC-5, Mohammad Etemaddar wrote:
>
> I have a suggest for you. Its non standard.
>
> First create a javascript infinite loop to make a get call every 1 minute.
> Also make session expiration time at 2 minutes. So if tabs closed the 
> session will expire at 1 minute.
>
> On Thu, 21 Mar 2019 15:17 Christian Ledermann,  > wrote:
>
>> SESSION_EXPIRE_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 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 from it, send 
>>> an email to django-users...@googlegroups.com .
>>> To post to this group, send email to django...@googlegroups.com 
>>> .
>>> Visit this group at https://groups.google.com/group/django-users.
>>> To view this discussion on the web visit 
>>> https://groups.google.com/d/msgid/django-users/644cca74-0443-4c71-8d8e-7326a252eb2e%40googlegroups.com
>>>  
>>> <https://groups.google.com/d/msgid/django-users/644cca74-0443-4c71-8d8e-7326a252eb2e%40googlegroups.com?utm_medium=email&utm_source=footer>
>>> .
>>> For more options, visit https://groups.google.com/d/optout.
>>>
>>
>>
>> -- 
>> Best Regards,
>>
>> Christian Ledermann
>>
>> Newark-on-Trent - UK
>> Mobile : +44 7474997517
>>
>> https://uk.linkedin.com/in/christianledermann
>> https://github.com/cleder/
>>
>>
>> <*)))>{
>>
>> If you save the living environment, the biodiversity that we have left,
>> you will also automatically save the physical environment, too. But If
>> you only save the physical environment, you will ultimately lose both.
>>
>> 1) Don’t drive species to extinction
>>
>> 2) Don’t destroy a habitat that species rely on.
>>
>> 3) Don’t change the climate in ways that will result in the above.
>>
>> }<(((*>
>>
>> -- 
>> 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...@googlegroups.com .
>> To post to this group, send email to django...@googlegroups.com 
>> .
>> Visit this group at https://groups.google.com/group/django-users.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msgid/django-users/CABCjzWq_uy06FeNF%2Bs5f5r9NOT14bcENz52HvKdTrRxKqTiHQA%40mail.gmail.com
>>  
>> <https://groups.google.com/d/msgid/django-users/CABCjzWq_uy06FeNF%2Bs5f5r9NOT14bcENz52HvKdTrRxKqTiHQA%40mail.gmail.com?utm_medium=email&utm_source=footer>
>> .
>> For more options, visit https://groups.google.com/d/optout.
>>
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/d16460b6-7074-4ee6-8081-093505c28631%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 has been 
> filled and submitted by user (teacher / student) . The form should be sent 
> to the Admins email id , once s/he verified the sign up form , the user 
> should able log in
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/3df2988b-75fe-478c-9cd8-a6bf195f1ded%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 proper answer on it.*
> *Looking for good answer. 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 from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/41aa9875-4035-44d4-a836-be044caed128%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 has been 
> filled and submitted by user (teacher / student) . The form should be sent 
> to the Admins email id , once s/he verified the sign up form , the user 
> should able log in
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/121d6dda-fd92-48e9-b5f8-cdd6ad84a8b6%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 have researched a lot. I have not found proper answer on it.*
> *Looking for good answer. 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 from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/ed736569-2d1c-4ec7-b46e-c47e5670bd40%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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.getlist('images')} to be able to upload multiple images I 
didn't get any error at all, but no images saved !! 

* I have a simple html form:*
{ 
{% csrf_token %}
Choose Images


 }

*Python function:*
*{*
  def uploadmulti(request):
if request.method == 'POST' and request.FILES.getlist('images'):
files = request.FILES.getlist('images')
fs = FileSystemStorage()

filename = fs.save(files.name, files 
file_url = fs.url(filename)
return render(request, 'home.html', {
'file_url':file_url
})
return render(request, 'upmulti.html') 
*}*

*I know I'm missing something!!! *

*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 from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/eed60651-3096-4538-a7f5-0fca018a7dbc%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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
>
> --
> 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 post to this group, send email to django-users@googlegroups.com.
> Visit this group at https://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/6862bdc2-bb4f-4253-99de-7606a6b5ac2b%40googlegroups.com
> 
> .
> For more options, visit https://groups.google.com/d/optout.
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/CACp2BVr-6%3DvJm62soy6tXT5f9fgo1D9Aq5H0XVsAvUuMZaNEuw%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.


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

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5a6eb627-f164-4a03-8a06-bddd8f5d5ca2%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 vue js with django 
>
> thanks in advance
>

-- 
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 post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/2e59602c-c89d-49da-83c9-bdb1c5f66350%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


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 Folks,
> I want to create one signup page where end-user can SignUp and LogIn by 
> using their e-mail id nit by Username. Please tell me how i can do 
> that,please provide me source code for that. 
>
> Thank You
>
> Regards,
> Soumen
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/06d49f08-d6ba-47df-8627-6403e1bf6145%40googlegroups.com.


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 id nit by Username. Please tell me how i can do 
> that,please provide me source code for that. 
>
> Thank You
>
> Regards,
> Soumen
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/911d3599-280e-4e38-a61b-7999f5cc2574%40googlegroups.com.


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 they Not live in Germany.
>
> Regards
>
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/0657908b-60ae-46ee-b8c1-954b6e77e4f0%40googlegroups.com.


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 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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/c4b9e54a-a45f-4cd7-b276-beaa7060bd81%40googlegroups.com.


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:
>
> I’m looking to build a drag and drop for end users to customize a webpage. 
> Does Django have any packages for that or are they any other options?

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/509ce421-7b84-467e-a626-afa8d3d05fb2%40googlegroups.com.


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'
> ^
>
> SyntaxError: Unexpected token :
> at Module._compile (internal/modules/cjs/loader.js:721:23)
> at Object.Module._extensions..js 
> (internal/modules/cjs/loader.js:787:10)
> at Module.load (internal/modules/cjs/loader.js:653:32)
> at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
> at Function.Module._load (internal/modules/cjs/loader.js:585:3)
> at Module.require (internal/modules/cjs/loader.js:690:17)
> at require (internal/modules/cjs/helpers.js:25:18)
> at requireConfig (F:\django-vue 
> project\djangoVueProject\frontend\node_modules\webpack\bin\convert-argv.js:97:18)
> at F:\django-vue 
> project\djangoVueProject\frontend\node_modules\webpack\bin\convert-argv.js:104:17
> at Array.forEach ()
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! frontend@1.0.0 dev: `cross-env NODE_ENV=development 
> webpack-dev-server --open --hot`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the frontend@1.0.0 dev script.
> npm ERR! This is probably not a problem with npm. There is likely 
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR! 
> C:\Users\acer\AppData\Roaming\npm-cache\_logs\2019-08-02T03_06_13_266Z-debug.log
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/4f14bd48-66bc-4f4c-8534-4bbe5ca9ee66%40googlegroups.com.


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 server side
 

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'
> ^
>
> SyntaxError: Unexpected token :
> at Module._compile (internal/modules/cjs/loader.js:721:23)
> at Object.Module._extensions..js 
> (internal/modules/cjs/loader.js:787:10)
> at Module.load (internal/modules/cjs/loader.js:653:32)
> at tryModuleLoad (internal/modules/cjs/loader.js:593:12)
> at Function.Module._load (internal/modules/cjs/loader.js:585:3)
> at Module.require (internal/modules/cjs/loader.js:690:17)
> at require (internal/modules/cjs/helpers.js:25:18)
> at requireConfig (F:\django-vue 
> project\djangoVueProject\frontend\node_modules\webpack\bin\convert-argv.js:97:18)
> at F:\django-vue 
> project\djangoVueProject\frontend\node_modules\webpack\bin\convert-argv.js:104:17
> at Array.forEach ()
> npm ERR! code ELIFECYCLE
> npm ERR! errno 1
> npm ERR! frontend@1.0.0 dev: `cross-env NODE_ENV=development 
> webpack-dev-server --open --hot`
> npm ERR! Exit status 1
> npm ERR!
> npm ERR! Failed at the frontend@1.0.0 dev script.
> npm ERR! This is probably not a problem with npm. There is likely 
> additional logging output above.
>
> npm ERR! A complete log of this run can be found in:
> npm ERR! 
> C:\Users\acer\AppData\Roaming\npm-cache\_logs\2019-08-02T03_06_13_266Z-debug.log
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/55c6f1b8-bd91-4f1e-8262-ce7ee830db34%40googlegroups.com.


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.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/a4245a83-39b3-4214-ad31-cb2a7f1bb473%40googlegroups.com.


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 
JS), SQL databases (PostgreSQL) and NoSQL database (MongoDB) AND you should 
have some experience with agile development. 


I’m talking about the job market in United States.

 

On Tuesday, August 20, 2019 at 12:26:15 PM UTC-5, Tessnim Zrayga wrote:
>
> Hello,
> I'm looking for a job as a python developer. Any help? I'm willing to 
> relocate anywhere in the world.
>
> Regards.
>
> -- 
> ZRAYGA Tessnim
> Python Developer
> solixy.com
>
> Skype: tessnim.zr
>

-- 
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 discussion on the web visit 
https://groups.google.com/d/msgid/django-users/e173ecf2-df9b-49eb-a112-fe1d2046e09f%40googlegroups.com.