Margie,
I believe this may cause issues if for some reason that there is a call to
those tables and it still finds a reference to it. Remember to go and remove
them from the admin register that should get rid of all references to them.
Michael
I've stopped using a particular app in my
Yo'av,
As far as I know there isn't a way to make a ManyToManyField a required field.
blank = false cannot be used in ManyToMany or FileField's. You will have to
come up with some way to validate the field seperately.
Michael
--- On Sat, 11/6/10, Yo'av Moshe wrote:
From: Yo'av Moshe
Sub
In case you don't know how the clean() method works. When ever a form class is
executed the generic Clean data is executed first then in the form class if
there are any methods with the clean_formfield naming convention it will
execute those automatically. This is basically the only way to force
Hello,
I am not sure if this is what you are looking for but you can use a
forloop.counter (index to 1) or a forloop.counter0 (index at 0) from within the
template {% for loop %}
Michael
Hi,
In a django template I have a for loop that display (item, fine). I
would like to compute the
Hello,
I was just going through this posting and I noticed that you are using concrete
inheritance in your calling of
class Place(models.Model):
name = models.CharField(max_length=50)
address = models.CharField(max_length=80)
class Restaurant(Place):
hello James,
I suppose you could use
from django.db.models import WhatEver
This would definitly work but I don't know if it is the way you want to go.
Sincerely,
Michael
--- On Sun, 11/14/10, James wrote:
From: James
Subject: Automatically assume "models." prefix in models.py
To: django-u
material.
Sincerely,
Michael Sprayberry
--- On Sun, 11/14/10, Robbington wrote:
From: Robbington
Subject: Re: CMS for django
To: "Django users"
Date: Sunday, November 14, 2010, 7:05 PM
Depends what you want to do friend,
The admin interface is pretty extensible on its own, fla
While the state is stateless you can create a user list and then control the
number of user allowed to be logged on a given time. Read through this.
http://www.djangobook.com/en/beta/chapter12/
Your best bet is to create a count that keeps track of total active session and
only allows another
Also make sure that in you app folder and every folder for that matter has a
__init__.py that way python will view it as a module.
--- On Wed, 11/17/10, Shawn Milochik wrote:
From: Shawn Milochik
Subject: Re: INSTALLED_APPS doesn't check my projet dir
To: django-users@googlegroups.com
Date: W
--- On Sat, 11/20/10, marco.ferrag...@gmail.com
wrote:
From: marco.ferrag...@gmail.com
Subject: problems with model inheritance if base class is not abstract
To: "Django users"
Date: Saturday, November 20, 2010, 5:59 AM
Hi all! I'm new to django and I'm experimenting with models but I hav
have you done python manage.py syncdb?
--- On Mon, 11/22/10, pa_ree wrote:
From: pa_ree
Subject: how to configure database?
To: "Django users"
Date: Monday, November 22, 2010, 3:32 PM
hello, i'm new to django framework.
i want to know how can i configure a single database to two
applicatio
Steph,
those instructions are incorrect try
from djanog.views.generic import list_view, list_detail
Michael
--- On Tue, 11/23/10, steph wrote:
From: steph
Subject: tutorial part 4: ImportError
To: "Django users"
Date: Tuesday, November 23, 2010, 11:06 AM
Hi group,
I'm new - just work
share a little bit of your code so that we know what you are seeing. Just
saying that you aren't getting things in your admin does not provide enough
information.
--- On Tue, 11/23/10, Reeti Pal wrote:
From: Reeti Pal
Subject: Re: how to configure database?
To: django-users@googlegroups.com
take into acount a
Link to get these emails sent to the freelancers and also the replys to the
employers and assumming you don't want to be giving out personal information
this requires some allisoning.
Good luck to you on this project and if you want help get back to me.
Michael Spray
The Definite Guide to Django is good, but I liked Beginning Django E-Commerce
that really nailed things down for me.
--- On Sun, 11/28/10, Lorenzo Franceschini
wrote:
From: Lorenzo Franceschini
Subject: Django book
To: django-users@googlegroups.com
Date: Sunday, November 28, 2010, 5:48 AM
You will need to make an admin.py and follow these directions
class FormAdmin(admin.ModelAdmin):
prepopulated_fields = {"slug": ("title",)}
slug can be what ever field you want to populate and title is where you are
populating from, as far as I know you can only populate from within the same
a
16 matches
Mail list logo