On Wed, 2008-07-02 at 13:40 -0700, urukay wrote:
>
> is there a way how to create choices in Models in specific way, that some
> choices are not selectable (they only group and describe choices below)?
>
> e.g.:
>
> CHOICES = (
> ('0', 'Basic Colors'),
> ('1', 'Red'),
> ('2', 'G
I would like to be able to change the status of an item (Yes/No Field)
in a list of items from the change-list view without having to open
the item and change it within the change form. Is there an easy way
(built in) to the Django admin framework to allow this?
--~--~-~--~~-
I am using memcache for my site, and it is working well except for one
issue.
When a user enters a comment, I redirect them to the page they commented
from. However, since the page is cached they dont see the comment.
My first fix was to just appened a query string to the URL, but this
then m
OK, done - http://dpaste.com/hold/60475/
Chris
On Jul 3, 6:01 am, "Milan Andric" <[EMAIL PROTECTED]> wrote:
> Can you paste your template athttp://dpaste.comso we can have a look?
>
> On Wed, Jul 2, 2008 at 11:10 AM, [EMAIL PROTECTED]
>
> <[EMAIL PROTECTED]> wrote:
>
> > : ) absolutely! It's in
Great!
On Wed, Jul 2, 2008 at 8:43 PM, J Meier <[EMAIL PROTECTED]> wrote:
>
> Thank you, everyone. That was exactly what I needed. It looks like
> we'll be starting a prototype on Django trunk targeting 1.0 this week.
>
> Jim Meier
> >
>
--
http://search.goldwatches.com/?Search=Movado+Watches
On Jul 2, 10:20 pm, David Marko <[EMAIL PROTECTED]> wrote:
> I'm just considering using SQLite in small Django project(in
> production environment). I have no fear about performance but what
> troubles me is whether SQLite can be used in environment like Apache
> +mod_wsgi? As SQLite is file based
On Wed, 2008-07-02 at 18:23 -0700, David Melton wrote:
> I would like to be able to change the status of an item (Yes/No Field)
> in a list of items from the change-list view without having to open
> the item and change it within the change form. Is there an easy way
> (built in) to the Django ad
> for key in request.session:
> del request.session[key]
I get the following error:
Exception Type: KeyError
Exception Value:0
Exception Location: /usr/lib/python2.5/site-packages/django/contrib/
sessions/backends/base.py in __getitem__, line 31
--~--~-~--~~-
is there a way in Django to send an actual HTML email? I can only get
it to send as an attachment to a text email which is really pointless
in my opinion.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users
Hi,
Sending HTML as an attachment means that the HTML version will be
displayed by email client that are configured so, including all the
web-based clients like GMail. Clients that can't show HTML or are
configured not to show HTML will show the text version instead.
This is therefore best pract
Hello all,
I just recently started playing around with django, and I am
interested in using it to create a site I have in mind. I would
appreciate any help in understanding if I have wrapped my head around
the idea of projects and apps properly.
Basically, the site would have a main page that d
Weird problem,
I am doing just fine when accessing /bug2/title/1.html?a=r through the
browser.
I fail with HTTP 404 when doing the same through the test client - it
seems to chock on the ?a=r bit, the /bug2/title/1.html works just
fine ...
Relevant url pattern: (r'^([0-9a-z-_]+)/([0-9a-z-_]+)/
I have over 25 web apps/sites on Django, including a large intranet
app, that has almost always about 150 users at any point of time, some
25,000 hits a day. All of them have been running on the trunk and are
stable. Some of them are news sites for mags getting 10 k hits a day.
It is any day bett
On 7/3/08, Bobby Roberts <[EMAIL PROTECTED]> wrote:
> is there a way in Django to send an actual HTML email? I can only get
> it to send as an attachment to a text email which is really pointless
> in my opinion.
Did you read paragraph "Sending alternative content types" in
http://www.djangopro
Hi again all,
after a few days of struggling with django-pyodbc, I have finally got
past the "ImportError: No module named django-pyodbc.db.mssql.base"
stage.
The problem was that the module package was missing __init__.py files
in the directories above the mssql directory. So I added two empty
_
Hi,
Thanks for the help but still I am not able to login in my test
client..
here is the code:
from django.test import TestCase
from django.test.client import Client
class IndustryTest(TestCase):
fixtures = ['/fixtures/initial_data.xml']
def setUp(self):
self.client = Client()
On Wed, 2008-07-02 at 23:18 -0700, Ulf Kronman wrote:
> Hi again all,
> after a few days of struggling with django-pyodbc, I have finally got
> past the "ImportError: No module named django-pyodbc.db.mssql.base"
> stage.
>
> The problem was that the module package was missing __init__.py files
>
There is[1] special parameter named `data` that represents GET query
as dictionary. Or you can pass QUERY_STRING parameter with raw GET
string
[1] http://www.djangoproject.com/documentation/testing/#making-requests
On Jul 3, 9:42 am, Thomas <[EMAIL PROTECTED]> wrote:
> Weird problem,
>
> I am do
101 - 118 of 118 matches
Mail list logo