Django DateTimeRangeField used with date_hierarchy

2017-10-03 Thread Laurence Sonnenberg
Hi It's great that with 1.11 django.contrib.admin and django.contrib.postgres have brought the ability to use date_hierarchy with fields from other connected tables. I was wondering if the ability to to create a transform on a given table existed so that fields other than DateField or DateTim

Re: Trying to find something in multiple databases... Confused...

2012-06-19 Thread Laurence MacNeill
Right -- different tables in the same database, of course... Thanks. L. On Monday, June 18, 2012, Daniel Roseman wrote: > On Monday, 18 June 2012 08:40:53 UTC+1, Laurence MacNeill wrote: >> >> Ok, I'm a total django noob here, so I am probably doing this wrong

Re: Trying to find something in multiple databases... Confused...

2012-06-19 Thread Laurence MacNeill
On Monday, June 18, 2012, Melvyn Sopacua wrote: > On 18-6-2012 9:52, Laurence MacNeill wrote: > > well -- I hit the wrong key and posted that before I was finished > typing... > > > > here's what's in my views.py file: > > def index(request) > >

Re: Trying to find something in multiple databases... Confused...

2012-06-18 Thread Laurence MacNeill
So -- can someone please help me fill in the missing code above? I've been searching for hours, but I just can't seem to hit on the correct search-terms to get done what I want here... Thanks, Laurence MacNeill Mableton, Georgia, USA On Monday, June 18, 2012 3:40:53 AM UTC-4, Laur

Trying to find something in multiple databases... Confused...

2012-06-18 Thread Laurence MacNeill
Ok, I'm a total django noob here, so I am probably doing this wrong... But here goes... When someone comes to my django app's root (index), I need to verify their user-name (which is stored in a Linux environment variable). Based on where (or if) I find their user-name, I want to send them to

Re: Django Tutorial part 2... Admin Site won't work...

2012-06-18 Thread Laurence MacNeill
is usually created when the syncdb is run. > What Django version are you using ? If you're using the development > version, please remove it and install a stable version. > > Regards, > Xavier Ordoquy, > Linovia. > > Le 16 juin 2012 à 23:16, Laurence MacNeill a écrit :

Where are my posts?

2012-06-16 Thread Laurence MacNeill
How do I get privileges to post in this group? I've posted two questions, and have not seen them pop up yet... Who do I need to contact to get posting privileges? I really was hoping to get these questions answered soon. Thanks, Laurence MacNeill Mableton, Georgia, USA -- You rec

How do I get django working without having to manually run the server?

2012-06-16 Thread Laurence MacNeill
What more do I need to do to get apache and mod_wsgi to server my django pages? Thanks, Laurence MacNeill Mableton, Georgia, USA -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.g

Django Tutorial part 2... Admin Site won't work...

2012-06-16 Thread Laurence MacNeill
get % self.model._meta.object_name) DoesNotExist: Site matching query does not exist. So, it seems that the entire site doesn't exist? I've followed every step in the tutorial exactly, with no problems so far... Can anyone help me with this? Thanks, Laurence MacNeill Mableton, G

Re: AttributeError at /admin/coltrane/entry/add/ 'Entry' object has no attribute 'pubdate'

2012-04-07 Thread laurence Turpin
he > string "pubdate" and go through all locations containing that string. > > The code snippets you have below seem clean to me. > > - Anssi > > On Apr 3, 10:59 pm, laurence Turpin > wrote: > > Hello, > > > > I'm trying to learn Django

AttributeError at /admin/coltrane/entry/add/ 'Entry' object has no attribute 'pubdate'

2012-04-03 Thread laurence Turpin
Hello, I'm trying to learn Django from the book "Practical Django Projects 2nd Edition" I'm using Django 1.3.1 and Python 2.7.2 on Windows 7 Also I'm using Eclipse Indigo with pydev The current project I'm working on is to create a Weblog called coltrane. coltrane is an application that exists

Re: IntegrityError at /register/ auth_user.username may not be NULL

2012-03-28 Thread laurence Turpin
On Mar 28, 9:38 pm, Daniel Roseman wrote: > On Wednesday, 28 March 2012 20:31:09 UTC+1, laurence Turpin wrote: > > > I'm getting the following error with my registration  section of my > > program. > > > IntegrityError at /register/ > > auth_user.username m

IntegrityError at /register/ auth_user.username may not be NULL

2012-03-28 Thread laurence Turpin
I'm getting the following error with my registration section of my program. IntegrityError at /register/ auth_user.username may not be NULL I am using django 1.3.1 and python 2.7.2 and I'm using sqlite3 as the database. I am a newbie and I'm learning Djanogo from the book "Learning website devel

Groups Model Randomly Disappears In the Admin View

2011-08-30 Thread Laurence
almost randomly. Does anyone know what the cause might be or how I can debug this. I am using Django v1.2.5. Thanks, Laurence -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegrou

Re: Django on Debian Sarge?

2006-07-03 Thread Dustin Laurence
On Mon, Jul 03, 2006 at 07:54:44AM -0700, Rudolph wrote: > I've got Django running on Sarge and de default mod_python package. No > problem at all. Perfect, that's what I was hoping someone would say. What about putting a note at http://www.djangoproject.com/documentation/install/ that the pre

Re: Django on Debian Sarge?

2006-07-02 Thread Dustin Laurence
.1.3, so you will have to get and install the newest version > of mod_python manually. but lindy laurence # emerge mod_python -p These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] dev-python/mod_python-3.1.4-r1 lind

Django on Debian Sarge?

2006-07-02 Thread Dustin Laurence
Hi, I was looking at trying Django for a project and noticed that in the comments to the installation directions it was claimed that Debian Sarge's mod_python isn't recent enough to run Django. That would be a big complication. Is anyone running Django on Sarge, and can anyone confirm that it doe