how to deploy django project to lighttpd server

2013-01-04 Thread doniyor
Hi there, i am stumbling over this step: i have django project running at my pc local, i want to deploy it to server to see it online. I have bought the hosting service from djangoeurope.com. they have that one-click django installer, it installs the environment with its lighttpd settings. now

Re: virtualenv setup

2013-01-04 Thread Vibhu Rishi
Hi Phil, What OS are you running on ? for ubuntu, you need to have an extra parameter while creating the venv like : $ virtualenv venv --distribute --no-site-packages After that source the environment and pip install the packages pip install Django psycopg2 dj-database-url I would suggest you tr

Re: Get objects sorted by time of last comment

2013-01-04 Thread Vibhu Rishi
Hi Anssi, Thanks for the comment. I was thinking that if I have to do the last comment hackery for all the objects would it also work if I * add a last_comment_time field to the models I use with comments. * modify the comment form ( not sure which file to modify, still thinking it through) to ad

Re: Django app custom settings testing

2013-01-04 Thread Pedro J. Aramburu
Thanks very much and, yes, that code is what I've found. In your personal opinion, would you use a setup like that ( http://passingcuriosity.com/2010/default-settings-for-django-applications/) for default settings? or is it a little bit over the top for small apps? I think I'll try my approach for

FormWizard - Sesssions

2013-01-04 Thread Kristofer
Hello, I am using FormWizard with SessionWizardView. The form is working as expected by using the submit or previous buttons, but if the user goes to a different link on the site, and then back to where the form was, the form starts out fresh. I have verified with Developer Tools that the br

Re: [ANNOUNCE] Django 1.5 release candidate available

2013-01-04 Thread Sultan Imanhodjaev
Cool! :) Happy New Year! Trying out RC1 On Sat, Jan 5, 2013 at 1:07 AM, James Bennett wrote: > 1.5 is almost here! > > Today marks the release candidate, which you can read about on the weblog: > > https://www.djangoproject.com/weblog/2013/jan/04/15-rc-1/ > > Assuming no release-blocking bugs,

[ANNOUNCE] Django 1.5 release candidate available

2013-01-04 Thread James Bennett
1.5 is almost here! Today marks the release candidate, which you can read about on the weblog: https://www.djangoproject.com/weblog/2013/jan/04/15-rc-1/ Assuming no release-blocking bugs, Django 1.5 will be released next week. -- You received this message because you are subscribed to the Goog

Modelforms and class based views

2013-01-04 Thread Marco A Morales
Hi everyone, I'm still wraping my head around class based views and I'm trying my first project with class based views. I'm having trouble deciding how to write a view that will display a two Modelforms, one having a foreign key over the other. I will need to do the .save(commit=False) part t

RE: Django installation on Hostgator

2013-01-04 Thread bb6xt
Hi Gjorge, I haven't used Hostgator but I believe just extracting the required packages into project root should work. Here what am proposing: myproj/ myproj/ django/ django_extensions/ South This way you simply upload your project to the server along with the dependencies. disla

Re: Run Individual doctest in model.py or views.py

2013-01-04 Thread nkryptic
In the example, animals would be the app modules which contains a models.py file and/or tests.py. "classify" would be a function in either models.py or tests.py with a doctest string as the comment. $ ./manage.py test animals.Bear The above would run the doctest comment on the class Bear in mo

Re: Django app custom settings testing

2013-01-04 Thread nkryptic
The only thing I've seen which handles all the cases you mention is http://passingcuriosity.com/2010/default-settings-for-django-applications/ . That may also be what you were referring to about seeing something on github. As to your new question, I think that would work, because every time y

Re: Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Thanks you. I did it. :-) On Fri, Jan 4, 2013 at 10:23 PM, Tsolmon Narantsogt wrote: > Thanks you its works fine. > > But another issue > > Django Version: > 1.3.4Exception Type: > ImportErrorException Value: > > No module named base.urls > > base is my app. > my urls > > urlpatterns = patterns(

Re: Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Thanks you its works fine. But another issue Django Version:1.3.4Exception Type:ImportErrorException Value: No module named base.urls base is my app. my urls urlpatterns = patterns('', url(r'^$', include('base.urls')), . On Fri, Jan 4, 2013 at 9:51 PM, Addy Yeow wrote: > You may w

Re: Changing password on code.djangoproject.com?

2013-01-04 Thread Addy Yeow
https://www.djangoproject.com/accounts/password/change/ On Fri, Jan 4, 2013 at 6:03 PM, Brandon Carl wrote: > I can't for the life of me figure out how to change the password for my Trac > account on code.djangoproject.com. Could somebody please point me in the > right direction? > > Thanks! > >

Re: Apache + mod_wsgi

2013-01-04 Thread Addy Yeow
You may want to define WSGIDaemonProcess inside your VirtualHost, see http://modwsgi.readthedocs.org/en/latest/configuration-directives/WSGIDaemonProcess.html On Fri, Jan 4, 2013 at 9:36 PM, Tsolmon Narantsogt wrote: > Hello Comrades. > I have a problem when deploying django project. I installed

DjangoCon Europe 2013 Ticket Lottery

2013-01-04 Thread Tomek Paczkowski
Hi! Organizers of DjangoCon Europe 2013 are having ticket givaway. Details here: http://blog.djangocircus.com/post/39650571271/win-a-free-ticket-in-lottery -- Tomek -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on

Re: Django won't send 500 or 404 emails, but django.core.mail.EmailMessage and django.utils.log.AdminEmailHandler work

2013-01-04 Thread nkryptic
The 404 emails are sent via the mail_managers method, which uses emails from the django.conf.settings.MANAGERS setting, as opposed to errors which go to the ADMINS. Double-check what MANAGERS (and ADMINS) is actually set to: $ python manage.py shell >>> from django.conf import settings >>> set

Apache + mod_wsgi

2013-01-04 Thread Tsolmon Narantsogt
Hello Comrades. I have a problem when deploying django project. I installed apache and mod_wsgi module and django. And i create virtual host in /etc/apache2/sites-available/mysite *content:* ServerName name ServerAdmin m...@email.com DocumentRoot /var/www/mydjangoproject/

Changing password on code.djangoproject.com?

2013-01-04 Thread Brandon Carl
I can't for the life of me figure out how to change the password for my Trac account on code.djangoproject.com. Could somebody please point me in the right direction? Thanks! -Brandon -- You received this message because you are subscribed to the Google Groups "Django users" group. To view

Re: Django admin save error: get_db_prep_value() got an unexpected keyword argument 'connection'

2013-01-04 Thread Tom Evans
On Thu, Jan 3, 2013 at 1:51 PM, Glyn Jackson wrote: > I really struggling with my understanding of the following issue and how to > resolve > > > > > > When I try and save (using the Django standard admin interface) I get the > following error... > >> T

Form Wizard: wizard_form.html

2013-01-04 Thread Tundebabzy
Hi, is there any reason why there is no form tag in wizard_form.html so I can upload a fix? I tried to use the Form Wizard for the first time today and discovered that I never got past the first page after submitting. Forensic investigations showed that nothing was getting submitted because the

Re: Django installation on Hostgator

2013-01-04 Thread Gjorge Karakabakov
Thank you all for your answers - I decided to switch the hosting service to Webfaction . They have lots of tutorials and great support. On Thursday, 3 January 2013 01:32:10 UTC+1, Gjorge Karakabakov wrote: > > Hi, I've created a Django project but c