MySQLdb module doesn't work in Django 3.X since you installed MySQL
connector for Python, or at least I think you did, you need to read on
their documentation to see what you need to do to make it work with Django
2014-06-09 20:57 GMT-05:00 Kelvin Wong :
> You better check that the MySQL connect
You better check that the MySQL connector actually runs on Py3. I recall
reading that it does not run on Py3.
I don't use MySQL with Django though. Maybe someone else familiar has
better info.
Try to import it from the shell.
K
On Monday, June 9, 2014 5:38:13 PM UTC-7, Alan Sawyer wrote:
>
>
Please excuse me if this is a dumb question, but I've been stuck on this
for about 3 hours, and getting a bit frustrated
I am a noob to Django/Python. I am trying to get this setup on Windows 7
laptop.
I installed Python 3.4 but have also tried 3.3
I then installed Pip
I then installed Django
Hi Jimish,
Thank you for the advice.
I figured that
$ python manage.py test.views
worked for me:)
Kind regards,
Kim
On Mon, Jun 9, 2014 at 1:11 PM, Jimish Parekh wrote:
> Hi,
> Try running
> python manage.py test lists.tests
>
> and see if tests are running or not.
>
> Thanks,
>
>
> On Sunda
Thank you again for your advice!
It worked:)
Kim
On Mon, Jun 9, 2014 at 1:42 PM, Kelvin Wong wrote:
> Open this file
>
> /Users/kim/Desktop/Python/python3/superlists/lists/tests.py
>
> On line 3 change
>
> from superlists.lists.views import home_page
>
> to
>
> from lists.views import home_pag
You can also add a depends_on statement to your south migrations, if you
really need them to run in a particular order:
http://south.readthedocs.org/en/latest/dependencies.html
On Sun, Jun 8, 2014 at 2:09 PM, monoBOT wrote:
> Hi Esau.
>
> Funny to see you here ;.D
>
> I checked what you told me
Hi,
I know, that ./manage.py runserver is not considered being secure.
In my context this doesn't matter.
What matters in my context is following:
- start a python process
- start at any time later on demand a web server
- this server shall serve django contents and shall have full read
/ write
I have the same problem.
Nikhil Verma於 2012年7月2日星期一UTC+8下午9時17分03秒寫道:
>
> HI All
>
> I am applying an django-registration in my app. So i create a UserProfile
> Model and a ModelForm after clicking on the email link
> the user is redirected to the ModelForm page of UserProfile. I am filling
> t
On Saturday, June 7, 2014 6:07:52 AM UTC-4, Aseem Bansal wrote:
>
> My main concern currently is that this project is turning out to have a
> lot more jQuery than Python/HTML. Am I designing this incorrectly? I
> understand that as my requirements are mostly asynchronous so there is a
> need
Hello,
There are a lot of ways to do that: from simple "rsync" or "checkout
periodically with cron" (in both cases you need to move your settings to
environment vars) to engines like Fabric.
Even books are written: (http://continuousdelivery.com/)
Ilya Kazakevich,
JetBrains PyCharm (Best Pyt
below is the my 2 models
Class Profile(models.MODEL):
first_name = models.Charfield()
last_name = models.Charfield()
adress = .
Class Reservation(models.MODEL):
profile = models.ForeignKey(Profile)
price = models.IntegerField()
room = m
Hi all,
I am trying to receive JSON data using HTTP POST in django 1.6.
I tried using request.POST['data'], request.raw_post_data, request.body but
none is working for me.
I have posted question and code at
http://stackoverflow.com/questions/24068576/how-to-receive-json-data-using-http-post-req
12 matches
Mail list logo