I'm following the instructions here:
http://docs.djangoproject.com/en/dev/topics/forms/modelforms/
But when I do this kind of thing:
formset = AuthorFormSet(queryset=Author.objects.filter
(name__startswith='O'))
I always get an extra blank form at the end of my formset - regardless
of how I se
How about posting the code here for a review?
On Jul 30, 5:21 pm, Asinox wrote:
> Thanks, i did it, i dont know if in the best way but im saving data in
> two tables :) thanks :)
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Go
On Jul 31, 10:31 am, Salvatore Leone
wrote:
> Hi,
>
> I've got a form with various information and a file upload widget.
>
> Is there a way to uploads many files at the same time? So to have a link
> "add file" (and even "remove" file for already selected files).
>
Look at:
http://scompt.com/arch
as opposed to proprietary research companies) that
could help with such an effort.
It's also clear that some thought will need to go into this "up front"
in
order to maximise reuse of code.
My 2c
Derek
--~--~-~--~~~---~--~~
You received this message beca
?!
>
> I think the idea is to allow common authorisation between the two sites.
I am a complete newbie here, so pardon me chipping in, but... would it
not be possible to do authorisation in one database and then have the
groups-specific databases being separate?
Derek
--~--~-~--~---
On Aug 9, 7:49 pm, justin jools wrote:
> o thanks for that :)
> as soon as my administrator finally sorts out Python script executing for me
> - omg! ,I'll try that
Not sure if this is off-topic or not, but I see Google is also
offering free Django deployment on their App Engine:
http://code.goo
loaded and appears in the
'/home/blah/blah/mysite/media/photos/' directory, when I click on the link -
which is shown as
http://127.0.0.1:8000/media/photos/test.jpg
I get a "Page not found: /media/photos/test.jpg"
This seems like a simple thing to fix - but not for me?
Any help
I have not used triggers/functions in Postgresql, but did find what
may
be a useful blog article:
http://www.eflorenzano.com/blog/post/database-triggers-arent-evil-and-they-actually-kin/
On Nov 2, 3:28 pm, Geobase Isoscale wrote:
> Hi all,
>
> Does anyone have an idea of how to call the functi
One of the needs I have (and, I imagine, others too) is to be able to
display a view of a single record in a table. This is the case when
the record has many fields, not all of which are appropriate for (or
need to be) display in the normal list view.
What I need to know is: is this a "standard
elves.
I am looking for a way to have a link to this "detail view" embedded
in each
line entry of the normal tabular list display - a type of "click here
for more
details" link. This would not form part of a search or query.
On Nov 7, 1:24 am, Tomasz Zieliński
wrote:
> On 6
Well, the link to view a record would appear on each and every
record line in the nomal tabular list.
On Nov 8, 3:27 pm, joker wrote:
> do u want to see last or first record?
>
> On 8 Kasım, 08:44, derek wrote:
>
>
>
> > I am not sure what you mean by "on change li
Yes, the fields should not be editable in a "view".
However, I do not see it as "a problem" - more as "a desirable
feature". There are any number of use cases for letting users see
detailed record data but not be able (or not need, at that point in
time) to edit it. This feature is not meant t
Bruno
All the help is much appreciated - its working now, and I need to
spend time to understand all the changes.
On Nov 5, 5:53 pm, bruno desthuilliers
wrote:
> On 3 nov, 16:02, derek wrote:
>
> > Given that I am a "wet behind the ears" newbie, maybe I should not be
&g
Adrian
Does the Photologue app store the image references in the database?
On Nov 5, 6:58 pm, adrian wrote:
> The easiest way is to use the Photologue application.
> It has done most of the work for you.
>
> On Nov 5, 9:53 am, bruno desthuilliers
> wrote:
>
> > On 3
Cool! Thanks Alex - that is exactly what I want.
On Nov 10, 4:55 pm, Alex Robbins
wrote:
> Derek,
>
> If you want something that display data but doesn't allow you to edit
> it, you should check out the databrowse[1] contrib app. You just
> register a model with it (li
After much searching, the closest answer I can find for this is here:
http://groups.google.com/group/django-users/browse_thread/thread/24edd54c637f19a7
with the "solution" being:
text = forms.CharField(label="text", max_length=10,
widget=forms.TextInput(
attrs={'size':'10',
Baurzhan
If you are serious about doing this, you may want to look at what has
been "invented" elsewhere. The one example I know of (and have used)
is Apache Cocoon's flow model:
http://cocoon.apache.org/2.1/userdocs/flow/continuations.html
Worth reading around ideas/concepts.
D
Perhaps you can say here what you fixed so others can learn.
On Apr 14, 7:25 pm, pedjk wrote:
> Problem solved. I just had to fix the code in mysql.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us
en unique" - do you mean "it cannot
be unique because that is a faulty model definition" or "it cannot be
unique because this type of model definition will prevent inlines
displaying"? If the former, then I am not sure that Django can really
help. Its almost impossible to thi
On Apr 21, 1:14 pm, Alessandro Ronchi
wrote:
> 2010/4/20 cootetom :
>
> > django and and pisa are great for creating PDF's because you can
> > combine django's templating engine with pisa's HTML to PDF conversion.
> > Pisa uses the reportlab tool kit.http://pypi.python.org/pypi/pisa/
>
> I think I
On Apr 20, 10:48 pm, When ideas fail
wrote:
> If i have an admin form and want to transform some data to another
> format using AJAX within the form, what is the best way to do this. In
> a normal form I can do this within the view but is there any way to
> extend admin views to add new functional
On Apr 20, 4:09 pm, darren wrote:
> I am not able to figure out how to order the records that fill the
> drop down list in a model form. On line 112 below, I have attempted
> to order the Rotation model by player. But, the drop down list that
> is created for me is not ordered that way. I also
On Apr 20, 1:31 pm, Huang Stanley wrote:
> Hi all:
>
> I try to find all fields but only IPAddressField is char data type,
> but it's a fix-length char data type for 15 characters.
>
> Is there any field that I can use for this purpose.
>
> PS. I use django 1.2 beta 1 on Ubuntu.
>
> Thanks for you
maybe I could learn something about users and profiles!)
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email
On Apr 22, 3:03 pm, Tom Evans wrote:
> On Thu, Apr 22, 2010 at 1:52 PM, derek wrote:
> > This thread:
> >http://groups.google.com/group/django-users/browse_thread/thread/b303...
> > ends with the comment that "whatever string (actually unicode)
> > representation
e from elsewhere - there is no
documentation for any tags to display booleans on the API document page (
http://docs.djangoproject.com/en/1.1/ref/templates/builtins/#built-in-tag-reference).
The tag also needs to be able to handle MySQL "booleans" (which are tinyint
fields with values of
it can be compared to the "revised" version altered
by the user and appropriate code be executed.
How and where can this be done?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
On Apr 25, 6:55 pm, Dmitry Dzhus wrote:
> Derek wrote:
> > I am looking for a way to display a boolean value, with the "on" / "off"
>
> http://docs.djangoproject.com/en/1.1/ref/templates/builtins/#yesno
> --
Thanks - but that outputs strings, not URL lin
Nick & Tony - many thanks!
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googleg
On Apr 28, 11:12 am, Daniel Roseman wrote:
> On Apr 28, 9:08 am, derek wrote:
>
> > On Apr 25, 6:55 pm, Dmitry Dzhus wrote:> Derek wrote:
> > > > I am looking for a way to display a boolean value, with the "on" / "off"
>
> > >http://
or read-only field].
Re "* advanced permissions - some employees have editing access only
to some fields" => I have not done this, but would think you can do
this as part of the "dynamic edit forms" (certainly permissions can be
fine-grained at a row level - many topics disc
request object from the json return value.
>
> >> I can see how easy that part would be in C++, but my python skills are
> >> a good deal weaker I guess I'm hunting for "how to do this in
> >> python"
>
Peter
This sounds intriguing: "a func
how to code the calculation
part...
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@g
nderstand how such a nested system would be constructed - and how the
template, in turn, would process it.
Note 2: Yes, I realize these set of models could be improved with
many-to-many or one-to-many relationship fields added. But, if at all
possible, please just work with it "as is".
go. Look at recent posts on this topic
(some linked to my name), e..g to "set session variables". I have not
got this working yet, but if you do, perhaps you can "write up" some
guidelines?
Derek
--
You received this message because you are subscribed to the
you are trying to solve,
but another way could be simply to make the "fixed choices" be "fixed
fields". Then the " additional text input" becomes the value of the
field. For example, if choices are:
MasterCard, VisaCard and/or Cheque Account.
These become fields a
nd
As soon as I remove the _() it works just fine.
Any clues as to what could be the cause? (I am running Django 1.1 on a
local desktop, using the development server).
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
rect syntax for retrieving
the value of the "name" field from related model A.
I have tried {{ results.C.B.A.name }} with no effect?
What is the correct way to do this?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users"
On May 5, 9:15 pm, Daniel Roseman wrote:
> On May 5, 6:27 pm, Derek wrote:
>
>
>
> > I have set of models, with relationships D -> C -> B -> A, where the
> > "->" indicates a "many to one" relationship.
>
> > I have been able to
quot; that how far
that file processing has progressed ... should it be writing out to a
temp file which the view could "read"? What if there are multiple
uploads occurring at the same time? Or are there simpler, more
"Django-orientated" methods of doing this?
Thanks!
Derek
results page.
>
> Progress is a little harder. If it's a large file I would use
> something like swfupload to show the user real time progress on the
> page before loading the next page.
>
> If there is a better way to do these things, I'd love to know too.
>
> On
t to the name of a
field (such as "bar").
The above is incorrect - how do I accomplish this?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To
On May 18, 11:35 am, Tom Evans wrote:
> On Tue, May 18, 2010 at 12:46 AM, Barry wrote:
> > Hi--
>
> > I want to dynamically display the contents of results (an array of
> > dictionaries with the same keys) as a table where the column headers
> > are a select group of keys in the variable result_
On May 18, 10:38 pm, Hendra Kurniawan
wrote:
> Hi all,
> Can you give me a bright explanation for Django Framework ? how can
> Django being configure in cloud computing? it's support? can you give
> me some link article for this ?
>
> Thanks Before that..
>
> Sincerely
>
> Hendra
Try:
http://www.
#x27;, '__file__', '__name__', '__package__', '__path__']
which seems incomplete?
What (probably obvious) step or action have I missed or messed up?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users&qu
On Jun 1, 1:24 am, Michael Davis wrote:
> I'm trying to implement a simple grade book application using a
> modelformset where the students' names are READONLY and the grades are
> the only thing the teacher can edit. I've been looking for sample code
> to implement the readonly portion and one fe
On Jun 2, 3:00 am, HARRY POTTRER wrote:
> I have a models that represents an event.
>
> I want it to have a field that represents the days of the week that
> the event occurs. This is easy if all you need to be able to do is be
> able to select one day, but if you want to select multiple, the righ
in Django, without changing the
database structure (e.g. creating an alarm field on Building, with a
one-to-many relationship to Alarm)? (and, ideally, also being able to
filter the result so only "master" alarms show up?)
Thanks
Derek
--
You received this message because you are subscri
On Jun 16, 8:20 am, MH wrote:
> Hi,
> I'm making a model, that has a bit complex dependencies between the fields,
> such as date progression (start_date must not be later than finish_date).
> I'm looking for a way to validate these dependencies while creating (or
> saving) the model, but I am not
'source'
error, and the full trace path includes no references to my source file(s).
What (presumably obvious) mistake am I making?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send em
On Jun 17, 5:44 am, rahul jain wrote:
> Hi there,
>
> I have some filters set-up on admin page. As soon as I perform admin
> action. All filters are getting reset.
>
> Is this is a bug from framework ?
No. There are work-arounds to get back to these; Google this group
for suggestions.
--
You r
I am not sure (a) why Django is expecting to find a
"'teamgrouping.id'" (I assume because "id" is the default name of a
table's primary key field?) and (b) how to tell it to use
'teamgrouping.teamgroupingID' as the primary key (as specified in the
Tea
uot; relates to form data and not models per
se (as per the example you point to).
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this grou
On Jun 18, 9:18 pm, swinton wrote:
> On Jun 17, 4:13 pm, derek wrote:
>
> > On Jun 17, 5:44 am, rahul jain wrote:
>
> > > Hi there,
>
> > > I have some filters set-up on admin page. As soon as I perform admin
> > > action. All filters are getting r
o all future
code.)
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@googlegroups.com.
F
On Jun 22, 4:48 pm, Benedict Verheyen
wrote:
> On 22/06/2010 16:42, Daniel Roseman wrote:
>
>
>
> > As described in the documentation [1], you use the double-underscore
> > syntax for sorting across relationships.
> > Call.objects.all().order_by('-priority__weight')
>
> > [1]:http://docs.djang
On Jun 23, 8:28 pm, derek wrote:
> I would like to define a default manager for MyModel that always
> filters all records (when the model is accessed from anywhere in my
> application) based on data from the request:
>
> e.g. on the lines of:
>
> class MyModelM
age; however, when I do
so, nothing shows up (well, the page template "wrapper" is there, but
no listing of models etc.)
What do I need to do to enable this?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
_list into the context as }% if app_list %} will
> always be False as Django's templating system treats missing variable
> as None effectively.
>
> On 25 June, 07:47, derek wrote:
> > Working with Django 1.2.1
>
> > The default index page for Django admin contain
_formset %}
8 : {{ inline_admin_formset.opts.verbose_name|title }}: {% if inline_admin_form.original %}
{{ inline_admin_form.original }} {% else %}#{{ forloop.counter }}{%
endif %}
On the webpage, the {{ inline_admin_form.original }} is displayed in
red.
I have had this error in other places as well, but this
know how it's done.
>
> Rajeesh.
Will do. I just find it very strange that, given I am working
in_and_with the Admin app, this routine works *only* in the index
page...
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" g
On Jun 26, 3:39 pm, Karen Tracey wrote:
> On Sat, Jun 26, 2010 at 3:48 AM, derek wrote:
> > Caught TypeError while rendering: coercing to Unicode: need string
> > or buffer, NoneType found
>
> The typical reason for this message is a __unicode__ method for a model th
e is still unnecessary overhead in passing it when not needed.
>
> Euan
>
> On 26 June, 08:50, derek wrote:
>
>
>
> > On Jun 25, 8:45 pm, raj wrote:
>
> > > > Before I "pass the variable app_list"; do I not need to create what is
> > > &
On Jun 27, 8:06 pm, Karen Tracey wrote:
> On Sun, Jun 27, 2010 at 1:54 PM, derek wrote:
> > File "/usr/local/lib/python2.6/dist-packages/django/contrib/admin/
> > options.py" in change_view
> > 900. change_message =
> > self.construct_c
4, "Unknown column 'T2.userprofile_id' in 'where clause'")
I am not sure why Django is looking for a "userprofile_id", and
therefore how to go about creating the relationship? (If I remove the
'groupings' link, then the profile works as expecte
On Jun 29, 12:29 pm, samie wrote:
> sir i am a beginner in python and django..
>
> i want develop a content management system using django..
>
> plz help me wht shld i do from where shld i start..
>
> i am learning python from google videos and develop a application
> which is available on django
On Jun 28, 1:48 am, DoubleD wrote:
> I want to be able to edit all data on one page. How can i achieve
> this ? Should i modify my models? If so, then how should i modify
> them?
>
> class TextStyle(models.Model):
> color = models.CharField(_("color"), max_length=7)
> style = models.CharFi
On Jun 28, 7:54 pm, Jacob Fenwick wrote:
> Is there a simple way to change the displayed name of the users object in
> the auth package?
>
> I don't care about what it's called under the hood. I just want to change
> what the user sees.
>
> I'd like to avoid changing the code directly in the Djang
On Jun 28, 6:47 pm, thusjanthan wrote:
> Hi,
>
> I have a Topic class I would like to create a form based on. BUT, I
> want many of these objects so Topics. How do I obtain such a feature.
>
> Suppose my form object is as follows:
>
> class TopicForms(ModelForm):
> class meta:
> model
On Jun 29, 7:43 pm, Jacob Fenwick wrote:
> Thanks for the link Derek.
>
> I don't think it quite does what I want.
>
> I guess I should have been more specific.
>
> I want to change how the Users object is displayed in the Django admin.
>
> This is a one line
On Jun 29, 9:51 pm, Daniel Hilton wrote:
> On 29 June 2010 20:07, Andy McKay wrote:> On 2010-06-29,
> at 10:48 AM, tiemonster wrote:
>
> >> Is a signal emitted after a successful login? I need to hook a
> >> particular piece of code into that point in the application.
>
> One easy way is to wrap
On Jul 1, 10:16 pm, Barto wrote:
> I've been following 'Writing Your First Django App. Pt. 1'
> substituting my own object names in experiment.
>
> Noticed that when I told Django to create my tables, it did so giving
> all (psycopg2/postgres) fields the 'notnull' setting. Easy to change
> this vi
On Jul 4, 3:06 pm, djnubbio wrote:
> hi all; sorry for wasting your preciouse tume.
>
> I'm trouble with the following:
>
> class A(models.Model):
> .
> .
> .
>
> class B(models.Model):
> .
> .
> .
> a= models.ForeignKey(A)
>
> class C(models.Model):
> .
> .
> .
> b= models.ForeignKey(B)
>
> How c
On Jul 7, 12:44 am, Erich wrote:
> I am using create_update.create_object to handle my forms (generic
> forms both use modelforms). I have two forms. The second relies on the
> pk of the first as a fk. I can't figure out what is the best practice
> to A: save the pk as a variable or into the sessi
On Jul 7, 11:40 pm, rahul jain wrote:
> Hi there !
>
> I would like to display model fields based on the logged-in user.
>
> If user is restricted user
>
> list_display = (field1, field2)
>
> else
>
> list_display = (field1, field2, field3, field4)
>
> How is it possible ?
>
Also see:
http://stac
eet N number of possible needs, once you get "beyond the basics", the
specifics start to diverge more and more from what _you_ actually need
to do.
My 2c
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
list), provide suggestions, code reviews and
so on. (I assume that such support would be paid for, of course.)
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegrou
not give me the above error anymore, but when I rerun the
"python manage.py test", I get:
_mysql_exceptions.OperationalError: (1050, "Table 'taxagreement_grouping'
already exists")
So obviously the problem - and I am not sure exactly what that is? - is not
fi
On Jul 10, 4:40 pm, Rolando Espinoza La Fuente
wrote:
> On Sat, Jul 10, 2010 at 9:31 AM, Derek wrote:
> > Running Django 1.2.1 under Python 2.6.
> > I am obviously missing something cruccial, but I am just not sure where this
> > is...
> > I have a setup which includ
On Jul 11, 4:23 pm, derek wrote:
> On Jul 10, 4:40 pm, Rolando Espinoza La Fuente
> wrote:
>
>
>
> > On Sat, Jul 10, 2010 at 9:31 AM, Derek wrote:
> > > Running Django 1.2.1 under Python 2.6.
> > > I am obviously missing something cruccial, but I am j
On 15 July 2010 21:10, rahul jain wrote:
> anyone on this ?
>
> On Tue, Jul 13, 2010 at 2:44 PM, rahul jain
> wrote:
> > Could it be generic ?. I mean i don't want to specify self.naughty_field.
> >
> > How to do it for self.any_field ?
> >
> > RJ
> >
> > On Tue, Jun 29, 2010 at 9:29 AM, euan.go
On Jul 17, 10:03 pm, Joel Klabo wrote:
> I got it to work by adding: {% load comments %}. I had put the load
> comments tag in my base.html but didn't work there for some reason.
>
> On Jul 17, 1:00 pm, Joel Klabo wrote:
>
> > I am trying to use the get_comment_list template tag and I keep
> > ge
On Jul 19, 1:19 am, Martin Tiršel wrote:
> On Fri, 09 Jul 2010 16:50:14 +0200, derek wrote:
> > More complex or more detailed? (I would argue that The Django Book is
> > about as high quality as you are ever going to get for a free
> > tutorial)
>
> > Try
b30696565ad/bef1ce2bda1b6fca?lnk=gst&q=scalable#bef1ce2bda1b6fca
(e.g. see Dave Snider's remarks in the above thread).
Finally, also have a look at: http://www.djangosites.org/
Hope this helps
Derek
--
You received this message because you are subscribed to the Google Gro
On Jul 22, 4:46 am, zero00 wrote:
> Well Fred the enviorment where I live theres almost no programmers and
> the ones that I do know that are experienced are Java developers.
> Theres really no Programming community at all.
> Much less a language that is new and also not studied on the
> universit
On Jul 21, 7:38 pm, jaymzcd wrote:
> I'm going to guess you have been following along with
> thehttp://www.djangobook.com/
> site. It was great in the day but *do not use that* now-a-days as it
> covers 0.96. There have been significant changes, one of which is the
> maxlength to max_length on Ch
template and, if so, which one?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to
django-users+unsubscr...@go
On Jul 26, 6:52 pm, "Casey S. Greene" wrote:
> Does anyone have a hint for this (or an idea of where to get started in
> the documentation)? This seems relatively simple so my best guess is
> that there is something that I am just missing.
>
> Thanks!
> -- Casey
>
> On 07/22/2010 10:16 AM, Casey
On Jul 26, 6:52 pm, "Casey S. Greene" wrote:
> Does anyone have a hint for this (or an idea of where to get started in
> the documentation)? This seems relatively simple so my best guess is
> that there is something that I am just missing.
>
> Thanks!
> -- Casey
>
> On 07/22/2010 10:16 AM, Casey
On Aug 2, 12:57 pm, Torsten Bronger
wrote:
> Hall chen!
>
> Does anybody know a tutorial for Django-related schema migration by
> using the SQL console directly? (Preferably PostgreSQL.) We
> evaluate South at the moment, but we'd like to have the low-level
> knowledge as a fallback. Of course,
ot need to be translated e.g. custom SQL code that is used in
other files (the idea being that there is one place to look to find
everything - particularly useful if the models+database change in some
way)
Thanks
Derek
--
You received this message because you are subscribed to the Google Group
handles user grouping (I have
some custom ones in my app) be used?
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send em
new
> "grouping models" - I often use intermediate models for this (i.e.
> Team model with fk to Group among other fields). Let me know if you
> have different experience.
>
> On 4 Sie, 15:26, derek wrote:
>
> > On Aug 4, 1:20 am, lukaszb wrote:
>
>
On Aug 24, 3:36 pm, Rodney Topor wrote:
> OK, it seems I misunderstood the purpose of this page. I still think
> some of the code is misleading, but I accept that the examples is
> intended to be indicative rather than descriptive, and that it would
> indeed take much more space to describe how t
>
> > clone = clone.extra(where=('db_newsitem.id =
> > db_attribute.news_item_id',))
>
> > Seems to work fine.
>
> [...]
>
> Once again this group proves itself at least as valuable as a stuffed
> bear ;-)
>
> regards
> Steve
St
Hi
If anyone is using the app django-adminhelp (
http://github.com/semente/django-adminhelp) please contact me.
Thanks
Derek
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@google
Reading CSV with Python, see:
http://www.linuxjournal.com/content/handling-csv-files-python
I'm not sure you need a dictionary view as well (?) - the above
tutorial shows how tuples are created, which may be sufficient for
your needs.
Working through a Django tutorial, or the first part of The Dj
On Sep 10, 6:40 pm, Russell Keith-Magee
wrote:
> On Fri, Sep 10, 2010 at 7:47 PM, naoy.teruh wrote:
> > Hello,
>
> > I would like to implement multicolumns primary keys in django.
> ...
> > Did I miss something ?
>
> Yes - Multicolumn primary keys aren't currently supported in Django.
> It's a lo
The admin column headers should be "clickable" for you to sort in
ascending/descending order.
On Sep 19, 11:31 pm, rahul jain wrote:
> I mean graphically/directly on the UI itself.
>
> On Sun, Sep 19, 2010 at 2:29 PM, Sævar Öfjörð wrote:
>
> >http://docs.djangoproject.com/en/dev/ref/contrib/adm
If you search this list and /or the web, you'll see a number of
examples on how to do this.
On Sep 19, 8:42 am, Andy wrote:
> I have a model FieldReport that has, among other fields, these two
> fields:
>
> -country
> -city
>
> Both "country" and "city" are lists of choices.
>
> I want to have a
1 - 100 of 947 matches
Mail list logo