according documentation
http://docs.djangoproject.com/en/dev/ref/django-admin/?from=olddocs
Generally, when working on a single Django project, it’s easier to use
manage.py. Use django-admin.py with DJANGO_SETTINGS_MODULE, or the
--settings command line option, if you need to switch between multipl
Question was: how to determine that user comes from mobile phone to show him
mobile version of site. May be by parsing user agent. (for example
http://en.wikipedia.org/wiki/List_of_user_agents_for_mobile_phones)
2010/8/27 Lachlan Musicman
> That come out wrong on re reading. I didn't mean to off
on ModelAdmin there is read only fields
http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields
On 24 August 2010 20:02, Rodrigo Lombardo wrote:
> Hi,
>
> I'm new to Django and I'm learning a lot reading the docs and some books.
> I'm trying to gen
Don't think it is good idea to do so.
In this case dict_variables['modelname'].objects.filter(status_listurl='u')
you call method objects on string. but string doesn't have such method. you
should use smth like modelclass = globals()['modelname']
for example:
>>> import os
>>> o=globals()['os'] #
gedit + plugins + snippets is easier to learn than vim(gvim) and looks more
beautiful :) , but on windows there is bad support of python plugins (if you
really need to develop on win)
vim may be more flexible
Wing IDE not free. I meant version with django support
(http://wingware.com/wingide/featur
5 matches
Mail list logo