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

2018-06-13 Thread Fidel Leon
s 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/5f518cba-fcdc-4b2a-9f75-fad87b0e3cd0%40googlegroups.com > <https://groups

Re: Error while doing django tutorial part 2

2018-05-26 Thread Fidel Leon
> 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/0e27456c-eefa-4a1e-bf4f-a44d9e8dcad1%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/0e27456c-eefa

Re: Page not found (404).Please check i am unable to run server.It is showing error

2018-05-25 Thread Fidel Leon
/groups.google.com/group/django-users. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/85ba21bf-3c98-4bbe-877f-716eff7b73d2%40googlegroups.com > <https://groups.google.com/d/msgid/django-users/85ba21bf-3c98-4bbe-877f-716eff7b73d2%40googleg

Re: Starting a poll

2018-05-25 Thread Fidel Leon
see the "error". Fidel Leon fi...@flm.cat Phone: +34 622 26 44 92 El día 25 de mayo de 2018 a las 3:43:19, James Farris ( jamesafar...@gmail.com) escrito: > If you open the app once the server is started by going to 127.0.0.1:8000 > is it loading the website or are you getting a 404

Re: MySQL caching_sha2_password

2018-05-19 Thread Fidel Leon
% *reachable from the Internet*: MySQL Error 1045 (28000): Access denied for user 'root'@'92.187.87.65' (using password: YES) Not the best idea... Fidel Leon fi...@flm.cat Phone: +34 622 26 44 92 GPG: 2585 30C2 E3C7 7151 0864 946B 7423 F94B 5753 5FC7 El 19 de mayo de 2018 a las 0:

Re: ImportError : cannot import name include

2018-05-18 Thread Fidel Leon
El vie., 18 may. 2018 a las 16:20, Journal-Immo () escribió: > Thank > > But (I use debian 9) > > Apt-get update > > Apt-get install python python3 python-django > > django-admin --version 1.11.13 > > Where is the problem ? > > Le 17/05/2018 à 21:01, Fidel Leon

Re: ImportError : cannot import name include

2018-05-17 Thread Fidel Leon
You are using the wrong combination of Django and tutorial: “include” is available in Django 2 and up, but you’re using Django 1.11. Fidel Leon fi...@flm.cat Phone: +34 622 26 44 92 GPG: 2585 30C2 E3C7 7151 0864 946B 7423 F94B 5753 5FC7 El 17 de mayo de 2018 a las 20:56:56, Tristan Demot

Re: How to operate with two models in one view

2018-05-15 Thread Fidel Leon
scribed 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:

Re: importError

2018-05-04 Thread Fidel Leon
end 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

Re: Admin site and Model

2018-05-04 Thread Fidel Leon
ups.google.com/d/msgid/django-users/CAMOFmommxT%3DCLjabwVo0T5ubJ-z8GhN8xwbCXMFcEHXpjR4DEw%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAMOFmommxT%3DCLjabwVo0T5ubJ-z8GhN8xwbCXMFcEHXpjR4DEw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit htt

Re: Admin site and Model

2018-05-04 Thread Fidel Leon
ommxT%3DCLjabwVo0T5ubJ-z8GhN8xwbCXMFcEHXpjR4DEw%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- Fidel Leon fi...@flm.cat Phone: +34 622 26 44 92 -- You received this message because you are subscribed to

Re: Working through the Django tutorial and have run into a problem I cannot figure out. Help would be appreciated. What am I missing here? whenever is search the url "http://127.0.0.1:8000/polls/" th

2018-05-03 Thread Fidel Leon
ion_id): return HttpResponse("You're voting on question %s." % question_id) As a matter of advice, please use a fixed-width font when pasting code, because Python is indented with spaces and using any other type of font makes reading your mail difficult :) El jue., 3 may. 2018

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread Fidel Leon
thing, so django-admin gets fooled. I haven’t used Comodo for decades so I can’t help with this exact issue, sorry - maybe disabling the antivirus while you’re at Django? O:-) Fidel Leon fi...@flm.cat El 3 de mayo de 2018 a las 18:19:06, Duška Miloradović ( daisyfields...@gmail.com) escribió

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread Fidel Leon
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/CAJ0SFUA52autPYk95a9s4t%2BHXzdx-OYgj%3DzLyfynYX9XiM%3D6NQ%40mail.gmail.com > <https:

Re: Need help: django-admin.py startproject [projectname] creates directory which I cannot access

2018-05-03 Thread Fidel Leon
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/djang

Re: Working through the Django tutorial and have run into a problem I cannot figure out. Help would be appreciated. What am I missing here? whenever is search the url "http://127.0.0.1:8000/polls/" th

2018-05-03 Thread Fidel Leon
itten (you have three function returns). Seems you are following the tutorial but not removing the previous examples: def index(request): latest_question_list = Question.objects.order_by('-pub_date')[:5] context = {'latest_question_list': latest_question_list} retur

Re: Tutorial 1 doesn't work

2018-04-28 Thread Fidel Leon
Line 6 of polls/views, should be: def index(request): instead of def index*[*request*]*: Python function names get arguments using parenthesis, not square brackets. Fidel Leon El 28 de abril de 2018 a las 13:54:13, giwon@nexstreaming.com ( giwon@nexstreaming.com) escribió: I did