Re: error in image display

2013-02-20 Thread Avnesh Shakya
thanks all i have got my error... i was not creating a folder in photos that's why it generates error and url problem i have set it and now it's work fine thanks On Thu, Feb 21, 2013 at 11:01 AM, Avnesh Shakya wrote: > i have created a model for image and added in admin. It's uploading images

error in image display

2013-02-20 Thread Avnesh Shakya
i have created a model for image and added in admin. It's uploading images fine but when i m trying to display it's generating error this Using the URLconf defined in chh.urls, Django tried these URL patterns, in this order: 1. ^admin/ The current URL, photos/photos/DSCN0811.JPG, didn'

Invitation to use Google Talk

2013-02-20 Thread Google Talk
--- You've been invited by laxmikant ratnaparkhi to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-bd360e262c-f7db62e733-yizsH1IbPxwwX-9_22B1lA

Invitation to use Google Talk

2013-02-20 Thread Google Talk
--- You've been invited by laxmikant ratnaparkhi to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-bd360e262c-ae40f12551-d-Wm0bMXv6yN1-uT5lTB7b

Invitation to use Google Talk

2013-02-20 Thread Google Talk
--- You've been invited by laxmikant ratnaparkhi to use Google Talk. If you already have a Google account, login to Gmail and accept this chat invitation: http://mail.google.com/mail/b-bd360e262c-cc2b8cfc82-SkrVvgXrXF0q3_s1iIOwpr

Re: Are modern django session cookies digitally signed in any way?

2013-02-20 Thread Nikolas Stevenson-Molnar
Yes Django does that as of 1.4 when you're storing session data in cookies. https://docs.djangoproject.com/en/1.4/topics/http/sessions/#using-cookie-based-sessions _Nik On 2/20/2013 5:16 PM, Toran Billups wrote: > I was talking about basic django session authentication with a > co-worker recently

Re: Are modern django session cookies digitally signed in any way?

2013-02-20 Thread Russell Keith-Magee
On Thu, Feb 21, 2013 at 9:16 AM, Toran Billups wrote: > I was talking about basic django session authentication with a co-worker > recently and the idea of "cookie tampering" came up. I know rails will > digitially sign the data in your cookie but I'm unsure of django 1.4+ > > http://alindeman.gi

Are modern django session cookies digitally signed in any way?

2013-02-20 Thread Toran Billups
I was talking about basic django session authentication with a co-worker recently and the idea of "cookie tampering" came up. I know rails will digitially sign the data in your cookie but I'm unsure of django 1.4+ http://alindeman.github.com/2013/02/18/decoding-rails-session-cookies.html Thank

Re: anybody using PhoneGap with Django

2013-02-20 Thread Ben Roberts
Current stack: *Backend*: Django Django-rest-framework with JSON-P and/or CORS enabled to allow X-domain requests from Phonegap apps. Django admin for data editing and entry. Other stuff specific to our app and/or server setup. *Front end:* Backbone.js for structure. The json from my rest-fr

Re: looking for a Django app for annual subscriptions

2013-02-20 Thread Mike Dewhirst
On 21/02/2013 12:01am, Pankaj Singh wrote: Hey Mike, As James has already mentioned about Stripe here, Thanks James - Stripe looks excellent but it is only available (currently) in north America. you should have a look at https://github.com/amccloud/django-stripe, a user subscription Djang

Re: switched to webfaction, would 600GB be an issue?

2013-02-20 Thread frocco
Adam thanks. I hope not, so far I like their service. On Wednesday, February 20, 2013 3:10:27 PM UTC-5, Adam Mesha wrote: > > Webfaction has a nice bandwidth meter in their Control Panel. You can keep > a close eye on it for a month or so to make sure you're not going over your > limit. I thin

ANNOUNCE: Django 1.4.5, 1.3.7 released, fixing packaging problems

2013-02-20 Thread Jacob Kaplan-Moss
Hi folks -- We've released two new releases today -- Django 1.4.5 and Django 1.3.7 -- that correct packaging problems in yesterday's security releases. There's no new code; just a packaging fix. For more details, see https://www.djangoproject.com/weblog/2013/feb/20/updated-releases-issued/. Sorr

Re: switched to webfaction, would 600GB be an issue?

2013-02-20 Thread Adam Mesha
Webfaction has a nice bandwidth meter in their Control Panel. You can keep a close eye on it for a month or so to make sure you're not going over your limit. I think they also make it possible to automatically upgrade your plan if you do go over. 600GB for 200 users would be 100MB per user per day

Re: switched to webfaction, would 600GB be an issue?

2013-02-20 Thread frocco
Thank you. On Wednesday, February 20, 2013 2:15:43 PM UTC-5, ke1g wrote: > > The place where I used to work deployed lots of stuff to Webfaction, and > we never had trouble with bandwidth. > > Webfaction customer support is superb. I'm sure that they can help you > keep tabs on your bandwidth

Re: Generating pdf from html using Pisa

2013-02-20 Thread Adam Stein
In myview(), you are setting "mylist" to results but I don't see results defined in myview() anywhere. On Thu, 2013-02-21 at 00:35 +0530, Satinderpal Singh wrote: > I am trying to produce pdf from html using the following code, but > unable to do so, it gives an error that, global name 'results' i

Re: Generating pdf from html using Pisa

2013-02-20 Thread Bill Freeman
The pisa pypi entry suggests that you switch to xml2pdf: https://pypi.python.org/pypi/xhtml2pdf On Wed, Feb 20, 2013 at 2:05 PM, Satinderpal Singh < satinder.goray...@gmail.com> wrote: > I am trying to produce pdf from html using the following code, but > unable to do so, it gives an error that,

Re: switched to webfaction, would 600GB be an issue?

2013-02-20 Thread Bill Freeman
The place where I used to work deployed lots of stuff to Webfaction, and we never had trouble with bandwidth. Webfaction customer support is superb. I'm sure that they can help you keep tabs on your bandwidth usage as your user base grows. One tip, if you find yourself getting close. is to make

Re: form media (css+js)

2013-02-20 Thread yakoub abaya
On Wednesday, February 20, 2013 11:51:38 AM UTC+2, Tom Evans wrote: > > On Tue, Feb 19, 2013 at 9:07 PM, yakoub abaya > > > wrote: > > i read this page : > https://docs.djangoproject.com/en/1.4/topics/forms/media > > but i don't understand how those files gets rendered into the page > templ

switched to webfaction, would 600GB be an issue?

2013-02-20 Thread frocco
Hi all, I swiched from Bluehost to webfaction and am concerned on the bandwidth cap. Bluehost was unlimited. It is a small app of about 200 users. Should I be worried? The site seems to run faster. -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: anybody using PhoneGap with Django

2013-02-20 Thread Larry Savage
Great idea! Any update on this one? On Friday, July 8, 2011 1:41:02 PM UTC-4, br wrote: > > I am currently in the middle of a project where we are planning on > using Django with PhoneGap . . . Haven't completed yet, or gotten to > the PhoneGap part of it, so can't report its success or not yet

Re: Cannot find ../django/contrib/admin/media

2013-02-20 Thread Pankaj Singh
Hey, In case it helps, I have shared my apache conf at - http://pastebin.com/bsK26gek and project tree is at - http://pastebin.com/NRTypUCi .. I generally create a local wsgi file which activates virtual env and then imports everything from wsgi.py. I generally symlink my project root to /opt/web

Re: Cannot find ../django/contrib/admin/media

2013-02-20 Thread Bill Freeman
1. modpython is deprecated, use modwsgi 2. the development server serves static media, but the production Django does not. You must configure Apache to serve STATIC_ROOT at STATIC_URL and to serve MEDIA_ROOT at MEDIA_URL, as they are specified in the settings.py file. Look for modwsgi deployment

Re: can someone rewrite this line please

2013-02-20 Thread Mark Furbee
Not sure if you need the json.large to be compiled or if that should be part of the string. The biggest issue was you had a single-quote before onmouseover. After that, you have to escape the single-quote before \',LEFT, true, OFFSETY, -250, OFFSETX, 0, WIDTH, 800)\" target=\"_blank\">'; FYI: if y

Cannot find ../django/contrib/admin/media

2013-02-20 Thread Vittorio
As a newbye I'm using django 1.4.3 under Mac OS X. Reading the tutorials (and an Italian book on django by Marco Beri), I was able to set up my app 'home' using a legacy mysql db, and play with it as admin by means of the server 'python manage.py runserver'. Nice layout indeed! I modified my apa

Re: Manually added foreign key not working.

2013-02-20 Thread C. Kirby
I strongly recommend South (http://south.aeracode.org/) for adding new fields to existing models. As far as I know it is recommended by the Django core team as well, and they are looking at moving it into Django proper. On Wednesday, February 20, 2013 6:53:39 AM UTC-6, laxglx wrote: > > Hello a

can someone rewrite this line please

2013-02-20 Thread MikeKJ
large = '',LEFT, true, OFFSETY, -250, OFFSETX, 0, WIDTH, 800)\" target=\"_blank\">'; so that is comes out of the jquery call as proper html, it needs more escaping somewhere but damned if I can see it. -- You received this message because you are subscribed to the Google Groups "Django users"

Re: No django 1.0.4 file on PYPI

2013-02-20 Thread Pankaj Singh
> > But most reading materials I could get was written for Django 1.0.x > version. Django 1.0.4 is really old and a lot has been changed in last 4-5 years. I would suggest you to get started with latest stable releases. Korean docs for Django - https://django-document-korean.readthedocs.org/en/l

Re: No django 1.0.4 file on PYPI

2013-02-20 Thread Joey Espinosa
You can always just install directly from djangoproject.com. https://www.djangoproject.com/download/1.0.4/tarball/ In fact, you can use pip to install that: pip install https://www.djangoproject.com/download/1.0.4/tarball/ If you maintain a package requirements file for your project, you can pu

Re: looking for a Django app for annual subscriptions

2013-02-20 Thread Pankaj Singh
Hey Mike, As James has already mentioned about Stripe here, you should have a look at https://github.com/amccloud/django-stripe, a user subscription Django app that integrates with Stripe. If no-one suggests anything, I'll start my own and welcome any > contributors. It would end up being open so

Re: how to create attribute for image in django models.py

2013-02-20 Thread Pankaj Singh
Hey Avnesh, You should 1. Complete Polls tutorial first - https://docs.djangoproject.com/en/dev/intro/tutorial01/ 2. walk through full documentation at https://docs.djangoproject.com/ at least once. 3. See list of open source projects in Django at https://code.djangoproject.com/

No django 1.0.4 file on PYPI

2013-02-20 Thread Kyungsoo Park
I've been studying Django with Python thesedays. But most reading materials I could get was written for Django 1.0.x version. So I tried to install Django 1.0.4 on virtualenv environment to read a old Korean Django guide book. (yes, I'm from Korea) However I found out that there is no Django 1.0.4

checkbox at each row of my table

2013-02-20 Thread fabien leboeuf
hi i am looking for a mean to generate a table render with checkbox at each row like this idnamejob [] 23rob engineer ... that's not all. I would have multi select option returning the id numbers. I am not find this multiselect option within the package django-table

Re: How to make django's mysql connections to use utf8mb4 ?

2013-02-20 Thread Love
well, emo is emo. its not an excuse, I know.. being emotional is ok. I had a pritty tuff day like you guys, I don't know who to hug. I need an expression, any sugestions? ;D 2013 m. sausio 23 d., trečiadienis 21:07:07 UTC, Chen Xu rašė: > > I saved some Emoji icons to MySQL Database,the icons ha

Re: looking for a Django app for annual subscriptions

2013-02-20 Thread James Socol
On Tuesday, February 19, 2013 10:36:49 PM UTC-5, Mike Dewhirst wrote: > > Does anyone know of an annual subscriptions application for Django? > If you aren't looking to handle all the payment processing yourself, Stripehas really good subscription/recurring support. You'd n

Re: how to create attribute for image in django models.py

2013-02-20 Thread Tom Evans
On Wed, Feb 20, 2013 at 12:36 PM, Avnesh Shakya wrote: > thanks alot plz share any small project for beginners, if u have > If you haven't done the tutorial, you should do that first. https://docs.djangoproject.com/en/1.4/intro/tutorial01/ Then you can extend the project by adding an im

Re: how to create attribute for image in django models.py

2013-02-20 Thread Avnesh Shakya
thanks alot plz share any small project for beginners, if u have On Wed, Feb 20, 2013 at 6:02 PM, Tom Evans wrote: > On Wed, Feb 20, 2013 at 12:26 PM, Avnesh Shakya > wrote: > > plz help me... i want to store image in database using model,how is it > > possible...? > > > > https://d

Re: how to create attribute for image in django models.py

2013-02-20 Thread Tom Evans
On Wed, Feb 20, 2013 at 12:26 PM, Avnesh Shakya wrote: > plz help me... i want to store image in database using model,how is it > possible...? > https://docs.djangoproject.com/en/1.4/ref/models/fields/#imagefield Cheers Tom -- You received this message because you are subscribed to the Go

how to create attribute for image in django models.py

2013-02-20 Thread Avnesh Shakya
plz help me... i want to store image in database using model,how is it possible...? -- 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...@

Re: form media (css+js)

2013-02-20 Thread Tom Evans
On Tue, Feb 19, 2013 at 9:07 PM, yakoub abaya wrote: > i read this page : https://docs.djangoproject.com/en/1.4/topics/forms/media > but i don't understand how those files gets rendered into the page template > is it our responsibility when creating template files to make sure those > form media f