Re: μ must be μ

2010-07-12 Thread Martin Melin
ail to django-us...@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > Best regards Martin Melin -- You received this message be

Re: 'python manage.py startproject survey' does not add 'survey' to INSTALLED _APPS.

2010-07-29 Thread Martin Melin
On Thu, Jul 29, 2010 at 10:51 PM, to_see wrote: > I am still new to Django, and am typing my way through some tutorials > (not running demo code).  I could not figure out why I was getting > incorrect results in an Admin demo, until I looked at the sample > code. > > When I did this: > > django-ad

Re: Replace Admin Site Foreign Key Field/Dropdown with Textbox?

2010-08-08 Thread Martin Melin
On Sun, Aug 8, 2010 at 4:00 PM, sixpackistan wrote: > For foreign key fields in the Django Admin, the default display > element is a drop down list box containing all of the foreign key > items from the related model.  I have an asset tracking instance where > this drop down box can contain hundre

Re: newbie question

2010-10-04 Thread Martin Melin
e you're describing is to have a standalone script that runs periodically, triggered by cron. For info on writing scripts that have access to your Django project's models etc., have a look at Google's results for "django crontab" or similar. Good luck! Best regards, Marti

Re: Adding help text to Django admin

2010-10-04 Thread Martin Melin
; How can I achieve this? http://docs.djangoproject.com/en/dev/ref/models/fields/#help-text Regards, Martin Melin -- 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 unsubscri

Re: Using the Django Admin to change a password.

2010-11-20 Thread Martin Melin
> > Any hints? I assume that the rest of the admin is working? What version of Django are you using? Have you done anything out of the ordinary in urls.py? The problem seems to be that there is no URL pattern for the password change form, which means the user edit URL pattern will

Re: newbie question: @login_required, can't get it to work

2010-12-08 Thread Martin Melin
m/en/dev/ref/settings/#std:setting-LOGIN_URL i.e. you should be using settings.LOGIN_URL and not django.contrib.auth.LOGIN_URL since at least 1.0 Cheers, Martin Melin > > The server says: GET /accounts/login/?login/=/save/ HTTP/1.1  404 2273 > I assume that it is going the path: > > /

Re: Really annoying problem, First App part 1 related

2010-12-09 Thread Martin Melin
x > > with 'startproject' highlighted. The django-admin.py file is in the > directory I changed to. django-admin.py is a program that should be run in your OS shell, not in a Python interpreter which it looks like you're trying to do here. Regards Martin Melin -- You received this

Re: new at this -- need some guidance

2011-09-10 Thread Martin Melin
jangoproject.com/en/dev/topics/db/models/#many-to-one-relationships if you're curious. Cheers, Martin Melin -- 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 unsub

Re: Virtualized Django app image for dev replication?

2011-05-18 Thread Martin Melin
On Thu, May 19, 2011 at 4:30 AM, ydjango wrote: > I am thinking of creating a virtualized image of my complete django > app with mysql so that I can clone/copy it on developers, qa and demo > laptops. That way I do not have to do greenfield install on each > developer computer which can take many

Re: login-required

2011-02-14 Thread Martin Melin
know. You need to make sure that you have the Session and Authentication middlewares installed. Have a look at this link: http://docs.djangoproject.com/en/dev/topics/auth/#authentication-in-web-requests Best regards, Martin Melin > For the login template i used the example shown in the documen

Re: Having trouble synchronizing the database, can someone help?

2011-02-14 Thread Martin Melin
will just simply ignore  checking if the field changes. > And what I should do to sync the database? You're correct, the syncdb command will not modify tables in your database. What you're looking for is called database migrations, and a lot of (most?) people using Django use somethi