ANN: Mezzanine 1.3 and Cartridge 0.7 released

2012-12-25 Thread Stephen McDonald
Hi all, I'm really pleased to announce the releases of Mezzanine 1.3 and Cartridge 0.7. Mezzanine is a BSD licensed CMS framework for Django, and Cartridge is its companion project that provides e-commerce support for Mezzanine. It's been almost 5 months since 1.2 and 0.6 were released, which is o

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread Ryan Blunden
I would say stay away using PyCharm to manage your Django application until you're more experienced. Learn to manage your app purely through the command line first. On Tuesday, December 25, 2012 9:28:15 AM UTC-8, Victor Rocha wrote: > > Your welcome! Merry Christmas > > > > On Tue, Dec 25, 2012

Re: Static Files

2012-12-25 Thread chdong xu
sorry, should set STATICFILES_DIRS not STATIC_DIR. thanks! 2012/12/26 chdong xu > 1. if you save the white.png in the directory "/tmp/", and you set > STATIC_DIR=("/tmp/",) > 2. get http://localhost:8000/static/white.png > good luck! > > > 2012/12/26 syed tariq > >> I am not getting static fil

Re: Static Files

2012-12-25 Thread chdong xu
1. if you save the white.png in the directory "/tmp/", and you set STATIC_DIR=("/tmp/",) 2. get http://localhost:8000/static/white.png good luck! 2012/12/26 syed tariq > I am not getting static files served. I get messages: > GET http://localhost:8000/white.png 404 (Not Found) > > (1) which dir

Static Files

2012-12-25 Thread syed tariq
I am not getting static files served. I get messages: GET http://localhost:8000/white.png 404 (Not Found) (1) which directory should I place white.png? (2) Do I need to set the STATIC_DIR parameter in settings.py? -- You received this message because you are subscribed to the Google Groups "Dja

Re: Django 1.4 Development Workflow Using Static Files

2012-12-25 Thread Avraham Serour
Maybe you can just upload the files directly to the collect static folder on the server In any case maybe you want them under version control, so I guess you could just automate all these steps with fabric On Dec 26, 2012 1:00 AM, "huw_at1" wrote: > Hi again, > > Another quick question. I'm stil

Django 1.4 Development Workflow Using Static Files

2012-12-25 Thread huw_at1
Hi again, Another quick question. I'm still getting used to 1.4 and I've been setting up a remote static file service for the production deployment of my web app. This works just great however it seems a little cumbersome when developing if I want to add fresh image content I have to add it to

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread Victor Rocha
Would you please describe all you have to do to resolve it, in case someone else stumbles upon the same issue? Thank you, Victor Rocha RochApps On Tue, Dec 25, 2012 at 5:51 PM, huw_at1 wrote: > [RESOLVED] > > > On Tuesday, 25 December 2012 17:28:15 UTC, Victor Rocha wrote: > >> Your welcome! M

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread huw_at1
[RESOLVED] On Tuesday, 25 December 2012 17:28:15 UTC, Victor Rocha wrote: > > Your welcome! Merry Christmas > > > > On Tue, Dec 25, 2012 at 12:25 PM, huw_at1 > > wrote: > >> Hiya - sorry yeah I pasted the wrong manage.py file initially. It should >> have been the test.settings manage.py. >> >> I

Re: Append [RESOLVED] to your post subject if you got to a working solution

2012-12-25 Thread Avraham Serour
like I said, one could post "RESOLVED" on the first line on a conclusion post, this way it would pop up on search results. it is not an ideal solution like having it in the subject like forums use these days but it is the workaround that comes to my mind. my hope is that other people can give their

Re: Append [RESOLVED] to your post subject if you got to a working solution

2012-12-25 Thread Ryan Blunden
True, it will break the thread if reading via email only. Can you propose another way that when going to the groups posts page, you can scan and see which topics require further assistance? That is the problem I'm trying to solve. On Tuesday, December 25, 2012 12:51:48 AM UTC-8, אברהם סרור wro

Code guidance please review.

2012-12-25 Thread Glyn Jackson
Hi, I'm new to Django and just need some guidance. Below is my attempt at creating a simple app that displays all transactions and lists the grand total called 'points' for a particular user. Now the following works and does just that, however, I'm not 100% if this is the 'correct' way nor rea

Re: ImportError at/ No module name

2012-12-25 Thread donarb
On Tuesday, December 25, 2012 4:29:22 AM UTC-8, djangobie wrote: > > I appreciate your response. > The __init__.py is there in the app folder (yes, I created the app via > manage.py). > It ran perfectly on initial attempts, but with new code added, I got > stuck. My so far conclusion (though, not

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread Victor Rocha
Your welcome! Merry Christmas On Tue, Dec 25, 2012 at 12:25 PM, huw_at1 wrote: > Hiya - sorry yeah I pasted the wrong manage.py file initially. It should > have been the test.settings manage.py. > > I figured it out partially anyway - I needed to change the project > directory setting in the I

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread huw_at1
Hiya - sorry yeah I pasted the wrong manage.py file initially. It should have been the test.settings manage.py. I figured it out partially anyway - I needed to change the project directory setting in the IDE as you said. Thanks for the help. On Tuesday, December 25, 2012 5:14:03 PM UTC, Victor

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread Victor Rocha
I don't think I can be of more help. Hopefully someone with experience with PyCharm can chime in. This is probably not what you want to hear but ditch windows, ditch pycharm use windows and vim or at least gedit. One last comment, in your manage.py file i can see this 'pkadata.settings'; i didnt s

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread huw_at1
Hi, manage.py is show below: #!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "test.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv) I think you may be

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread huw_at1
Hi, manage.py contents below: #!/usr/bin/env python import os import sys if __name__ == "__main__": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "pkadata.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv) I think you may

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread Victor Rocha
I don't have much experience using PyCharm, however from I can understand, your issues may be alleviated by adding a ___init__.py file at the same level as your manage.py file. Can you set which dir is the project's root dir? can you show me the content of your manage.py file? I am still concern a

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread huw_at1
Hi, This project was created using django 1.4. The structure is as follows: /home | --/huw_at1 | ---/TEST | -/test-/test-settings.py

Django-allauth: ImproperlyConfigured at /accounts/login/ No Facebook app configured: please add a SocialApp using the Django admin

2012-12-25 Thread Gabriel - Iulian Dumbrava
Hi Manu, Enter the admin and at allauth -> apps add a new application of type "Facebook" with your FB credentials. You have added a facebook login in settings.py but such a login type is not yet defined in admin. I hope this helps! Gabriel -- You received this message because you are subscr

Django doesn't serve staticfiles

2012-12-25 Thread Oliver Schmidt
I use the django-less app to compile lesscss files to css. The compiled files are cached and stored into the folder LESS_CACHE in my staticfiles folder. And these files aren't served (404) while evrything else (other static files) are served. I use the dajngo development server. My project: https

Re: Django 1.4 manage.py cannot find settings

2012-12-25 Thread Victor Rocha
Hi, I would like to ask you to post a snapshot of your dir structure. In the mean time, I am going to give you some pointers that you could consider. Is the an app you converted to django 1.4 or did you created your app from scratch(using 1.4 from the beginning)? If you converted you app your

Django 1.4 manage.py cannot find settings

2012-12-25 Thread huw_at1
Hi, This has probably been asked a million times before so apologies. I'm new to 1.4 so the standard project layout is a little unfamiliar. I'm trying to perform a simple import from within my shell: from django.contrib.sites.models import Site However I am constantly getting the problem that

Re: ImportError at/ No module name

2012-12-25 Thread djangobie
I appreciate your response. The __init__.py is there in the app folder (yes, I created the app via manage.py). It ran perfectly on initial attempts, but with new code added, I got stuck. My so far conclusion (though, not helping at all) is may be I have set some kind 'circular loop' here, while

Re: django ratings problem

2012-12-25 Thread sri
Hi, the issue has been resolved now. The primary key for my model was a CharField and it was giving error because of that. Once i changed my primary key to an IntergerField, it all worked fine. https://github.com/dcramer/django-ratings/issues/14 Thanks On Tuesday, 25 December 2012 06:27:14 UTC

Re: Very Odd Query problem

2012-12-25 Thread Sergiy Khohlov
please provide next output from mysql select * from view_usercontactemail where id in (2,3) Many thanks, Serge +380 636150445 skype: skhohlov 2012/12/23 Gerald Klein : > Hi all, I have a custom model mapped to a view, a join between a UserContact > model which carries contacts for users and

Re: Append [RESOLVED] to your post subject if you got to a working solution

2012-12-25 Thread Avraham Serour
I oppose adding [RESOLVED] to the subject, this means changing the subject to a complete different string and detaching it from the thread. not sure how this would work for google groups, but many people (me included) read on gmail, it happened to me not long ago (can't remember which mailing list