@Tim Sawyer..
If i make use of FLOT , is it necessary to need to
convert my model to numeric values, mapping the ticks and adding the
labels manually.>??
If yes!! How can i do that?
On Mon, Jun 11, 2012 at 11:38 AM, Tanveer Ali Sha wrote:
>
> Thank you Kenneth for yo
Hi ,
I am using trying to install and use django on windows xp and i am using
git bash as command line. When i try using
"django-admin.py startproject mysite" command i get an error, __init__.py
line 54. except ImportError,e
Syntax Error: Invalid Syntax
I am very new to django and python. P
Hi,
I am new to python and django. I have install django and trying to create a
new project. When i run the command "django-admin.py startproject mysite",
i get an error.
the error is :
Tracebback(most recent call last):
File "./django-admin.py", line 2, in
from django.core import managemen
Hi,
I have bought a hosting service and trying to deploy the django
application.I ssh to the hosting linux server and have installed
django and everything working fine.
Now I want to deploy in the production. But I do not have access to
the httpd.
Any suggestion how handle this. Any suggestion
Here is a link I found with some insight
http://www.codekoala.com/blog/2008/installing-django-shared-hosting-site5/
On Wed, Jun 13, 2012 at 1:28 AM, ruma wrote:
> Hi,
>
> I have bought a hosting service and trying to deploy the django
> application.I ssh to the hosting linux server and have ins
--error--
Reverse for 'polls.views.results' with arguments '(2L,)' and keyword
arguments '{}' not found.Request Method: POST
Request URL: http://127.0.0.1:8000/polls/2/vote/
Django Version: 1.5
Exception Type: NoReverseMatch
Exception Value: Reverse for '
Hello,
It appears that you are trying to use Python 3. Django doesn't works
with Python 3, so you must install Python 2.7 instead.
Reinstall the Python version to Python 2.7. It must fix your problem.
Regards,
Renne
On Wed, Jun 13, 2012 at 4:20 AM, Manish wrote:
> Hi,
>
> I am new t
Thanks, here's what I came up with:
In the model:
class RowidField(models.CharField):
def __init__(self, *args, **kwargs):
kwargs['name'] = 'rowid'
kwargs['max_length'] = 18
kwargs['primary_key'] = True
super(RowidField, self
On Wednesday, 13 June 2012 06:07:19 UTC+1, Manish wrote:
>
> Hi ,
>
> I am using trying to install and use django on windows xp and i am using
> git bash as command line. When i try using
> "django-admin.py startproject mysite" command i get an error, __init__.py
> line 54. except ImportError
Okay, this time I've been reviewing the Stackato PaaS.
http://www.activestate.com/stackato
Has anyone else here had experiences using this in production to host
Django apps? The demo video they made was cute, the management interface
seems to be spot on (from the screenshots at least), and the co
Hi Ada
Facebook Development is kind of complicated. You have to be familiar
first with the Facebook Graph API [1]. Our repository
django-facebook-graph mainly helps you to add facebook functionality
to your django app, if you understood how facebook development in
general works. Try to go through
Hi Russ,
I have done as you suggested and the solution (If I didn't mess things
up) was actually quite simple indeed.
We are using pyodbc and django-pyodbc. I have submitted my change to
the django-pyodbc guys, for them to have a look.
If they actually implement this it will be my first contribut
Hello everyone,
I'm having a issue with template_context_processors requests and views that
do not use the context processors, i.e. in a render_to_response without use
of RequestContext.
For example, in my TEMPLATE_CONTEXT_PROCESSORS, as default, I have a
"django.contrib.auth.context_processors.a
I recreated the database and still get the same error when executing a
simple "syncdb".
Tried to change the database connection to sqlite and now I got the
error that the sqlite3 module isn't installed... I think my installation
is messed up.
On Tue, Jun 12, 2012 at 7:29 PM, Daniel França w
Si, a mi me pasó algo similar y era por la versión de python, actualmente
Django solo es compatible con python 2.7.
Saludos,
El miércoles, 13 de junio de 2012 06:34:19 UTC-5, Renne Rocha escribió:
>
> Hello,
>
> It appears that you are trying to use Python 3. Django doesn't works
> with Pyt
from django.db import connection, DatabaseError
try:
..
except DatabaseError:
connection._rollback()
On Wed, Jun 13, 2012 at 5:49 PM, Daniel França wrote:
> I recreated the database and still get the same error when executing a
> simple "syncdb".
>
> Tried to change the database connecti
I'm working on a desktop app that will communicate with a server. I have
some experience with Django and with the user authentication system but I
haven't deployed a Django app with authentication yet. I'm planning to use
django for the server side component of this desktop app and the two wil
OK, my suggestion in this case is to enable logging at the database
level, since your system is down anyway. That way you can at least see
what statement it's crashing on.
On 6/12/12 4:29 PM, Daniel França wrote:
More information:
I'd put a break point just before the crash
then I've tested
I wouldn't authenticate on every request. That seems like a lot
of unnecessary work. Just authenticate once and use Cookies/Authentication
Tokens to sustain the session. It's already built in so it's pretty easy to
do. They even have a code snippet that shows how to use a special HTTP
Header to kee
I agree; go with sessions. However, if you don't want to implement
cookie handling in your desktop app, they don't have to be cookie-based
sessions. If you write your own authentication backend
(https://docs.djangoproject.com/en/dev/topics/auth/#writing-an-authentication-backend)
you could, for exa
Sorry, I should have said you could write your own authentication
/middleware/
(https://docs.djangoproject.com/en/1.4/topics/http/middleware/), not
your own authentication backend (since I assume you're still using the
standard username/password login). Just implement process_request(),
look for th
Guys,
I solved. It's django-debug-toolbar fault. It's does double requests and
loads all the context processor :(
Thanx
2012/6/13 Ricardo L. Dani
> Hello everyone,
>
> I'm having a issue with template_context_processors requests and views
> that do not use the context processors, i.e. in a ren
On Wednesday, June 13, 2012 5:48:07 AM UTC-6, rahajiyev wrote:
>
> DatabaseError at /
>
> ORA-01446: cannot select ROWID from, or sample, a view with DISTINCT, GROUP
> BY, etc.
>
>
> Unfortunately Django doesn't show the precise statement that caused the
> error.
>
The query it generates is:
S
If you want to see an example, I have a Django app that sends json to both
an andriod app and a desktop app written in C
Django App: http://github.com/KevinAnthony/rchip_website
Desktop App: http://github.com/KevinAnthony/rchip
Android App: http://github.com/KevinAnthony/rchip_android
On Jun 1
Hola,
I just watched a video from last year about modifying the Django Admin
interface. I was wondering if people recommend any particular app?
Grappelli and django-admin-tools are both still being developed. Are
there any others and if you prefer one, why?
Am thinking especially in terms of han
hello,
i wish to display the image into the browser through a template . I
used the following code to retrieve the image from Disk and send that
data to Html file
def my_image(request):
image_data = open("/home/toor/Desktop/certificate/logo.png", "rb").read()
return render_to_response('my
Hello.
I need a bit help with my code.
I write a function for menu building, which should create a list of
objects, for designing it in html code.
Code of function below:
> def BuildList(categories):
> list = []
> for category in categories:
> if len(category.childrens.all()):
>
27 matches
Mail list logo