I'm following the django tutorial online and I'm stuck on the migrate bit
(bottom of the post).
1. Do I need to install south ? Tried to install but am getting a similar
error. OpenKey() argument...
2. Do I need to install sqlite3 separately ? Running import sqlite inside
the python prompt see
And also:
1)
You have misspelled description in the shorten_words method. In you model
field definition, and in your length check it's "description" but in the
print/return statements it's spelled "desciption".
2)
The python slicing operator is clever enough to handle indexes that are out
of b
Actually, the Django term for this is "through". Not via.
See
https://docs.djangoproject.com/en/1.6/topics/db/models/#extra-fields-on-many-to-many-relationships
on how to specify the intermediate table to be used in many-to-many
relationships.
Den lördagen den 15:e mars 2014 kl. 18:01:02 UTC
Hello Judy.
You could increase the likelihood of a helpful response:
-Provide more of the code, such as relevant imports.
-Provide the full error report when you get an exception (copy-pasted).
-Use the correct channel. It seems that you are using the pandas library
and the code you included
I have a Satchmo deployment w/ 500k products running on
- Apache 2.2-mpm-prefork
- mysql 5.1
- mod_wsgi 3.3
- mysqldb 1.2.3
Technology stacks asside (going to migrate to nginx / gunicorn /
etc... over time)
this site has one hell of a memory leak
the server itself is running with
16GB of memo
I am attempting to create a printable version of several models from
the admin, seeing that Django 1.2 has included readonly_fields I
decided to try and experiment by setting them dynamically
trick is when I include the following logic it comes back passing the
if statement regardless of what/if G
django-mptt was the culprit
renamed table for memorial_music to memorial_music_library and
everything went smooth
thank you django for manage.py sqlall memorial
On Aug 16, 4:43 am, Alvin wrote:
> Posted the model athttp://pastebin.com/f609771cc
>
> getting error: (yes it's wi
forgot to mention: before running syncdb I delete all memorial_
tables... hoping someone can offer some advice on this one
On Aug 16, 4:43 am, Alvin wrote:
> Posted the model athttp://pastebin.com/f609771cc
>
> getting error: (yes it's windows) File "C:\Python25\lib\site-
Posted the model at http://pastebin.com/f609771cc
getting error: (yes it's windows) File "C:\Python25\lib\site-packages
\MySQLdb\connections.py", line 35, in defaulterrorhandler raise
errorclass, errorvalue _mysql_exceptions.OperationalError: (1050,
"Table 'memorial_music' already exists")
scann
has anyone had luck getting past this?
I am using a recent 1.1 beta release have checked the folder
permissions and set the FILE_UPLOAD_TEMP_DIR all 777
code is at http://pastebin.com/m4332fdb2
On Jun 24, 2:06 pm, alecs wrote:
> If to be honest I can't google this posts ... Most of the links a
I'll be writing a blog post about this soon
when John wrote is right on though it took me a while to wrap my mind
around it
the nginx location + nginx alias + url passed = file to be served
so to get file /home/me/web/example.com/download/file.pdf
location ^~ /download {
;t need to
handle this part), among others.
Development will be ongoing for a little while, and I am looking to
have someone get started very quickly.
For more details please send an email to django [at] mitesdesign.com
Thank you,
Alvin
--~--~-~--~~~---~--~~
You rec
That is what programming language? Note you can name what? Thanks !
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubsc
Who may help me to design a software? I want an account number, the
password producer (because I do not have means to think of quite good
account number password)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
14 matches
Mail list logo