Hello.
Take a look at https://pypi.python.org/pypi/PyMySQL/0.7.11
On 10/12/2017, Julián Melero Hidalgo wrote:
> Hi all!
> I'm trying to install pip install mysql-python, but it doesn't works.
> I'm using Win10, Xampp, Python 3.
> How can I install it?
> Thanks!!
>
> --
> You received this messag
Alright, so I found out the my text editor was saving my files incorrectly.
Even though it had ".html" it was displaying the whole text in the web
browser, instead of interpreting the the code.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
On Sun, Dec 10, 2017 at 5:24 PM, Etienne Robillard wrote:
> Hey all,
>
> On December 14, the FCC will vote to repeal net neutrality and possibly rig
> the Internet. This means that major corporations could pay to have their
> content delivered faster while independent websites traffic would be
> t
Tried that one too, as it is further down in the tutorial. Still the same
result.
On Sunday, 10 December 2017 17:52:30 UTC-5, Roberth Solis Martínez wrote:
>
> I think its better if you use:
>
> context = {
> 'latest_question_list': latest_question_list,
> }
>
> return render(request, 'po
I think its better if you use:
context = {
'latest_question_list': latest_question_list,
}
return render(request, 'polls/index.html', context)
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop rece
Hey all,
On December 14, the FCC will vote to repeal net neutrality and possibly
rig the Internet. This means that major corporations could pay to have
their content delivered faster while independent websites traffic would
be throttled. I think this is a outrageous move and could seriously ha
Hi all!I'm trying to install pip install mysql-python, but it doesn't works.I'm using Win10, Xampp, Python 3.How can I install it?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
Hey I am trying to learn Django and wanted to implement it with mongoDB.
Are there any pointers where I could learn- anything could help from
youtube videoes to tutorials.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from thi
Code for my view.py
from django.shortcuts import render
from django.http import HttpResponse
from django.http import Http404
from django.shortcuts import render
from django.template import loader
from .models import Question
# Create your views here.
def index(request):
latest_question_list
No, I would not think of the my_first_django folder as the main app.
If you have common stuff create a new app named common or base and put your
stuff in there.
Dylan
On Sun, Dec 10, 2017 at 7:37 AM, Marsanghas wrote:
> Hi all!
>
> Started with Django a few days ago (version 2.0, Python 3.6.3).
I cannot track down why 404 page isn't being used. I can't get any help
from syslog or Nginx log files.
I tried adding DEBUG=True to settings.py and still no clues.
I only get "Server Error 500".
Here is settings.py
TEMPLATES= [{"BACKEND" :
"django.template.backe
Hi all!
Started with Django a few days ago (version 2.0, Python 3.6.3). As a noob (no
experience with Python and Django, and very little with MVC (sorry, MTV ;-) ),
I have a little question that wasn't really clear to me from the tutorial.
When creating a project, for example 'my_first_django'
Checking through the documents I found the following reference:
https://docs.djangoproject.com/en/2.0/topics/forms/media/#order-of-assets
Changed in Django 2.0:
In older versions, the assets of Media objects are concatenated rather than
merged in a way that tries to preserve the relative orderin
because they are specific to only a few models, particularly the loading
scripts, and options, etc. this worked great in Django 1.11
On Sunday, 10 December 2017 09:36:56 UTC-5, Etienne Robillard wrote:
>
> Why don't you simply put the javascripts into your base template without
> using Python ?
Why don't you simply put the javascripts into your base template without
using Python ?
Etienne
Le 2017-12-10 à 09:30, Marc R a écrit :
I have this in my model:
class Media:
js = (
*'/static/plugins/codemirror/lib/codemirror.js',*
'/static/plugins/codemirror/mode/htmlmixed/htmlmixed.
I have this in my model:
class Media:
js = (
* '/static/plugins/codemirror/lib/codemirror.js',*
'/static/plugins/codemirror/mode/htmlmixed/htmlmixed.js',
'/static/plugins/codemirror/addon/fold/foldcode.js',
'/static/plugins/codemirror/addon/fo
What do you mean by not loading correctly?
is it a problem of your urls.py setting?
--
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...@goo
Hi.
Please do the official tutorial first to get hang of Django concepts.
https://docs.djangoproject.com/en/1.11/intro/tutorial01/
If you feel that official tutorial is too packed Django Girls do have
excellent tutorial. https://tutorial.djangogirls.org/en/
10.12.2017 5.58 "minh quang" kirjoitt
It look s fine also to me. What do you expect ?
2017-12-10 5:50 GMT+01:00 Dylan Reinhold :
> That looks fine. how about your view.py.
>
> Dylan
>
> On Sat, Dec 9, 2017 at 6:05 PM, Carl Brubaker
> wrote:
>
>> I copied it from the django tutorial page:
>>
>> {% if latest_question_list %}
>>
>
19 matches
Mail list logo