You can force database to watch after columns to be unique by one or in
combinations.
Django admin interface also can watch after this restrictions.
How to make a model to have few attributes unique together is described
here:
http://docs.djangoproject.com/en/dev/ref/models/options/#unique-togethe
crazy russian
2008/9/23 Vitaliy <[EMAIL PROTECTED]>
>
> >so they both created test db for each other
> I meen for them selfs :)
>
> >
>
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post t
Hi.
Is there way to store bounded form for later use?
For example to put into session, then show it at another way.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send em
I still have them as unicode strings in [5559]
2007/6/11, Malcolm Tredinnick <[EMAIL PROTECTED]>:
>
>
> On Mon, 2007-06-11 at 11:39 +, Christian Schmidt wrote:
> > I use at this time the ugly version with eval(). I really don't know
> > how ugly it is. Can I have problems if there is python co
You must have "django" directory in site-packages, not "django-0.96". You
better make symlink "django" to corresponding directory under "django-0.96".
To create symlink in Windows, use "junction" utility. It can be easily found
with Google.
2007/6/30, Vladimir Pouzanov <[EMAIL PROTECTED]>:
>
>
> O
Looks like your models "know" about prefixes in table names. Class reseller
should work with table "reseller", but it works with table "fuel_reseller".
I do not know how you made that (interesting to know), but why not to call
models Reseller and FuelRelease and point them in Meta clases that their
Images are uploaded to directory which name is constructed from 2 parts:
MEDIA_ROOT + model's upload_to.
Then image url gets constructed from MEDIA_URL and upload_to (and image
name itself).
So if your C:\django\site_media\ is accessible with web-server, and say
C:/django/ is DOCUMENT_ROOT of Apac
What is the type of the field? It should be TextField?
2007/5/9, Michael Lake <[EMAIL PROTECTED]>:
>
>
> Hi all
>
> I have a content field which has newlines in it. When I do a select from
> the database
> of that field I get the output like this:
> line 1
> line 2
>
> But when I view this in th
Newlines characters do not break lines in HTML. You need in strings to
show text in few lines in list view.
2007/5/10, Michael Lake <[EMAIL PROTECTED]>:
>
>
> Michael Lake wrote:
> > Alexander Pugachev wrote:
> >>What is the type of the field? It should b
9 matches
Mail list logo