Ouch, many apologies, I sent the last message to the wrong mailing list!
Can an admin delete it please?
--
Simon Tite
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@google
t;/apps/frontend/modules/homepage/".
Can anybody help?
--
Simon Tite
--
You received this message because you are subscribed to the Google Groups "Django
users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email
g an idiot! :) At least
now, I'm a *happy* idiot!
On Jul 1, 1:57 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote:
> On Mon, Jun 30, 2008 at 7:36 PM, Karen Tracey <[EMAIL PROTECTED]> wrote:
> > On Mon, Jun 30, 2008 at 7:19 PM, Simon Tite <[EMAIL PROTECTED]> wrote:
correction: the mySql command line which works is:
UPDATE `app_userprofile` SET `telephone`=("'123 123'") WHERE
`app_userprofile`.`id` = 1;
On Jul 1, 1:14 am, Simon Tite <[EMAIL PROTECTED]> wrote:
> Well, the quotes thing seems perhaps to be a bit of a red herring...
e? I suppose it must be, if I
spent several hours diving into the Django source, but hopefully
somebody knows an easier way? Somebody? Anybody?
On Jun 30, 10:32 pm, Simon Tite <[EMAIL PROTECTED]> wrote:
> Thanks Scott, for the speedy reply.
>
> "gender" is defined in models.p
ppet you've posted, I wonder how the 'gender' field is
> defined. You are storing the three-character string 'Y' into it (including
> single quotes). Do you expect to be able to store three characters into it,
> or only one character?
>
> -- Scott
>
>
>
> On Mon, Ju
> or only one character?
>
> -- Scott
>
>
>
> On Mon, Jun 30, 2008 at 3:47 PM, Simon Tite <[EMAIL PROTECTED]> wrote:
>
> > I get the following error when trying to save a model -
> > "userprofile.save()" -
>
> > (1064, 'You have an error
I get the following error when trying to save a model -
"userprofile.save()" -
(1064, 'You have an error in your SQL syntax; check the manual that
corresponds to your MySQL server version for the right syntax to use
near \'), `gender` = ("\'F\'",), `hideyear` = (\'0\',), `address` =
("\'97
I'm afraid I don't quite understand all of your question, but I can
possibly answer part of it, although please bear in mind I'm quite new
at Django, so there may be better ways of doing it.
On May 19, 11:50 am, sebey <[EMAIL PROTECTED]> wrote:
>
> I am thinking about making a template that has
Correction to last message:
def intropage:
query="some default value"
page="1" #(default to page 1)
if "query" in request.GET:
query=request.GET("query")
if "page" in request.GET:
page=request.GET("page")
#go get the
On May 19, 7:32 pm, "free won" <[EMAIL PROTECTED]> wrote:
> i found this Problem when i decide to use Paginator.
>
> the str *(?P\w+/)$* can express * ?query=xxx*
>
> so if i wanna express *?query=xxx=1*, how can I write the str for
> urls.py?
The part of the url following (and
On Apr 15, 8:54 am, prz <[EMAIL PROTECTED]> wrote:
> instead of the ponderous ruminations of the the venerous
> [EMAIL PROTECTED], here's a trivial
> solution
>
>
>
>
> {% for lang in LANGUAGES %}
>
> {% comment %}
>
The documentation on how the user can change the language of a page/
site (from: http://www.djangoproject.com/documentation/i18n/), in the
section "The set_language redirect view", gives the following code:
{% for lang in LANGUAGES %}
{{ lang.1 }}
{% endfor %}
This of course means the
13 matches
Mail list logo