://docs.djangoproject.com/en/dev/topics/db/models/#models-across-files
http://docs.djangoproject.com/en/dev/ref/models/fields/#lazy-relationships
HTH
--
Ramiro Morales
http://rmorales.net
--~--~-~--~~~---~--~~
You received this message because you are subscri
he equivalent SQLite and MySQL command
line tools and this would increase the chances of it or a similar fix
getting applied to solve this problem with dbshell on Windows.
HTH,
--
Ramiro Morales
http://rmorales.net
1. http://code.djangoproject.com/ticket/10357
--~--~-~--~~--
t:
>
> >>> client.get('/foo/bar/',extra={'HTTP_HOST':'example.com'}
actually results in a 'extra' key whose value is a nested dictionary
in the request.META dictionary. Use
>>> client.get('/foo/bar/', HTTP_HOST='example.com'}
instead.
HTH,
--
Ramiro Morales
http://r
test to confirm if 10074 is the revision where your
problems started?
Can you reduce your problematic models to a minimal test case?
and paste it to dpaste.com?
Do the problematic models have circular references among them?.
Regards,
--
Ramiro Morales
http
eful is to also know which revision
you had been (successfully) using before so we can
search for a commit in the range, not necessarily 10087.
--
Ramiro Morales
http://rmorales.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
this with the interactive shell
(manage.py shell) you need to restart it to see the efefct of the
changes you perform in model.py.
HTH
--
Ramiro Morales
http://rmorales.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
project.com. But lighttpd
> return 404 when I access http://www.ziyoudu.com/login/
> I enabled the debug information then and found it seems that the url is
> translated to a static file path. The debug infomation is:
That's because you aren't really following
ta:
> model = models.MyModel
> fields = ('name', 'description')
>
> models.py:
> class MyModel (models.Model):
> name = models.CharField(max_length=50,verbose_name=_("Name"))
> description = models.CharField(max_length=200,
l
> server stuctures.
>
> Any clues why my development server fetches and filters will not
> return coherent
> data?
>
It's not cleat to me what does the development server have to do with this.
Could you explaining it a bit further.
--
Ramiro Morales
http://rmorales.net
--~--~-
viously correct set of changes to make.
>
> Put it in the "internationalisation" component.
>
I've selected django.contrib.admin instead, change it to internationalization
if you consider it more correct.
--
Ramiro Morales
http://rmorales.net
1. http://code.djangoproject.com/t
t would be another tip: search in the relevant mailing lists
archives with sensible terms. With pieces of code like IE probabilities
are high somebody has already suffered the same problems.
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because yo
Equip yourself with a network sniffer , or a debugging proxy, or
a Firebug equivalent for IE and see if the cookie is arriving
to the browser at all and if it does, why IE is ignoring it.
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribe
Django management command uses this utility. So you need
to download sqlite3.exe if you want to use it.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
, without knowing the exact path of a given file.
You can disable Apache mod_autoindex
http://httpd.apache.org/docs/2.2/mod/mod_autoindex.html
for that directory.
But the easiest way to avoid the generation of the directory content
listing is simply cre
iously, you need to have Django installed
under both Python versions)
Yo can create your own .BAT files containing just
that if you want to save some keystrokes.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribe
tell you the real encoding, and it isn't the one you expect, you can
re-code it using the iconv utility or re-create the models.py file from
scratch making sure you tell from the beginning your text editor you want
the file to use UTF-8 encoding.
HTH
(sorry for not making this clear in the previous
;GET /media/foo.gif
HTTP/1.1" 404 211 "-" "Mozilla/5.0 (X11; U; Linux i686; en-US;
rv:1.9.0.6) Gecko/2009020409 Iceweasel/3.0.6 (Debian-3.0.6-1)"
error.log:
[Wed Feb 11 15:13:00 2009] [error] [client 192.168.190.2] File does
not exist: /var/djapps/dtests/templates/blogSit
at
http://www.python.org/dev/peps/pep-0263/
Also, make your to wrap your Portuguese literals with a call to the
django.utils.translation.ugettext_lazy() function as described in the
Django I18n documentation:
http://docs.djangoproject.com/en/dev/topics/i18n/#lazy-translation
Regar
as or Location
blocks/directives above?.
It is really better for you and for anybody trying to help
you if you follow some basic common sense practices
because it isn't very practical having to set up
a test Django app under one's Apache document root
just to reproduce your setup.
--
Ramiro Morales
first and then post again if you are still
experimenting problems.
HTH,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
they live
within your Apache document root." blurb suggests, copying the
django/contrib/admin/media tree to your document root would be one way
of achieving this.
Another option would be to use the Alias and Directory apache
configuration directives
(http://httpd.apache.org/docs/2.2/mod/
dia/'
>
> what am i doing wrong or what have i missed?
>
This is described in the documentation:
http://docs.djangoproject.com/en/dev/howto/deployment/modpython/#id3
You should be sure the django/contrib/admin/media/
directory from the Django source code tree is published by Apache
at the
models.OneToOneField(User, verbose_name=_('author'))
the verbose_name option for the relationship type fields
is currenty documented in the model topics document but not in the
field options refererence.
HTH,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received
et is a
[3]snippet that extracts this functionality and avoids the need to patch
Django, it includes a new type property for the messages. The author also
posted a link to a [4]blog entry describing it.
Regards,
--
Ramiro Morales
1. http://code.djangoproject.com/ticket/4604
2. http://code.djan
in your case and report back please?
--
Ramiro Morales
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscrib
On Tue, Feb 3, 2009 at 9:29 AM, Waruna de Silva <waruna@gmail.com> wrote:
> Hi,
>
> In Django is it possible to created models automatically from
> existing database.
Yes, see
http://docs.djangoproject.com/en/dev/howto/legacy-databases/#howto-legacy-databases
-
ttribute 'add_crossref_type'
>
> I'm using a recent version of django.
Which version of Sphinx are you using?.
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
T
;the Module Index" link in the main
documentation page,
which took me to this page:
http://docs.djangoproject.com/en/dev/modindex/
and then searching for 'widget'.
HTH,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed t
so I can't tell if it is a bug... but
> it sure cost me some time because in my eyes it was something complete
> out of the blue.
>
> Django version 1.0.2
> Python 2.5.2
>
What DB backend are you using?.
--
Ramiro Morales
--~--~-~--~~~---~--~~
You
>college = models.ForeignKey(College)
>year = models.IntegerField()
>wins = models.IntegerField(default=0)
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To p
oproject.com/changeset/9418
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe
method supports only the printf-like parmeter maker style with a list
or tuple of actual parameters.
If you want to use the pyformat parameter marking style (as described
in PEP 249),
you' ll need to use the native DB-API driver API as you've already discovered.
Regards,
int the complete SQL query generated by the
QuerySet.
Both the query attribute and as_sql() method are internal implementation
details of QuerySet. That's why they are not documented, but you can count
on them being present for the foreseeable future.
HTH
--
Ramiro Morales
--~--~-~--~--
d to understand for the next person stumbling
the same doubts are welcome 8)
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djan
the same things you
were able to do but in a clearer way.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
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@g
32 platform) means you need to download
and execute an .exe installer for your version of Python.
HTH
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
cs.djangoproject.com/en/dev/topics/http/urls/#the-view-prefix
and
http://docs.djangoproject.com/en/dev/topics/http/urls/#multiple-view-prefixes
for details.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
18n/ into the browser
> URL.
>
That's strange, are you succesfully using another component of Django
i18n infrastructure in the same application?. De you have USE_I18N set to
True in the settings file you are using?
--
Ramiro Morales
--~--~-~--~~~---~--~~
You
b server show a 404 error in its logs when the /jsi18n/
URL is accessed from the browser? What happens if you manually open with
your browser the http:///jsi18n/ URL?.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscr
ng details from
your own case to it, you can reproduce what you are seeing?.
Of course, the only way I could reproduce what you report is
using:
js = 'prototype.js'
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are s
y isn't caused by that LIMIT part as it isn't sent to the
DB in other 'normal' conditions.
Regards,
--
Ramiro Morales
1.
http://code.djangoproject.com/browser/django/trunk/django/db/models/query.py#L146
2. http://code.djangoproject.com/changeset/9202
--~--~-~--~~~
right away.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
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@googlegroups.com
To unsubscribe from this group, send
dev/ref/django-admin/#sqlclear-appname-appname
--
Ramiro Morales
--~--~-~--~~~---~--~~
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@googlegroups.com
To
intermediary and m2m_through example:
http://www.djangoproject.com/documentation/models/m2m_intermediary/
(tests/modeltests/m2m_intermediary/models.py in the Django source tree.)
and the m2m_through example (tests/modeltests/m2m_through/models.py in
the Django source tree.)
HTH
--
Ramiro Morales
-
evision that worked (r7496) and 1.0.2 (r9503)
to try to find the commit that broke things for you. The functionality
was moved from make-messages to django-admin at revision 7844.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are s
context 0 does not contain the error 'Ya existe un responsable con
> este nombre' (actual errors: [u'Responsable with this Nombre already
> exists.'])
>
Does the settings file being used for the tests have USE_i18N=True?
--
Ramiro Morales
--~--~-~--~~~---~--
n before placing the image file into the cache?
>
See tickets #9180 and #5589 for related reports and proposed workarounds/fixes
when using the memcache backend.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed
django-users/browse_thread/thread/cb18...
>>
Note that in the referenced thread I understood [1]you were [2]asking
for being able
to filter on fields of the FK-related model instead of by the FK iself.
Regards,
--
Ramiro Morales
1. If you are
oy that was the OP in one of these threads.
He pointed me to [1]ticket 5691 he opened back then. You might want to take
a look at it (to know propossed solutions, code devs opinions and
perhaps to post feedback and enhance the patch si it can be applied?).
HTH
--
Ram
custom-validation-to-the-admin
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
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@googlegroups.com
To
up/django-developers/browse_thread/thread/740f8d434e0660ff/5033945a4cdde102?hl=en=gst
http://groups.google.com/group/django-users/browse_thread/thread/256faa01c62b4f27/f4a382c540f47b5b?hl=en=gst
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this
f/contrib/admin/#list-filter
it doesn't talk about fields of related models being supported at all.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
quot;
gives this
http://docs.djangoproject.com/en/dev/topics/templates/
as the first hit. Unsurprisingly, one of the sections in that document
is "Automatic HTML escaping"
Try reading it to know how you can control the feature.
Regards,
--
Ramiro Morales
--~--~-~--~~-
migrations, django-evolution, dbmigrations, deseb,
django-schemaevolution
Google for them.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
Posts objects instead o N tables (1 for
> each kinkd of post)
>
See this thread for some ideas:
http://groups.google.com/group/django-users/browse_thread/thread/f4241bc16455f92d/dcd2bfcc91d99cc9
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message beca
ckwardsIncompatibleChanges#Auto-escapingintemplates
to see if you are being affected by it.
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dja
pment server".
to avoid helping people making wrong assumptions based in
the generality of the document title.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Page not found (404)
> Request Method: GET
> Request URL:http://labs.lamepunch.org/labs.fcgi/
>
> Trying to access the admin I get:
>
> The current URL, labs.fcgi/labs.fcgi/admin/, didn't match any of these.
>
> Any clues? I've been asking around on IRC and experimentin
n the
same directory).
>
> And the django.po file has longer paths to everything.
The paths in the PO file comments have no effect.
HTH,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
On Sun, Aug 31, 2008 at 2:09 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>
> This is a bug and has been reported as ticket |1] #7027, you can track
> the advance of the issue there.
>
This is fixed as of revision 8769.
cheers,
-
This is a bug and has been reported as ticket |1] #7027, you can track
the advance of the issue there.
Also, you can help by applying the latest patch attached to it and posting you
experience there as a comment if you find some problem with it.
Regards,
1. http://code.djangoproject.com/tick
orms-adminintotrunk
Good luck
1. http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
of the distributed version control mirrors of
Django's SVN repo (Git, Mercurial, Bazaar), the URLs are published at:
http://code.djangoproject.com/wiki/DjangoBranches#Distributedversioncontrolmirrors
some of these provide tarballs with snapshots of the tree.
HTH,
-
k+MI0fHlCR7GvjpacMPU+++TI/-Tmp-/tmpR3rxkC.upload part
is very long
and contains / characters.
Regards,
--
Ramiro Morales
1.(http://code.djangoproject.com/attachment/ticket/7658/tempfile.3.diff
2. http://code.djangoproject.com/ticket/7658
--~--~-~--~~~---~--~~
You
IOError (see
> traceback further down). I have checked that i have write and delete
> permissions on this directory. When I change the
> FILE_UPLOAD_MAX_MEMORY_SIZE the uploads are working fine.
>
What SVN revision of Django are you using?.
--
Ramiro Morales
--~--~-~--~--
ManyField. Anyway, it works.
>
If you are using Django from SVN trunk and willing to patch and test
code, you might
be interested in taking a look at ticket [1]6095 and helping with the
testing of the
most recent patch attached to it.
Regards,
--
Ramiro Morales
1. http://code
On Thu, Jun 19, 2008 at 11:20 AM, Russell Keith-Magee
<[EMAIL PROTECTED]> wrote:
>
> On Thu, Jun 19, 2008 at 10:08 PM, Ramiro Morales <[EMAIL PROTECTED]> wrote:
>>
>>
>> Maybe a note about this dependency of that particular Django test
>> suite comp
the Python egg
template loader.
I've found this same problem last week both on a Linux system and on a
Windows one.
The common factor was they were systems where the 'stack' has had just
been installed
Python 2.4 and Python 2.5 respectively). Installing the right
setuptools version solved the
problems.
I'm thinking on a environment variable or alike that holds the
> username that is currently authenticated to apache but Google and
> docs/ had not been of much help.
>
You migh want to take a look at ticket [1]689 and one of latest patches
attached to it.
HTH.
--
Ramiro Morales
1. h
machinery Django uses might simply refuse to handle a language that doesn't
exist (from what I can see "sp" isn't a two-lteer code known by gettext), so I
can't imagine why would you want to embark yourself in such a task.
Regards,
--
Ramiro Morales
--~--~-~--~~-
a look at [1]ticket 689 that implements integration of
Django authentication with pre-existing authentication systems implemented
at the Web server by using the REMOTE_USER variable handed by it.
If you decide to follow this way, please share your experiences about
it (regarding functionality, docu
le accesses
> but it's better that nothing.
>
> What do you guys think?
>
Please open a ticket in the Django Trac so this issue doesn' t get forgotten.
Thanks!
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subs
ges — maybe the validator messages, too.
"
This is relevant because Django itself hasn' t yet been translated to Thai.
I would recommend you to read:
http://www.djangoproject.com/documentation/i18n/
to avoid these gotchas, The two problems you' ve found seem to be
re
at /admin
> Template u'admin/base_site.html' cannot be extended, because it doesn't exist
Are you extending the admin app UI?.
>
> Is there a guide for this kind of migration?
Yes, take a look at
http://code.djangoproject.com/wiki/BackwardsIncompatibleChanges
>
> [...]
>
> urls.py--
> from django.conf.urls.defaults import *
> from mysite.views import current_datetime
You should also import the hours_ahead symbol as you did with
the current_datetime one
> from mysite.views import current_datetime, hours_ahead
--
Ramiro Mo
that "/mnt/project/mysite.fcgi"
entry because it doesn't match "/mysite.fcgi$1". they should.
3. lighttpd's mod_fastcgi module gets the request and routes it via a TCP or
Unix socket to thegastCGi server
4. The fastCGI server (in your case Django's manage.py runfastcgi + fl
to
> apache2ctl restart quite often :-)
>
What version of Django are you using?, what deployment method
are you using? (mod_python, fast cgi, mod_wscgi).
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscrib
projects.washingtonpost.com/2008-presidential-candidates/tracker/dates/2008/apr/09/6741/
>
> Where/what would I need to search for?
I'd start by going to the Google web site and searching with the
following three words: django google maps
Apache conf I use this path
> >
> > PythonPath "['/'] + sys.path"
>
> Why are you adding '/' to the module search path. There shouldn't be
> any need to add the root of the file system to it.
>
This is because his project was loca
ution/
http://www.aswmc.com/dbmigration/
http://code.google.com/p/django-schemaevolution/
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
thing similar? I am using
> mySQL
Isn't just for this kind of cases that [1]django-mptt has beeen created?
--
Ramiro Morales
1. http://code.google.com/p/django-mptt/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
rchon=names=all=1=sqlite3
Note the "A command line interface for SQLite 3" part. Install it
using the package management tool of the distribution
and try again.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subsc
's [1]Babel
[2]Django plugin that
includes template filters and a context processor.
You can find additional information at:
http://www.cmlenz.net/archives/2007/09/djangobabel-integration#more
Regards,
--
Ramiro Morales
1. http://babel.edgewall.org/
2. http://babel.edgewall
his isue had already been reported as bug #5593. I'm closing it
and leaving a link to this thread there.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To po
files.
> my message file for English is:
>
> #: html/anasayfa.html:9
> #, fuzzy
> msgid "Hatali Giris"
> msgstr "Not Authorized"
>
See
http://groups.google.com/group/Django-I18N/browse_thread/thread/5989b67618a1705a?hl=en#bd2ed8f23b826e02
--
Ramiro Morales
-
and they have their Admin inner classes
correctly defined in their own models.py files.
> Thank you. You know I can't copy/paste the text from new django book.
I meant copy/paste from your code to the e-mail.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
nding-generic-views/
The key word is the "extra_context" argument of the generic views.
HTH,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
ass Meta:
ordering = ["name"]
(same thing for the model methods)
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
ple,
Brian Rosner posted an entry about this on his blog a while back:
http://oebfare.com/blog/2007/dec/13/django-and-mediatemple/
HTH
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Djang
view, both are named "ldap", you intend to
call functions from the ldap module but inside the view function the
ldap name is
the name of request. hence the error.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you a
;
Do you want to reimplement or do you want to use
get_model()?. If the answer is the latter you might
find this article helpful:
http://www.b-list.org/weblog/2007/nov/03/working-models/
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because
> NameError at /
> global name '_' is not defined
>
See ticket #5795:
http://code.djangoproject.com/ticket/5795
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" gro
of how template inheritance works in the no-tutorial
documentation:
http://www.djangoproject.com/documentation/templates/#template-inheritance
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&
lete documentation:
http://www.djangoproject.com/documentation/model-api/#db-index
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
o read directories/files under the missed user's home dir?.
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-u
mysite
Hmm a few strange things:
* managemet.py does not exist on django
* The error is about a "mysite" project but above
thre is a \newsite\manage.py asi if the name of the
project were "newsite"
Are you sure that backtrace is a copy paste from the real one?
Also, it
n set/add the env vars (PYHTONPATH in this case) you need on
the crontab.
HTH
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to djang
o the Apache user and avoiding the temptation
to break the overall system security in the process :)
--
Ramiro Morales
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to thi
linstance.childrens () and modelinstance.parent()?
>
There is some meterial in the wiki about that:
http://code.djangoproject.com/wiki/CookBookDataModels
http://code.djangoproject.com/wiki/CookBookCategoryDataModelPostMagic
http://code.djangoproject.com
with the dropdown
> part. But how do I manage to get such a list? And what about sorting it?
>
Take a loot at the values() method:
http://www.djangoproject.com/documentation/db-api/#values-fields
Regards,
--
Ramiro Morales
--~--~-~--~~~---~--~~
You rec
201 - 300 of 353 matches
Mail list logo