Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread djangobie
I appreciate your response. I have good idea of 'virtualenv', an indespinsble tool. What I am basically trying to do here is, to have a strong grasp over how Nginx behave, once I'll have it 'll definitely move forward to next step (using it in combination). -I have installed Nginx (configured),

Re: dynamic, heterogeneous formset?

2012-12-27 Thread Mario Gudelj
Try django app called web forms builder. If you want to allow user to create custom fields i think that would be the way to go. On 28 Dec, 2012 10:29 AM, "Marco G." wrote: > Hello, > > I've just started using django for a relatively complex project, used > other frameworks in the past. > > I need

Re: Is their an easy way to implement an ordered list of, say, urls in Django

2012-12-27 Thread Kevin Monceaux
On Sat, Dec 22, 2012 at 05:22:05PM -0800, Doug S wrote: > I want to store an ordered list of items in my models > and allow insertions and appending to the end of the list. I've been using Django Positions for handling ordered lists: https://github.com/jpwatts/django-positions/ It seems to

Re: no Polls in the admin page

2012-12-27 Thread Ryan Blunden
Awesome! Glad you got it solved. On 27/12/2012, at 11:43 AM, Kelketek Titikilik Rritaa wrote: > I found the issue. The issue appears to be in a template override for > the Admin app that the upstream provider added. When this was moved > out of the way, the standard template was loaded, and po

dynamic, heterogeneous formset?

2012-12-27 Thread Marco G.
Hello, I've just started using django for a relatively complex project, used other frameworks in the past. I need to create an interface where the user can create an ordered list of elements, each element with different properties. An example could be a page to build a questionnaire, where the

Re: Problem at activating the admin site (Django tutorial part 2)

2012-12-27 Thread Jesse Lopez
I have the same problem with the tutorial. I went through the first part twice to ensure that I hadn't erred along the way. I did nothing more than follow the tutorial https://docs.djangoproject.com/en/1.4/intro/tutorial01/ unlike the ticket posted above. For context: django-1.4.3 python-2.7.

Re: no Polls in the admin page

2012-12-27 Thread Kelketek Titikilik Rritaa
I found the issue. The issue appears to be in a template override for the Admin app that the upstream provider added. When this was moved out of the way, the standard template was loaded, and polls showed up. On Thu, Dec 27, 2012 at 1:06 PM, Ryan Blunden wrote: > I'm not aware of any upstream app

Re: no Polls in the admin page

2012-12-27 Thread Ryan Blunden
I'm not aware of any upstream apps 'masking' the display of other apps in the admin root page but I would try to disable all other third party (non-Django contrib) apps and see if that changes the result. On 27/12/2012, at 6:46 AM, Kelketek Rritaa wrote: > I'd been trying several things to see

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread Dan Richards
Yes indeed! That was it. I am following a tutorial for getting things running on a Heroku platform and that seems to be something special for that environment. Thank you!! On Thursday, December 27, 2012 12:52:57 PM UTC-5, donarb wrote: > > On Thursday, December 27, 2012 8:51:11 AM UTC-8, Dan

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread Nikolas Stevenson-Molnar
Here's a Django-specific doc for FastCGI configuration with Nginx: http://wiki.nginx.org/DjangoFastCGI Though again: Gunicorn will make your life easier. There's a reason that most of the tutorials you've found use these extra components. _Nik On 12/27/2012 10:28 AM, Nikolas Stevenson-Molnar wro

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread Nikolas Stevenson-Molnar
These two documents should get you what you need: 1) Django deployment via FastCGI: https://docs.djangoproject.com/en/dev/howto/deployment/fastcgi/ (scroll down a bit to the 'runfcgi' manage.py command). 2) Nginx FastCGI example configuration: http://wiki.nginx.org/FcgiExample That shouldn't have

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread donarb
On Thursday, December 27, 2012 8:51:11 AM UTC-8, Dan Richards wrote: > > Yeah, psycopg2 is definitely installed... > I noticed that you are using djcelery (which I know nothing about), but have you tried getting everything working without it first? There's a line in your settings that says DATA

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread donarb
On Thursday, December 27, 2012 8:51:11 AM UTC-8, Dan Richards wrote: > > Yeah, psycopg2 is definitely installed... > > On Thursday, December 27, 2012 9:03:31 AM UTC-5, ke1g wrote: >> >> >> >> On Thu, Dec 27, 2012 at 8:26 AM, Dan Richards wrote: >> >>> Hmmm...well that isn't working either - same

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread Bill Freeman
On Thu, Dec 27, 2012 at 11:51 AM, Dan Richards wrote: > Yeah, psycopg2 is definitely installed... > It sounds like it may be time to insert: import pdb;pdb.set_trace() at the point where the exception gets raised. Looking at variables that it doesn't like, and looking up the stack frame f

Re: Minimilisticaly: Deploying Django using Nginx on Ubuntu 12.10

2012-12-27 Thread donarb
On Wednesday, December 26, 2012 11:26:12 PM UTC-8, djangobie wrote: > > Hi all, > I am trying to deploy my Django project using Nginx, tried various > tutorials. All of them are filled bunch of dependencies and requirements. > Here I am looking forward to a simple (in sure way minimilistic), p

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread Dan Richards
Yeah, psycopg2 is definitely installed... On Thursday, December 27, 2012 9:03:31 AM UTC-5, ke1g wrote: > > > > On Thu, Dec 27, 2012 at 8:26 AM, Dan Richards > > wrote: > >> Hmmm...well that isn't working either - same error. My method for >> verifying it's picking up the right settings.py is by

Re: no Polls in the admin page

2012-12-27 Thread Kelketek Rritaa
I'd been trying several things to see if they'd work, so I went with the absolute minimum that /should/ work: from polls.models import Poll from django.contrib import admin admin.site.register(Poll) Putting in the code you've given me does not work either. HOWEVER, yesterday I was poking around

Re: File/Code Structure

2012-12-27 Thread Jonathan
You're welcome, Omar. It sounds like you beat me to the punch with inclusion tags! I can't provide an "official" answer on the topic, but I do this very practice on all of my projects. As long as the logic is contained within the appropriate app, I have no problem importing a templatetag at that la

Re: Access denied for user

2012-12-27 Thread El sayed Gamal
You need to change your mysql database configurations, that's is it. On Thursday, December 27, 2012 3:45:58 PM UTC+2, Sanket Garg wrote: > > i m trying to follow the following guide > > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > but i m getting error > ERROR 1045 (28000): Access d

Django-haystack search keyword support international characters like ö å

2012-12-27 Thread Manikandan Murugappan
I am trying for International characters using Django-haystack as i am new to django.. Can anyone help this one for me.. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/d

Re: Access denied for user

2012-12-27 Thread Ankush
the database that you are trying to access, is the user name Sanket for it? for example - if its mysql mysql -u Sanket are you able to login using it? On Thu, Dec 27, 2012 at 8:45 AM, Sanket Garg wrote: > i m trying to follow the following guide > > https://docs.djangoproject.com/en/1.3/intro

Access denied for user

2012-12-27 Thread Sanket Garg
i m trying to follow the following guide https://docs.djangoproject.com/en/1.3/intro/tutorial01/ but i m getting error ERROR 1045 (28000): Access denied for user 'Sanket'@'localhost' (using password: YES) do i need to login in as superuser or something? i m stuck :/ -- You received this messa

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread Bill Freeman
On Thu, Dec 27, 2012 at 8:26 AM, Dan Richards wrote: > Hmmm...well that isn't working either - same error. My method for > verifying it's picking up the right settings.py is by putting a syntax > error in the settings.py it should be using and seeing that it generates an > error. This is the se

Re: Using django-profiles app twice in one project.

2012-12-27 Thread Bill Freeman
On Thu, Dec 27, 2012 at 12:51 AM, Mark Shervey wrote: > I'm trying to use three different instances of the django-profiles app in > one project (developed here: > https://bitbucket.org/ubernostrum/django-profiles). I can make the whole > thing work fine with one instance, but when I create the th

Actions after logout

2012-12-27 Thread 4 The good Life we work
Hallo, I would like to delete certain data + login data after logout. I have a process in place and would like to delete the data inserted if the process is not followed to the last step. Thanks for your support, Michael -- You received this message because you are subscribed to the Google Gro

Re: Serving static files: Tried 3 ways with no luck

2012-12-27 Thread Jani Tiainen
27.12.2012 5:03, warsam...@gmail.com kirjoitti: I am having an unbelievable time getting my new django application to servie static files, i have read the django documentation but it seems as there isn't one consistent way to serve static files while in development using the Django server. In or

Re: debugging issues with settings.py and database (postgres) and syncdb

2012-12-27 Thread Dan Richards
Hmmm...well that isn't working either - same error. My method for verifying it's picking up the right settings.py is by putting a syntax error in the settings.py it should be using and seeing that it generates an error. This is the settings.py file in the directory below my app directory and

Re: Serving static files: Tried 3 ways with no luck

2012-12-27 Thread Dylan Tuominen
Yes make sure your STATICFILES_DIRS setting is pointing to the exact location you want to put them in, and then make sure all of the needed files are indeed being collected by manage.py collectstatic. after that, assuming your static_url is set to /static/, you should have no problems referenci

Using django-profiles app twice in one project.

2012-12-27 Thread Mark Shervey
I'm trying to use three different instances of the django-profiles app in one project (developed here: https://bitbucket.org/ubernostrum/django-profiles). I can make the whole thing work fine with one instance, but when I create the three different instances with different names, I get this er

Re: File/Code Structure

2012-12-27 Thread Omar Abou Mrad
On Wed, Dec 26, 2012 at 6:07 PM, Jonathan wrote: > I think you've got the right idea with regard to structure and > separation of concerns, and my next step would be to write 'recent polls' > as an inclusion tag so that it can be reused on various templates that > aren't necessarily directly conc