Hello,
I really would like to use the Postgresql Array type in some of my
Django models but I see there is no direct mapping in Django unless I
create my own by subclassing Field.
I've read the documentation, I've tried to do it...I've failed
miserably ;)
Has anyone done this explicitly for Postg
Forgive if this is totally obvious, but I'm having a bit of trouble
getting data into my first prototype with django.
I am prototyping an application called repository, syncdb builds my
tables and all seems to work in the admin interface.
However, I have 600 lines of data I want to use as the see
Forgive if this is totally obvious, but I'm having a bit of trouble
getting data into my first prototype with django.
I have put together an application with three tables defined in
models.py. syncdb builds them and all seems to work in the admin
interface.
I w
--
You received this message bec
I user that method to show image im my ImageField
edition:
http://www.psychicorigami.com/2009/06/20/django-simple-admin-imagefield-thumbnail/
I need to pass to my widget 1 additional variable - thumbnail address. How
can I pass that variable to widget?
--
You received this message because you
Thanks Daniel Roseman...you're always saving me ;)
On Mar 26, 12:47 pm, Daniel Roseman wrote:
> On Saturday, March 26, 2011 7:33:23 PM UTC, Mazery Smith wrote:
>
> > Hey,
> > I tried setting up an intermediate manytomany table relationship where
> > my intermediate table
> > is in one database, m
You can use pre_save, post_save signals:
http://docs.djangoproject.com/en/1.3/topics/signals/
On Mar 25, 11:52 pm, galgal wrote:
> But I don't use any forms. I have simple model with image and date. I use it
> only in my Admin.
--
You received this message because you are subscribed to the Goog
On Saturday, March 26, 2011 7:33:23 PM UTC, Mazery Smith wrote:
>
> Hey,
> I tried setting up an intermediate manytomany table relationship where
> my intermediate table
> is in one database, my user table (target table) is in a registration
> database and my data table (source table) is in ano
* Shawn Milochik [110326 11:15]:
> Follow the instructions in the beginning of the Django tutorial to set
> up sqlite3
> as your database.
>
> Then:
>
> manage.py dbshell
>
> This should bring you to the sqlite3 interactive prompt if it works.
>
> For extra fun you can create a simple mode
Hey,
I tried setting up an intermediate manytomany table relationship where
my intermediate table
is in one database, my user table (target table) is in a registration
database and my data table (source table) is in another database.
Things aren't working correctly and I'm just checking to make su
Follow the instructions in the beginning of the Django tutorial to set
up sqlite3
as your database.
Then:
manage.py dbshell
This should bring you to the sqlite3 interactive prompt if it works.
For extra fun you can create a simple model then try this:
manage.py syncdb
This will actual
FYI: I am putting together the resources for a tutorial (not
development) on a slax OS running off of an SD card in an Asus
Netbook. I am using currently available slax modules -
sqlite-3.6.14.2, python-2.5.2 and django-1.1. Although some will
want to recommend getting more current stuff, that is w
I thought it was more useful to have the entire filepath there with
all files
On Mar 26, 9:34 am, delegb...@dudupay.com wrote:
> Do you have problems using pastebin???
> Sent from my BlackBerrywireless devicefrom MTN
>
> -Original Message-
> From: ruler501
>
> Sender:django-users@googlegr
I thought it was more useful to have the entire filepath there with
all files
On Mar 26, 9:34 am, delegb...@dudupay.com wrote:
> Do you have problems using pastebin???
> Sent from my BlackBerrywireless devicefrom MTN
>
> -Original Message-
> From: ruler501
>
> Sender:django-users@googlegr
On 26-03-2011, Sandro Dutra wrote:
>Hello everyone!
>I'm using Python 2.7.x with Django 1.3 and I've some questions about
>the new way to set the static files for the dev server.
>abspath = lambda *p: os.path.abspath(os.path.join(*p))
>PROJECT_ROOT = abspath(os.path.dirname(__file__))
>(...)
>ME
I thought it was more useful to have the entire filepath there with
all files
On Mar 26, 9:34 am, delegb...@dudupay.com wrote:
> Do you have problems using pastebin???
> Sent from my BlackBerrywireless devicefrom MTN
>
> -Original Message-
> From: ruler501
>
> Sender:django-users@googlegr
Do you have problems using pastebin???
Sent from my BlackBerry wireless device from MTN
-Original Message-
From: ruler501
Sender: django-users@googlegroups.com
Date: Sat, 26 Mar 2011 07:32:13
To: Django users
Reply-To: django-users@googlegroups.com
Subject: Re: Tutorial Problems
Sorry I
Sorry I tthought that would let you download. Here is another download
http://www.mediafire.com/?aqdav0n22vz2uxt
On Mar 25, 10:13 pm, Mike Ramirez wrote:
> On Friday, March 25, 2011 08:03:30 pm ruler501 wrote:
>
> > I have been going through the tutorial and this is the code I
> > currently have:
I'm running apache on a windows server. I updated pywin32 and it works
now.
On Mar 25, 4:56 pm, Graham Dumpleton
wrote:
> Impossible to know because you haven't supplied the Apache configuration for
> VirtualHosts to verify you have done it correctly. Also need to know if you
> have set NameVir
Yeah sure, i should have used "recommended" word instead of correct.
The difference between link i wrote and b-list is that the last one
uses a foreign-key, while first uses one-to-one, and this is the way
is recommended in doc, so... I think i will follow that post
recommendations.
Thanks again!
Yes put the code on pastebin and can you be a bit more explicit about
the last thing that behaved as the tut says it should and the first
thing that doesn't ? (I appreciate the latter should be derived from
the former but just in case !).
Also might be worth checking what version of Django you've
>
>
> You are a bit confused about ForeignKeys. You have an FK from BookMark to
> User. That means that each BookMark can only have one User, but one user can
> have many bookmarks. That sounds right.
>
> So, there is no such thing as a `user_set` manager for BookMarks. There is
> simply a `user`
21 matches
Mail list logo