On 22/05/06, Waylan Limberg <[EMAIL PROTECTED]> wrote:
>
> Have you installed the admin app?
>
> Specificaly, did you add :
> 'django.contrib.admin',
> to INSTALLED_APPS in your settings file?
I've done that. What I've ended up doing is unistalling and
reinstalling several python related pack
On 5/21/06, keukaman <[EMAIL PROTECTED]> wrote:
> Following the tutorial, I created a field that says "Published today"
> for the polls. When I look at the field on the development server, none
> of the polls created today show "True" under the "Published today"
> column.
>
> When I look at the sa
One seems to work.. though I'd rather do it more complex way,
like limit_choices_to and Queryset :-(
I've wrote a new function
class Computer(models.Model):
def getFreeExtIP():
some instructions for specifying a tuple here
returning a tuple
ext_ip = models.IPAddressField
Have you installed the admin app?
Specificaly, did you add :
'django.contrib.admin',
to INSTALLED_APPS in your settings file?
I'm assumig by the error message that you've uncommented the line in urls.py
On 5/22/06, Frankie Robertson <[EMAIL PROTECTED]> wrote:
>
> I've already asked this in
I've already asked this in IRC and nobody knew the answer. It is an
error occurs even when I start a new project with fairly minimal stuff
for just the admin application. (http://django.pastebin.com/731267).
This suggests to me that I've somehow messed it up. But I'm using svn
and linking the dire
On Mon, May 22, 2006 at 10:58:22AM -0500, Adrian Holovaty <[EMAIL PROTECTED]>
wrote:
>
> On 5/19/06, Josh Trutwin <[EMAIL PROTECTED]> wrote:
> > According to the docs, serving the css in the admin is best done
> > via:
> >
> > 1. Create a symbolic link to the admin media files from within your
>
On 22/05/06, Carlos Yoder <[EMAIL PROTECTED]> wrote:
>
> Guys, let's try to cut down on cynicism, please? We all have our day
> jobs, responsibilities, families and so on and so forth, and this is a
> motivation-driven, heartfelt project.
Hear hear. Malcolm is putting a lot of effort into gettin
On 5/19/06, Josh Trutwin <[EMAIL PROTECTED]> wrote:
> According to the docs, serving the css in the admin is best done
> via:
>
> 1. Create a symbolic link to the admin media files from within your
> document root. This way, all of your Django-related files -- code
> and templates -- stay in one p
On 5/20/06, David Robinson <[EMAIL PROTECTED]> wrote:
> My question is about the site ID in each project's settings.py file.
> What does that number mean in a situation like ours? I appreciated the
> explanation of the difference between an app and a project, but I
> haven't been able to figure o
On 5/22/06, Douglas Campos <[EMAIL PROTECTED]> wrote:
> i have a model formed by :
> vendor = foreign key
> name, ver, rev, etc
>
> how can i order by vendor first?
> ordering = [ 'vendor', 'name' ] fails
>
> any ideas?
Ordering by a foreign key isn't technically supported at this point,
but you
i have a model formed by :
vendor = foreign key
name, ver, rev, etc
how can i order by vendor first?
ordering = [ 'vendor', 'name' ] fails
any ideas?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" g
Thanks Ian. I tried it and I saw no changes. I'll keep tinkering.
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr125616cwa;
Mon, 22 May 2006 07:56:01 -0700 (PDT)
X-Google-Token: a-WgPQwAAACkSB_4Vd0qhoH0n9ceOiAs
Received: from 24.75.1.126 by j55g2000cwa.g
On 5/22/06, Oliver Kiessler <[EMAIL PROTECTED]> wrote:
...
> /Library/PostgreSQL8/include/postgresql/server/catalog/pg_type.h
> checking for mxDateTime.h... configure: error: can't build without mx headers
>
> I know this seems to be some lib but I don't know where to find it...
http://www.egenix
this is what "configure" complains about:
macbookpro:~/Desktop/psycopg-1.1.21 oliver$ ./configure
--with-postgres-libraries=/Library/PostgreSQL8/lib
--with-postgres-includes=/Library/PostgreSQL8/include
checking for python... /usr/local/bin/python
checking python version... 2.4
checking python in
wow, the first pre-flame over 2 months!
On 5/22/06, Carlos Yoder <[EMAIL PROTECTED]> wrote:
>
> Guys, let's try to cut down on cynicism, please? We all have our day
> jobs, responsibilities, families and so on and so forth, and this is a
> motivation-driven, heartfelt project.
>
> If Malcom would
I'm building a workflow manager for our organisation and decided to
give Django a try. In about 1 hour, I was able to start creating a very
basic model for 'projects' app.
-
from django.db import mode
Oops,
Correction:
2) change it by wrapping both occurence of submit_row in a block, for
example:
{% block hidesavetop %}{% submit_row %}{% endblock %}
{% block hidesavebot %}{% submit_row %}{% endblock %}
X-Google-Language: ENGLISH,ASCII-7-bit
Received: by 10.11.53.63 with SMTP id b63mr12
On 5/22/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
I'm using mysql.
if you paste the actual compiler error (either on list or privately)
I'll try to help.
If you come up with a solution, could you let me know? I've also run
into an inability to compile psycopg on an Intel Mac...
--
"May the f
Hello,
here is a "simple" way to achieve conditional hiding of the submit row:
1) make a copy of django\contrib\admin\templates\admin\change_form.html
in your own template: location
mytemplates\admin_copies\change_form.html
2) change it by wrapping submit_row in a block, for example:
{%
I'm using mysql.
if you paste the actual compiler error (either on list or privately)
I'll try to help.
regards
Ian
On 22/05/2006, at 8:06 PM, Oliver Kiessler wrote:
>
> thanks for the hint. I have Django with MacPython-2.4.3 running now.
> what database adapter are you using? I tried psycopg
Yes, I was considering using limit_choices_to, but have no idea how
this should be done. I've read it many times.
I only see eq, exact etc. options, which I don't see useful according
to my (toll Django/Python newbie)
knowledge. I don't see any limit_choices_to Queryset (other thatn dict)
example
Hello
Please check this link and enjoy
your dream IT Job.
http://www.it-jse.com
Special thing about this website
is, they are presenting direct links to jobs.
They are using only Direct
Employers and not using Staffing Companies, Contract firms, Agencies,
recruiters.
I have checked thi
thanks for the hint. I have Django with MacPython-2.4.3 running now.
what database adapter are you using? I tried psycopg which wouldn't
compile.
- oliver
On 5/22/06, Ian Holsman <[EMAIL PROTECTED]> wrote:
>
> I'm running it fine.
>
> I used the following: http://www.python.org/ftp/python/2.4.3
Guys, let's try to cut down on cynicism, please? We all have our day
jobs, responsibilities, families and so on and so forth, and this is a
motivation-driven, heartfelt project.
If Malcom would reply with a sneer and 'did you try google?', Django
would not be what it is today -- a great community
qhfgva wrote:
> - Is there a way to have input fields that are only available to
> certain users/groups?
> - Is there a way to have certain rows not editable based on user/group
>(e.g the mangager_signoff column is true so non manager users can't
>modify this row any more)?
See the othe
Did you tried Google?
http://www.google.com/search?hl=en&lr=&q=model+method+starts+with+%22_module_%22&btnG=Search
http://www.djangoproject.com/documentation/models/custom_methods/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
I'm running it fine.
I used the following: http://www.python.org/ftp/python/2.4.3/
Universal-MacPython-2.4.3.dmg
On 22/05/2006, at 6:14 PM, Oliver Kiessler wrote:
>
> hi there,
> I have been playing around with Django this weekend but I couldn't get
> it installed on my Intel Mac running OSX (
2006/5/19, jon1012 <[EMAIL PROTECTED]>:
I've done an helper function that strips the selected language from thecurrent url and return it... Usefull to make a language change button..All you have to do is to make a link to the url with '/fr' for example
in front of the value given by the function:Th
On Sunday 21 May 2006 21:26, Graham King wrote:
> Kilian,
>
> I does indeed say here that SQLite can handle concurrent transaction,
> by queuing them up:
>
> http://www.sqlite.org/faq.html#q7
>
> You're not using an NFS share are you ? Apparently that would break it.
Gosh, it didn't cross
hi there,
I have been playing around with Django this weekend but I couldn't get
it installed on my Intel Mac running OSX (no problems on Ubuntu
Linux). I couldn't find any useful information searching google so I
was wondering if anyone can point me to a "howto". I used darwinports
to compile py
> Yes.
> I didn't quite understand from your email if you are going to write a
> custom manipulaor anyway or you want to mix new code into an automatic
> manipulator?
Right now, I'm not sure which of these two is better. This is my first
time to work with manipulators.
X-Google-Language: ENGLISH
31 matches
Mail list logo