Hi Malcom
The values_list() returns a list of tuples whereas I am looking for a simple
list of the values
On Mon, Aug 3, 2009 at 10:48 AM, Malcolm Tredinnick <
malc...@pointy-stick.com> wrote:
>
> On Sun, 2009-08-02 at 21:59 -0700, bvemu wrote:
> [...]
> > Is there a django way of retrieving
On Aug 3, 7:03 am, Subramanyam Vemu wrote:
> Hi Malcom
>
> The values_list() returns a list of tuples whereas I am looking for a simple
> list of the values
>
>From the link Malcolm so helpfully provided:
"If you only pass in a single field, you can also pass in the `flat`
Hi Daniel ,Malcom
Thanks for the reply
That exactly was the solution I wanted
On Mon, Aug 3, 2009 at 11:47 AM, Daniel Roseman wrote:
>
> On Aug 3, 7:03 am, Subramanyam Vemu wrote:
> > Hi Malcom
> >
> > The values_list() returns a list of tuples
Be aware that the way the cache key is constructed changed a bit. I'm
also invalidating template fragments when models used for rendering
changed, and found this while randomly reading changesets:
It used to be: fragment_name:additional:arguments:seperated:by:colons
Now it is:
Please take a look
http://dpaste.com/74606/
or here
# in models.py
UNAPPROVE = 0
ACCEPT = 1
REJECT = 2
unapprove_path = os.path.join(MEDIA_ROOT, 'unapprove')
accept_path = os.path.join(MEDIA_ROOT, 'accept')
reject_path = os.path.join(MEDIA_ROOT, 'reject')
def get_filepath(instance,
I think Django could add new API for FileField
such as
FileField.change_path(new_path)
On Aug 3, 7:28 am, Shuge Lee wrote:
> Please take a lookhttp://dpaste.com/74606/
>
> or here
>
> # in models.py
>
> UNAPPROVE = 0
> ACCEPT = 1
> REJECT = 2
>
> unapprove_path =
Hi,
How can I display a link to the edit page of a foreign key?
Example:
class Place:
city=models.ForeignKey(City)
In the admin page of the place I want a link to the city admin page.
Regards,
Thomas Güttler
--
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*)
Hi!
I have 3 models:
categories
sections
articles
Each section is related to some category, and in similar way each article is
related to some section:
The code looks like this:
class
Category(models.Model):
category =
models.CharField(max_length=200)
name =
Hi,
last week I started something in this direction. Similarly to admin.py
(which describes how to administrate the data) there is a graph.py,
which describes how to graph the data. It is still very rough on the
edges, but you can use matplotlib in graph.py to create a plot of the
data. Possibly
Hello,
My problem is that I have (for example), a model teacher - subject
many to many. So that I made additional table named teacherSubject
with both ids. Now I would like to have an opportunity to add subjects
to Teachers in admin panel but no by id of the subject but by name.
Now according
On Aug 3, 2:46 am, joep wrote:
> Hi all,
>
> I have both a project and an app I just created (using django-admin).
> I modified the __init.py__ file in the app to execute a print
> statement on import. But it gets executed twice when I start the
> development server.
>
>
Hi i have an account system that you have to validate your email after you
created an account. My validation url is lik : www.foo.com/account/confirm/*
username/keyyy*
But there is a problem, sometimes username contains non html safe chars for
example : *â*lice, or s*ü*leyman cant go that
On Mon, Aug 3, 2009 at 11:27 AM, Mirat Bayrak wrote:
> Hi i have an account system that you have to validate your email after you
> created an account. My validation url is lik :
> www.foo.com/account/confirm/username/keyyy
>
> But there is a problem, sometimes
Hi, is there a ready to go solution within django for providing
complex filters(besides the date filters and others) on models within
the admin? For instance, there is a model with an integer field, i
would like to be able to apply filters of the form "greater than or
equal to" or "between this
My grain of salt:
I use django with matplotlib for a data plotting view in a status
control app. It is updated every 20sec or so. With plotting embedded in
my django app and called via ajax i encountered a memory leak within
numpy and/or matplotlib that caused to crash the server after a week
Hello,
I'm displaying lot of user profile picture with are on a user profile
(i'm using contrib.auth). So for each picture I have a query for the
user profile.
I wanted to use User.objects.filter(stuff).select_related
('userprofile') but this has no effect. Any ideas how to prevent the
+200
On Mon, 2009-08-03 at 02:24 -0700, elminio wrote:
> Hello,
>
> My problem is that I have (for example), a model teacher - subject
> many to many. So that I made additional table named teacherSubject
> with both ids.
Instead of thinking about what database tables would be created, use
Django's
On Mon, 2009-08-03 at 12:27 +0300, Mirat Bayrak wrote:
> Hi i have an account system that you have to validate your email after
> you created an account. My validation url is lik :
> www.foo.com/account/confirm/username/keyyy
>
> But there is a problem, sometimes username contains non
On Mon, 2009-08-03 at 02:48 -0700, alant...@neei.uevora.pt wrote:
> Hello,
>
> I'm displaying lot of user profile picture with are on a user profile
> (i'm using contrib.auth). So for each picture I have a query for the
> user profile.
>
> I wanted to use
Thanks for your reply.
And the point is that (forgot to say)... the boss field in c12b table
doesn't exists, it is virtual and exists only in my model. I think,
this trick can work for me, but I've got (c12b_boss relation does not
exist). I thought, that if I point it to a real A22 field (unique
On 3 Aug, 10:12, Thomas Guettler wrote:
> Hi,
>
> How can I display a link to the edit page of a foreign key?
>
> Example:
>
> class Place:
> city=models.ForeignKey(City)
>
> In the admin page of the place I want a link to the city admin page.
>
class
On Mon, 2009-08-03 at 03:19 -0700, Unnamed_Hero wrote:
> Thanks for your reply.
>
> And the point is that (forgot to say)... the boss field in c12b table
> doesn't exists, it is virtual and exists only in my model.
When you add a ManyToManyField to a Django model, it doesn't create a
column in
Not sure I understand what you want to achive but you talked about
changing one class attribute when you change another.
Look at this for example/inspiration::
class Foo(object):
status = ''
def __init__(self):
self.name = ''
def __setattr__(self, k, v):
if k ==
Look at if perhaps the project "mysite" was created somewhere else,
like for example where the django-admin.py file is located.
If so, there could be a fundamental problem with your setup or a bug
in the windows implementation for django-admin.py
At worst, search your whole hard drive for it.
On
Hi,
tahnks for reply I added additional ManyToManyfield to one table and
admin panel looks ok but in fact even using syncdb new intermediate
table wasn't created.
Is there anything else I should do ?
--~--~-~--~~~---~--~~
You received this message because you
Hi fellow Django users.
This is the first time necessity has required me to look at overriding
functionality in the django code.
I need to replace the and tags in a choicefield using radio
buttons with tags as my project has very specific formatting
requirements for this form.
I basically
I would write a management command and let a cron job fire off to run
it.
See this for how to write management commands:
http://docs.djangoproject.com/en/dev/howto/custom-management-commands/
Then your cron job can look something like this:
*/5 * * * * python /path/to/manage.py copyfromftp >>
Hi all,
I would like to configure two django sites using the same apache. One
running on 80 port and other running on 8080 port.
The problem I have found is that the configuration I have done for the
second one it is using teh configuration of the first one (settings.py)
I have set the
On Aug 3, 8:56 pm, Miguel wrote:
> Hi all,
>
> I would like to configure two django sites using the same apache. One
> running on 80 port and other running on 8080 port.
> The problem I have found is that the configuration I have done for the
> second one it is using teh
thank you graham!
Miguel
Sent from Madrid, Spain
On Mon, Aug 3, 2009 at 1:07 PM, Graham Dumpleton wrote:
>
>
>
> On Aug 3, 8:56 pm, Miguel wrote:
> > Hi all,
> >
> > I would like to configure two django sites using the same apache. One
> >
On Mon, 2009-08-03 at 03:49 -0700, elminio wrote:
> Hi,
> tahnks for reply I added additional ManyToManyfield to one table and
> admin panel looks ok but in fact even using syncdb new intermediate
> table wasn't created.
> Is there anything else I should do ?
Syncdb does not incrementally update
Untested but should work (in admin.py):
class ThingAdmin(admin.ModelAdmin):
def queryset(self, request):
qs = super(ThingAdmin, self).queryset(request)
qs = qs.filter(some_integer_field__gt=10)
return qs
admin.site.register(Thing, ThingAdmin)
On 3 Aug, 10:52,
Hallöchen!
blaine writes:
> [...]
>
> My question: Has anyone used (or heard of using) a Django-powered
> application as a quick and powerful frontend to a scientific
> database?
My scientific institute is about to create a database for the
samples (thin silicon layers) produced here. We have
hi,
im trying to build the cab code sharing app with the practical django
projects book, at the moment i have a problem adding snippets bc i get
this error:
http://dpaste.com/74671/
solutions?
thx
--~--~-~--~~~---~--~~
You received this message because you are
Hi
Can anyone help me creating WAR file of a Django project. Somewhere I
realized we need Jython to do this. So I installed Jython on my
machine and then tried to create WAR file using the following command
from my project directory.
jython manage.py war
But its repeatedly showing me an error
Thank you Peter.
But list_display does not get used on the edit page of an object.
If you use raw_id the ID of the foreign key gets displayed right to the
input field. It would be nice to make it a hyperlink.
HTH,
Thomas
Peter Bengtsson schrieb:
>
>
> On 3 Aug, 10:12, Thomas Guettler
NO
just image add new seed in admin
upload a file with status "UNAPPROVE"
then you change its status as "ACCET"
the problem is, the file you upload is still point to UNAPPROVE_PATH
how to make it point to ACCEPT_PATH ?
On 8月3日, 下午6时45分, Peter Bengtsson wrote:
> Not sure I
When I first started using django I was surprised that it limited
usernames and didn't allow email address's by default. It is probably
the only thing in the whole framework that I have wanted to change.
Yes it would be nice to have a clear solution rather than the approach
I have taken which is
On Mon, Aug 3, 2009 at 5:12 AM, Malcolm
Tredinnick wrote:
>
> On Mon, 2009-08-03 at 02:48 -0700, alant...@neei.uevora.pt wrote:
>> Hello,
>>
>> I'm displaying lot of user profile picture with are on a user profile
>> (i'm using contrib.auth). So for each picture I have a
Ok Thanks
On Aug 3, 12:12 pm, Malcolm Tredinnick
wrote:
> On Mon, 2009-08-03 at 02:48 -0700, alant...@neei.uevora.pt wrote:
> > Hello,
>
> > I'm displaying lot of user profile picture with are on a user profile
> > (i'm using contrib.auth). So for each picture I have
On Aug 3, 1:29 pm, Shuge Lee wrote:
> NO
>
> just image add new seed in admin
>
> upload a file with status "UNAPPROVE"
> then you change its status as "ACCET"
> the problem is, the file you upload is still point to UNAPPROVE_PATH
>
> how to make it point to ACCEPT_PATH ?
On Mon, Aug 3, 2009 at 3:20 AM, chexov wrote:
>
> On Aug 3, 2:46 am, joep wrote:
> > Hi all,
> >
> > I have both a project and an app I just created (using django-admin).
> > I modified the __init.py__ file in the app to execute a print
> >
Hey All,
I have a model with unique field. Here is what i get when i try to
save record with not-unique field value:
>>> from psdj.ksel import models
>>> try:
... m = models.Keyword(phrase='insurance')
... m.save()
... except models.Keyword.IntegrityError, e:
... print e
...
Traceback
On Aug 3, 3:08 pm, dnedbaylo wrote:
> Hey All,
>
> I have a model with unique field. Here is what i get when i try to
> save record with not-unique field value:
>
> >>> from psdj.ksel import models
> >>> try:
>
> ... m = models.Keyword(phrase='insurance')
> ...
On Aug 3, 5:23 pm, Daniel Roseman wrote:
> On Aug 3, 3:08 pm, dnedbaylo wrote:
>
>
>
> > Hey All,
>
> > I have a model with unique field. Here is what i get when i try to
> > save record with not-unique field value:
>
> > >>> from psdj.ksel
Hi all,
With the new aggregates in django 1.1, I wonder if there's an easy way to
aggregate over reverse relationships. As an example, assume a simplistic
representation of a set of teams:
class Team(models.Model):
name = models.CharField(max_length=100)
class Player(moedls.Model):
Hallo,
I´m planning a startup in Berlin for a new online plattform. It will
be a plattform for searching and sharing articles from journals and
newspapers. Therefore I´m looking for a django developer who can help
me in this project.
thanks in advance
Karsten
Isn't there any way to cache profile data on User side? When are you
planning on closing 7270?
A lot of my code uses get_profile in templates and that is always a
query. Isn't it possible to optimize this?
On Aug 3, 3:45 pm, lfrodrigues wrote:
> Ok Thanks
>
> On Aug 3,
Hi everyone,
Does anyone know of a way to mimic the functionality Rails has to set
up a URL pattern to receive emails and handle attachments, such as
photos?
TIA,
Brandon
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
The question about aggregates still stands -- however, if anybody is wondering
about finding all childless parents, I figured a way:
On Monday 03 August 2009 17:45:18 Shai Berger wrote:
>
> class Team(models.Model):
> name = models.CharField(max_length=100)
>
> class Player(moedls.Model):
And again for your explanations. So I have changed my models as you
advise.
Also I've made a form from c12b model, and when it displays - I see
all peoples from table with people.
But I still can't fetch any results
Maybe by queryset isn't good.
manage.py sql return this:
people table:
On Aug 3, 5:00 pm, Karen Tracey wrote:
> On Mon, Aug 3, 2009 at 3:20 AM, chexov wrote:
>
> > On Aug 3, 2:46 am, joep wrote:
> > > Hi all,
>
> > > I have both a project and an app I just created (using django-admin).
> > >
Appears like a data type mismatch. Are you entering some string value
in a integer field or something of that sort?
On Aug 3, 12:45 pm, andreas schmid wrote:
> hi,
>
> im trying to build the cab code sharing app with the practical django
> projects book, at the moment i
Not sure whether this is possible out of the box yet. But here is some
starter.
http://code.google.com/p/jutda-helpdesk/source/browse/trunk/management/commands/get_email.py
jutda-helpdesk project as a whole should be a good reference.
On Aug 3, 4:14 pm, Brandon Taylor
I see. I don't know how to make a link to the City in the Place edit
page next to the City drop-down.
You can put special links or things like that in the edit page at the
top just above the fieldset.
You first create a template called:
templates/admin///
change_form.html
And then do something
On 3 Aug 2009, at 17:14 , Brandon Taylor wrote:
> Hi everyone,
>
> Does anyone know of a way to mimic the functionality Rails has to set
> up a URL pattern to receive emails and handle attachments, such as
> photos?
As far as I know Django doesn't have anything close to Rails'
ActionMailer (I
This means you dont have django. Go to shell and check if you have django by
importing the module and then checking its version.
Dhruv Adhia
http://thirdimension.com
On Mon, Aug 3, 2009 at 2:52 AM, Sumeet wrote:
>
> Hi
>
> Can anyone help me creating WAR file of a Django
I see.
Thanks.
On Aug 3, 1:54 pm, Daniel Roseman wrote:
> On Aug 3, 1:29 pm, Shuge Lee wrote:
>
> > NO
>
> > just image add new seed in admin
>
> > upload a file with status "UNAPPROVE"
> > then you change its status as "ACCET"
> > the problem is,
Hi Thomas,
> If you use raw_id the ID of the foreign key gets displayed right to the
> input field. It would be nice to make it a hyperlink.
I use this ticket to get what you want:
http://code.djangoproject.com/ticket/7923
It would be good to have this ticket applied on django trunk ;)
Best
Cool. Thanks for the replies! Jutda Helpdesk seems like a good place
to stat from, and also tie into admin.
Cheers,
Brandon
On Aug 3, 10:50 am, Masklinn wrote:
> On 3 Aug 2009, at 17:14 , Brandon Taylor wrote:> Hi everyone,
>
> > Does anyone know of a way to mimic the
hey Ronghui,
Thanks for the reply. I couldnt get your first suggestion to work, I
get "name 'coltrane_category_detail' is not defined". Also,
Also, I never posted my models.py in my Category class,
get_absolute_url:
def get_absolute_url(self):
return ('coltrane_category_detail',
Hi All,
I have a strange issue happening with domain cookies. On the site I'm working
on we previously didn't have SESSION_COOKIE_DOMAIN set and so the cookie
defaulted to "Host: mysite.com" We have a bunch of users logged in with that
cookie set. Then we decided we wanted to share the cookie
I need to get the filtering criteria from the request, is that right?
On Aug 3, 2:24 pm, Peter Bengtsson wrote:
> Untested but should work (in admin.py):
>
> class ThingAdmin(admin.ModelAdmin):
> def queryset(self, request):
> qs = super(ThingAdmin,
Hello.
I have this in my form (modelform) for birth_date field:
birth_date = forms.DateField(('%d/%m/%Y',), label='Birth Date',
required=False ), which overrides this in model:
birth_date = models.DateField(help_text="birth date",
verbose_name="Birth date", blank=True, null=True, )
I also have
dont know what it was but cleaning the tables and make a new sqlall cab
solved the problem!
prabhu S wrote:
> Appears like a data type mismatch. Are you entering some string value
> in a integer field or something of that sort?
>
> On Aug 3, 12:45 pm, andreas schmid wrote:
Hello,
{{ form.start }}
For example, outputs this:
I have tried:
{{ form.start_0 }} and {{ form.start_1 }}, but that outputs absolutely
nothing. :)
Is it possible to split up the two fields so I can handle them
individually?
Also, is it possible to control the XHTML output? I prefer use a
Ok, I understand the login part but what about registration? Wouldn't
the user's need a username still? Or am I misunderstanding... And what
about Django admin, it would still need a username correct?
On Aug 2, 8:44 pm, Malcolm Tredinnick
wrote:
> On Sun, 2009-08-02 at
I've always solved this problem in javascript. Plus if you're using
jquery it's a bit easier. Before you set the date picker just format
the date:
$('input#id_date').val($('input#id_date').val().replace(/(\d+)-(\d+)-
(\d+)/ig, '$3/$2/$1')).datepicker({showOn: 'focus', dateFormat: 'dd/mm/
yy'});
Yes, I agree that this is probably the best way to do it as I see now
and I may well do that change, Im just hoping that Im missing some way
to get around hacking up Django to get what I want... This seems like
the one thing in the framework that is suboptimal... too bad because
it is so crucial.
Thanks Karen. That helps a lot. I have more questions about what is
going on, but I'll read through the translation section of the docs
first to see if the answers are there first.
On Aug 3, 10:31 am, chexov wrote:
> On Aug 3, 5:00 pm, Karen Tracey
Hi all,
I've just upgraded to 1.1 (congrats everybody!), and want to put the
aggregation/annotation features to use. but it doesn't seem to be a
way to annotate the records with counts of different subsets of
related records.
my problem: i have 'Order' and 'Item' models, and the items can
Hi,
I've started to migrate my site from django 0.96.3 to 1.1 and have
encountered a few snags but one seems particularly odd as it only
happens in the admin and for the user-tools in "admin/templates/
base.html" . I get a template synthax error "Caught an exception
while rendering: Empty
Hi, If i am using something like {{object.body}} is it possible to
limit the number of characters being printed out. So say you wanted 30
characters, it would print the 30 and ignore the rest.
Thanks,
Andrew
--~--~-~--~~~---~--~~
You received this message because
Another way to do it is to create subclasses of all the relevant
classes and forms. It's easy enough to create middleware that replaces
django's default user object with your own, and it's also very easy to
set the admin up to use your user model instead of the default.
On Aug 3, 3:15 pm, Dana
use: {{ object.body|slice:":30" }}
When ideas fail wrote:
> Hi, If i am using something like {{object.body}} is it possible to
> limit the number of characters being printed out. So say you wanted 30
> characters, it would print the 30 and ignore the rest.
>
> Thanks,
>
> Andrew
> >
>
Hi
I'm using change_view(self, request, object_id, extra_context=None)
override on a ModelAdmin object, to display field differently based on
the object entries, and change the fieldset order.
def change_view(self, request, object_id, extra_context=None):
post =
Right. If you are looking for more complex queries take a look at Q
http://docs.djangoproject.com/en/dev/topics/db/queries/#complex-lookups-with-q-objects
On Aug 3, 6:40 pm, selcukcihan wrote:
> I need to get the filtering criteria from the request, is that right?
>
> On
On Aug 2, 4:21 pm, Daniel Roseman wrote:
> On Aug 2, 8:10 pm, Tim wrote:
>
> > Hello
>
> > I have been trying to get Django working with Hostmonster.com shared
> > webhosting with FCGI.
>
> > From what I gather from the HM forums, this is possible,
On Mon, 2009-08-03 at 07:36 -0700, dnedbaylo wrote:
[...]
> I was thinking about a case where try clause contains couple of save()
> calls of different models and each model has unique field. And there
> is no way to catch specific to model IntegrityError,
> you can catch only "general"
thank you, i should have looked at filters.
On 3 Aug, 23:42, Jonas Obrist wrote:
> use: {{ object.body|slice:":30" }}
>
> When ideas fail wrote:
> > Hi, If i am using something like {{object.body}} is it possible to
> > limit the number of characters being printed out. So
+1 thought that from the beginning!
-- Sent from my Palm Pre
Dana wrote:
Yes, I agree that this is probably the best way to do it as I see now
and I may well do that change, Im just hoping that Im missing some way
to get around hacking up Django to get what I want... This seems like
the one
in mysite.fcgi fix the settings file name.
os.environ['DJANGO_SETTINGS_MODULE'] = "mysite.settings"
Your settings file is inside a directory called "mysite". It will help
if you quickly take a look at modules documentation in python.
Also your fcgi complains about several missing parameters.
On Mon, 2009-08-03 at 09:51 -0700, Dolph wrote:
> hey Ronghui,
>
> Thanks for the reply. I couldnt get your first suggestion to work, I
> get "name 'coltrane_category_detail' is not defined". Also,
Which is exactly what the problem is. In the first email you posted, you
don't have any view
Going a step backward, why cant you make username same as email. Have
a custom login_required decorator that uses email and password to
authenticate, override registeration pages and not show username
field?
It seems to work for me.
On Aug 2, 4:38 pm, Dana wrote:
>
On Mon, 2009-08-03 at 11:29 -0700, mhulse wrote:
> Hello,
>
> {{ form.start }}
>
> For example, outputs this:
>
> >
>
> I have tried:
>
> {{ form.start_0 }} and {{ form.start_1 }}, but that outputs absolutely
> nothing. :)
>
> Is it possible to split up the two fields so I can handle them
On Mon, 2009-08-03 at 11:08 -0700, zayatzz wrote:
> Hello.
>
> I have this in my form (modelform) for birth_date field:
> birth_date = forms.DateField(('%d/%m/%Y',), label='Birth Date',
> required=False ), which overrides this in model:
>
> birth_date = models.DateField(help_text="birth date",
On Mon, 2009-08-03 at 13:13 -0700, Dana wrote:
> Ok, I understand the login part but what about registration? Wouldn't
> the user's need a username still? Or am I misunderstanding... And what
> about Django admin, it would still need a username correct?
Nothing stops you from creating a random
On Mon, Aug 3, 2009 at 6:18 PM, Malcolm
Tredinnick wrote:
>
> On Mon, 2009-08-03 at 11:29 -0700, mhulse wrote:
>> Hello,
>>
>> {{ form.start }}
>>
>> For example, outputs this:
>>
>> > >
>>
>> I have tried:
>>
>> {{ form.start_0 }} and {{ form.start_1 }}, but that
On Mon, Aug 3, 2009 at 2:08 PM, zayatzz wrote:
>
> Hello.
>
> I have this in my form (modelform) for birth_date field:
> birth_date = forms.DateField(('%d/%m/%Y',), label='Birth Date',
> required=False ), which overrides this in model:
>
> birth_date =
On Mon, 2009-08-03 at 08:10 -0700, lfrodrigues wrote:
> Isn't there any way to cache profile data on User side?
This already happens when you call get_profile(). If you mean using a
mass query, then you have just asked if there is a select_related()
equivalent for reverse relations. For the
On Mon, 2009-08-03 at 17:45 +0300, Shai Berger wrote:
> Hi all,
>
> With the new aggregates in django 1.1, I wonder if there's an easy way to
> aggregate over reverse relationships. As an example, assume a simplistic
> representation of a set of teams:
>
> class Team(models.Model):
>
On Mon, 2009-08-03 at 08:27 -0700, Unnamed_Hero wrote:
[...]
> And I still get
> Caught an exception while rendering:relation "C12B_boss" doesn't
> exist
And you still haven't reduced it to a simple case that fails with a
specific piece of data at the interactive prompt. You are trying to
debug
On Mon, 2009-08-03 at 17:51 +0100, Chris McCormick wrote:
> Hi All,
>
> I have a strange issue happening with domain cookies. On the site I'm working
> on we previously didn't have SESSION_COOKIE_DOMAIN set and so the cookie
> defaulted to "Host: mysite.com" We have a bunch of users logged in
Hi Karen,
Thank you very much for your thorough answer.
Yes, indeed, using method #2 ('sqlite3.PARSE_COLNAME) in a sample
python script does work with virtual tables using fts3.
I've decided to go with creating the models' 'datetime' fields with
CharFields. I'll probably create some sort of
On Mon, Aug 3, 2009 at 11:31 AM, chexov wrote:
> Clear. Thanks for the answer.
> What cause the autoreloader to reload the modules?
> Is it reacts only when source code files was changed?
>
Yes, it reloads when it detects that a source file has changed on disk, to
make
On Mon, Aug 3, 2009 at 5:09 PM, sjol wrote:
>
> Hi,
>
> I've started to migrate my site from django 0.96.3 to 1.1 and have
> encountered a few snags but one seems particularly odd as it only
> happens in the admin and for the user-tools in "admin/templates/
> base.html"
hi,
am running django under virtualenv. I find my new site is getting mixed up with
the old one. Do I need a separate install of virtualenv for each site? Am
using latest trunk, apache and mod_python.
--
regards
kg
http://lawgon.livejournal.com
On Tue, Aug 4, 2009 at 5:17 AM, Javier Guerra wrote:
>
> Hi all,
>
>
> I've just upgraded to 1.1 (congrats everybody!), and want to put the
> aggregation/annotation features to use. but it doesn't seem to be a
> way to annotate the records with counts of different subsets of
Hi,
I have several models linked OneToOne by their primary keys.
I can make a single view that has a form for each model and allow the
user to edit data from the each of the models in a single screen (as
if it were all stored in a single table/model)
I'd like to be able to do this in a grid,
I did this with a combination of a DateWidget and a small .js file
that calls the jquery datepicker on each widget. I don't use the same
date format as you, but you should be able to modify it to fit your
need.
It's amazing how easy the code below looks, but I can tell you it took
me most of a
1 - 100 of 111 matches
Mail list logo