error- A server error occurred. Please contact the administrator.

2013-03-11 Thread Avnesh Shakya
hi, I m trying to login on my site through my own site, so i have installed django-facebook, i have set setting in setting.py. Now i m trying to run server but it's showing error. plz help me.. i m unable to find out.. Thanks -- You received this message because you are subscribed to the

Is there any database ( or other ) magic going on with django properties?

2013-03-11 Thread Doug S
I'm considering using django properties on some models that are mostly tabulated numerical data. I'm want to derive some numerical scores from some of the columns of data I'm using as input. If I use properties for these derived scores, what is actually happening. Does Django put these into my m

error in installing django-facebook

2013-03-11 Thread Avnesh Shakya
i m trying to install django-facebook but it's showing error, i unable to catch it please help me. error - C:\django-facebook-5.0.2prealpha>python setup.py install No handlers could be found for logger "django_facebook" Traceback (most recent call last): File "setup.py", line 11, in from

Re: Trouble with Custom User Modle and "createsupermethod"

2013-03-11 Thread Russell Keith-Magee
On Tue, Mar 12, 2013 at 5:49 AM, Gabriel Cavalcante < gabriel.cavalcant...@gmail.com> wrote: > Hello EveryBody, > > I'm trying to implement a custom user model, using django 1.5 and the > example available at: > > > https://docs.djangoproject.com/en/dev/topics/auth/customizing/#a-full-example > >

[Django] how to debug when I send the data by POST.

2013-03-11 Thread lx
*hi: * * I'm a new one in django, I' using the django recevice the data by POST.* *for examle:* wget -v --post-file=conf.xml http://192.168.23.21:8001/time/ *this way can't show the wrong message, when I write the wrong code like this:* conf_xml = request.body root = ET.fromst

Re: Editing the RSS in the Django community feeds

2013-03-11 Thread Russell Keith-Magee
Hi Shabda, I've got hold of the server logs - the feeds are tied into a bigger framework for actually gathering the blog entries, and older feeds are resisting change :-) There are two options here: * You should be able edit the feed yourself: visit http://www.djangoproject.com/community/mine a

Trouble with Custom User Modle and "createsupermethod"

2013-03-11 Thread Gabriel Cavalcante
Hello EveryBody, I'm trying to implement a custom user model, using django 1.5 and the example available at: https://docs.djangoproject.com/en/dev/topics/auth/customizing/#a-full-example For now, I'm able to create a super user based on my custom model only if it has none of ForeignKey or M2M

Re: Django payment gateway with subscription management

2013-03-11 Thread Silviu Dicu
one suggestion: - stripe has subscription built in, you don't need to keep the data on your server. you can use stripe.js to send directly the payment info to stripe. -silviu On Tuesday, 5 March 2013 15:34:33 UTC-5, Jaimin Patel wrote: > > Hello, > > We are evaluating different payment gatewa

Re: Editing the RSS in the Django community feeds

2013-03-11 Thread Russell Keith-Magee
Hi Shabda, I took a look at this for you, but for some reason the new URL is throwing an error (on our end) when I try and update it. I'll keep digging and let you know when it's working. Yours, Russ Magee %-) On Mon, Mar 11, 2013 at 8:34 PM, Shabda Raaj wrote: > Hello, > > The Django communit

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-11 Thread Jaimin Patel
Not sure about your first questions. For right way to authenticate is solely depends on your requirement. If you don't care about who is using the data > you can turn off the data, if you want only your application users to use it > you can use DjangoAuthentication if you want minimal security

Re: Django payment gateway with subscription management

2013-03-11 Thread Jaimin Patel
Thanks Pankaj. Is there any step by step tutorial to integrate this. I tried to follow the documentation, and not sure how to integrate from this step - http://django-stripe-payments.readthedocs.org/en/latest/templatetags.html Thanks. On Wednesday, March 6, 2013 3:09:00 AM UTC-5, psjinx wrote:

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-11 Thread Silviu Dicu
Tastypie supports custom authentication. You don't have to use the api_key. I'm not sure what is the best way to do it however :) On Sunday, 10 March 2013 16:54:10 UTC-4, Pratik Mandrekar wrote: > > Hello, > > I'm trying to figure out what would be the best way to integrate django > with ember.j

Re: urls.py not loading changes

2013-03-11 Thread Asier Hernández Juanes
I found a solution! I created a file /tmp/django.pid with the PID of the UWSGI master-process, then I executed in the shell the command uwsgi-core --reload /tmp/django.pid and the UWSGI process has restarted and the urls.py changes are working now. Thanks a lot for the help! El sábado, 9 de

Re: cannot install django-tracking

2013-03-11 Thread frocco
Nevermind, duh On Monday, March 11, 2013 12:33:32 PM UTC-4, frocco wrote: > > I see there is a pull request that fixes install for 1.5 > > How do I do a pull request to get the latest version? > -- You received this message because you are subscribed to the Google Groups "Django users" group. T

Re: Problem with testing Django sources

2013-03-11 Thread C. Kirby
You didn't necessarily do anything wrong, if you mean you think you failed running the tests. The test ran and 4 of them are failing. It also looks like it missed 5 expected failures in among the 217 it skipped. If your question is why are the tests failing - you might need to reword your quest

Re: Restful User Authentication for Ember/Backbone client with Tastypie

2013-03-11 Thread Nick Apostolakis
On 10/03/2013 10:54 μμ, Pratik Mandrekar wrote: Hello, I'm trying to figure out what would be the best way to integrate django with ember.js/backbone from the user authentication point of view. I'm using Tastypie for creating RESTful resources. I have no problem creating APIs once a user has

Re: django login/registration validation error message issue

2013-03-11 Thread sri
Hi Tom, Thanks for pointing me to docs. I am able to display the error message now. But because the page is being refreshed, the drop down is not visisble at first. When i click the register button again, then i can see the error message. Is there anyway i can show the registration drop down if

Re: cannot install django-tracking

2013-03-11 Thread frocco
I see there is a pull request that fixes install for 1.5 How do I do a pull request to get the latest version? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to d

Re: Problems install/download Django 1.5

2013-03-11 Thread DJ-Tom
Fixed - downloaded from Github and installed manually... everything's fine :-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googleg

Re: How to display large data by scrolling html page using python and django?

2013-03-11 Thread Jaimin Patel
you can use - http://django-endless-pagination.readthedocs.org/en/latest/ Its easy to integrate with jQuery, Django plugin. On Monday, March 11, 2013 10:47:43 AM UTC-4, Avnesh Shakya wrote: > > ya i m trying to display data from database on html page, but it's > showing 20-25 rows of data from

Re: Problems install/download Django 1.5

2013-03-11 Thread Thiago Avelino
Recomend download https://github.com/django/django/tree/1.5 Cheers, Thiago Avelino On Mon, Mar 11, 2013 at 12:19 PM, DJ-Tom wrote: > Hi, > > I'm trying to get the new Django release, but the download of the .tar.gz > file stops with errors: > * > * > * Downloading from URL > http://pypi.py

Problems install/download Django 1.5

2013-03-11 Thread DJ-Tom
Hi, I'm trying to get the new Django release, but the download of the .tar.gz file stops with errors: * * * Downloading from URL http://pypi.python.org/packages/source/D/Django/Django-1.5.tar.gz#md5=fac09e1e0f11bb83bb187d652a9be967 * *Exception:* *Traceback (most recent call last):* * File "D:

Re: How to display large data by scrolling html page using python and django?

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 2:47 PM, Avnesh Shakya wrote: > ya i m trying to display data from database on html page, but it's showing > 20-25 rows of data from database..Actually i want to display 25 rows of data > after that i want show 25 rows of data,that time last 20 rows should be > flushed by

Re: How to display large data by scrolling html page using python and django?

2013-03-11 Thread Avnesh Shakya
ya i m trying to display data from database on html page, but it's showing 20-25 rows of data from database..Actually i want to display 25 rows of data after that i want show 25 rows of data,that time last 20 rows should be flushed by scrolling and it should be repeat again-2 thanks On Mo

Re: django login/registration validation error message issue

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 1:28 PM, sri wrote: > Hi, > > I am relatively new to Django and trying to create a Django application > using 1.5 and created a pop up modal login and registration form using > twitter bootstrap. The example i used to create the drop down > login/registration form > ishttp:

Re: Upgrade to 1.5 issues

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 2:21 PM, Tom Evans wrote: > On Mon, Mar 11, 2013 at 2:00 PM, jayhalleaux wrote: Any ideas on question 1? how to use named urls in settings.py? >> > > The problem with having named URLs in settings.py (also some other > places, models.py for instance) is that at this p

Re: How to display large data by scrolling html page using python and django?

2013-03-11 Thread Jaimin Patel
What control you are using to display? What do you mean by you want to show all data using scrolling? Is your query restricting top 20 records only, and you want to override that to get more? On Monday, March 11, 2013 12:41:05 AM UTC-4, Avnesh Shakya wrote: > > hi, > i have stored data in d

Re: Upgrade to 1.5 issues

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 2:00 PM, jayhalleaux wrote: >>> Any ideas on question 1? how to use named urls in settings.py? > The problem with having named URLs in settings.py (also some other places, models.py for instance) is that at this point, the URL resolving architecture has not yet been comple

Testing multilingual site

2013-03-11 Thread galgal
I'm making a test for a model which has a field with language. How can I switch, using Client(), languages to test actions on various languages? -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving e

Re: python

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 1:05 PM, Bill Freeman wrote: > I wouldn't call that "compiling", but it is a step that many people take in > order to make it slightly more convenient to run. > > While "compiling" does happen, it is done automatically as a side effect of > running the program. > > You are

Re: python

2013-03-11 Thread shar100101
"Python automatically compiles Python source code when you import a module". Or you can use compileall module to compile all modules. see: http://effbot.org/zone/python-compile.htm понедељак, 11. март 2013. 13.15.25 UTC+1, Harjot Mann је написао/ла: > > anyone knows how to compile a python progra

Re: Upgrade to 1.5 issues

2013-03-11 Thread jayhalleaux
> > Any ideas on question 1? how to use named urls in settings.py? > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com

Re: python

2013-03-11 Thread Harjot Mann
ok thanks On Mon, Mar 11, 2013 at 6:35 PM, Bill Freeman wrote: > I wouldn't call that "compiling", but it is a step that many people take > in order to make it slightly more convenient to run. > > While "compiling" does happen, it is done automatically as a side effect > of running the program

django login/registration validation error message issue

2013-03-11 Thread sri
Hi, I am relatively new to Django and trying to create a Django application using 1.5 and created a pop up modal login and registration form using twitter bootstrap. The example i used to create the drop down login/registration form is http://mifsud.me/adding-dropdown-login-form-bootstraps-na

Re: python

2013-03-11 Thread Bill Freeman
I wouldn't call that "compiling", but it is a step that many people take in order to make it slightly more convenient to run. While "compiling" does happen, it is done automatically as a side effect of running the program. You are apparently not on Windows, since you have a chmod command. You ca

Re: Fwd: Delivery Status Notification (Failure)

2013-03-11 Thread Nick Dokos
jesmine chaudhuri wrote: > Hello, > > I am new in Python and Django. This is my first test project following the > site : > > https://docs.djangoproject.com/en/1.3/intro/tutorial01/ > > I am using database MySQL. > > I configured in > > INSTALLED_APPS = ( >     'django.contrib.auth', >     '

Re: cannot install django-tracking

2013-03-11 Thread frocco
Thanks, I guess it is a 1.5 problem. On Monday, March 11, 2013 8:34:31 AM UTC-4, Nick Dokos wrote: > > frocco > wrote: > > > Hello, > > > > I am getting > > django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, > but settings are not > > configured. You must either define th

Re: Delivery Status Notification (Failure)

2013-03-11 Thread abhijeet shete
Hi Jasmine, First if you are asking about the same question then continue in same thread don't start with new thread every time. How you created app using django's startapp command or manually ? Normally if apps folder doesn't contain __init__.py file then it gives this error while execut

Re: cannot install django-tracking

2013-03-11 Thread Nick Dokos
frocco wrote: > Hello, > > I am getting > django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but > settings are not > configured. You must either define the environment variable > DJANGO_SETTINGS_MODULE or call > settings.configure() before accessing settings. > > trying p

Editing the RSS in the Django community feeds

2013-03-11 Thread Shabda Raaj
Hello, The Django community RSS feeds has a form to add new RSS: https://www.djangoproject.com/community/add/blogs/ We have our RSS added in this from way back. However sometime we write about non-django stuff, which is not relevant in this feed. I would like to update this to our Django only

Re: Errors in my first django app

2013-03-11 Thread frocco
Do you have polls defined in your INSTALLED_APPS? INSTALLED_APPS ( 'polls', ) On Monday, March 11, 2013 8:03:13 AM UTC-4, jesmine chaudhuri wrote: > > Error: App with label polls could not be found. Are you sure your > INSTALLED_APPS setting is correct? > > > The app is in django 1.3 projec

cannot install django-tracking

2013-03-11 Thread frocco
Hello, I am getting django.core.exceptions.ImproperlyConfigured: Requested setting CACHES, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings. trying pip install django-tracking Does th

python

2013-03-11 Thread Harjot Mann
anyone knows how to compile a python program??? im doing it as chmod +x filename.py ./filename.py??? Am i right??/ thanks in advance -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from i

Fwd: Delivery Status Notification (Failure)

2013-03-11 Thread jesmine chaudhuri
Hello, I am new in Python and Django. This is my first test project following the site : https://docs.djangoproject.com/en/1.3/intro/tutorial01/ I am using database MySQL. I configured in INSTALLED_APPS = ( 'django.contrib.auth', 'django.contrib.contenttypes', 'django.contrib.sessi

Re: Template inheritance

2013-03-11 Thread Tomas Ehrlich
This approach is more flexible. It's easier to override template than override view. You can still put your "context variable" logic there, if you want. Take Django admin as example. You can customize it quiet easily when you override/subclass templates. If you want to customize view, you have to

Re: Errors in my first django app

2013-03-11 Thread abhijeet shete
Hi Jasmin, Looks like you haven't added your app 'polls' in 'settings.py' under INSTALLED_APPS. Check whether you added your app or not. If not add it. On Mon, Mar 11, 2013 at 5:33 PM, jesmine chaudhuri < jesminechaudhur...@gmail.com> wrote: > Error: App with label polls could not be found.

Errors in my first django app

2013-03-11 Thread jesmine chaudhuri
Error: App with label polls could not be found. Are you sure your INSTALLED_APPS setting is correct? The app is in django 1.3 project and mysql. I am new in Django and Python. Please anyone help me. Thanks in advance. Jesmine C -- You received this message because you are subscribed to t

Re: Template inheritance

2013-03-11 Thread Tom Evans
On Sat, Mar 9, 2013 at 10:28 AM, Tomas Ehrlich wrote: > Hi Nenad, > you can wrap your meta-refresh line in another block and then delete > it's content in templates which shouldn't be refreshed. > > # base_site.html > {% block extrahead %} > {% block extrahead-refresh %} > > {% en

Re: Template inheritance

2013-03-11 Thread Tom Evans
On Sat, Mar 9, 2013 at 9:41 AM, Nenad Cikic wrote: > Hello, > I am using django admin for my project so I am not writing much templates by > myself, therefore I am not very skilled with them, so excuse me if I ask > dumb question. > I have extended base_site.html to add browser refresh in block ex

Re: Error: App with label world could not be found. Are you sure your INSTALLED_APPS setting is correct?

2013-03-11 Thread abhijeet shete
Hi Jasmin, Looks like you haven't added your app 'polls' in 'settings.py' under INSTALLED_APPS. Check whether you added your app or not. If not add it. Regards. Abhijeet On Mon, Mar 11, 2013 at 5:05 PM, jesmine chaudhuri < jesminechaudhur...@gmail.com> wrote: > Error: App with label polls

Re: Error: App with label world could not be found. Are you sure your INSTALLED_APPS setting is correct?

2013-03-11 Thread Tom Evans
On Mon, Mar 11, 2013 at 11:35 AM, jesmine chaudhuri wrote: > Error: App with label polls could not be found. Are you sure your > INSTALLED_APPS setting is correct? in django 1.3 project and mysql. > > I am new in Django and Python. Please anyone help me. > > Thanks in advance. > > Jesmine C > Ple

Re: Error: App with label world could not be found. Are you sure your INSTALLED_APPS setting is correct?

2013-03-11 Thread jesmine chaudhuri
Error: App with label polls could not be found. Are you sure your INSTALLED_APPS setting is correct? in django 1.3 project and mysql. I am new in Django and Python. Please anyone help me. Thanks in advance. Jesmine C > -- You received this message because you are subscribed to the Google Gr

Re: Survey : Theme for Django admin interface

2013-03-11 Thread Derek
On Monday, 11 March 2013 06:05:46 UTC+2, Venkatraman.S. wrote: > > > On Mon, Mar 11, 2013 at 3:49 AM, Emiliano Dalla Verde Marcozzi < > ed...@fedoraproject.org > wrote: > >> >> I was looking for this, but didnt find anything. i think it can have a >> great market, something like >> this web: >>