you :-)
(Damn, now I have to rewrite the code again ^_^)
- Horst
>
> On Jun 4, 4:11 am, Horst Gutmann <[EMAIL PROTECTED]> wrote:
>> Hi everyone :-)
>>
>> I'm currently writing a small app that should store data for registered
>> users and guests alike in on
Malcolm Tredinnick wrote:
> On Mon, 2007-06-04 at 10:11 +0200, Horst Gutmann wrote:
>> Hi everyone :-)
>>
>> I'm currently writing a small app that should store data for registered
>> users and guests alike in one single model. So I made following model
>
Hi everyone :-)
I'm currently writing a small app that should store data for registered
users and guests alike in one single model. So I made following model
(simplied)
class Content(models.Model):
user = models.ForeignKey(User, null=True, blank=True)
The problem I now face is, that Dj
ringemup wrote:
>
> Do you then have to figure out which errors apply to which Form
> fields, and sort them out and assign them? I haven't seen any sample
> code doing anything of this sort, so I'd be very interested to see how
> it works.
>
I was recently in the same situation and did somethi
XTCHost wrote:
> I think I know but must ask, do you need django installed on the web
> server to run django built web sites? I guess this is a yes
>
> If so
>
> I have a shared hosting plan and do not have SU rights so can you
> please advise the best way to install django
>
> Many thanks
>
>
orestis wrote:
> Hello,
>
> I think this will be easy to do, but I just want to check:
>
> Is it possible to have different Django versions on the same host, and
> point my sites to different versions ?
>
> I'd like to use bleeding edge for personal stuff (yay for
> experimentation) but for any
Marc Fargas Esteve wrote:
> Has far as I know you cannot run mod_python applications as different
> users, everything runs as the web server user except with some
> experimental module around there, if this is the case, I would not go
> for mod_python.
>
> Anyway, as far as I know dreamhost suppo
Greg Taylor wrote:
> Greetings,
>
> I was wondering if there's a way to include initial data for Django
> classes. I noticed that there is a way to do so via a 'sql'
> subdirectory under your own models, but didn't see any indication if
> there was a way to do this for base Django classes.
>
2007/3/12, shevken <[EMAIL PROTECTED]>:
>
> Anyway to return response code 204 from a view?
>
> So that the request page do not get refreshed.
>
I guess you could simply create a normal response object and set it's
status_code attribute to 204 :-)
--~--~-~--~~~---~--~
enquest schrieb:
> Op zondag 11-03-2007 om 15:48 uur [tijdzone +0100], schreef Horst
> Gutmann:
>> enquest schrieb:
>>> Second question: how can you add a password field from the newforms. you
>>> can't define ("correct me if I'm wrong") a pass
enquest schrieb:
>
> Second question: how can you add a password field from the newforms. you
> can't define ("correct me if I'm wrong") a password field in the
> model... And I don't see any option to give a field a password field.
>
> How can I do this?
>
> Thanxs
>
I haven't really tried i
Do you really need a CharField here or would a simply string variable be
enough? So you could simply do something like
class Message(models.Model):
description = models.CharField(maxlength=200)
author = models.ForeignKey(User)
temp = ""
and it should never get stored in the data
Grupo Django schrieb:
> Hello!
> I want to add a block in the site that shows the "Last topics" of the
> forum.
> The forum is a MyBB. I'd like to know the best approach to do it.
> - Create a model based in the tables that I want to retrieve and use
> it as a normal model in django.
> - Use pure
101 - 113 of 113 matches
Mail list logo