Visit www.healthcaremagic.com for Live Chat with Doctors For FREE !!

2008-05-25 Thread Dr. Rashmi
LIVE CHAT with a Qualified Doctor Regarding Any Medical Problem for FREE atwww.healthcaremagic.com 9AM-9PM "IST(GMT + 5:30)". Fully Confidential. OR You can call at +91-80-41743045 and "Speak with a Doctor for FREE" 12 Noon to 6 PM "IST(GMT + 5:30)", Monday to Friday. Visit

It May Be Useful For You & Yor Dear Ones !!

2008-05-25 Thread Dr. Rashmi
LIVE CHAT with a Qualified Doctor Regarding Any Medical Problem for FREE atwww.healthcaremagic.com 9AM-9PM "IST(GMT + 5:30)". Fully Confidential. OR You can call at +91-80-41743045 and "Speak with a Doctor for FREE" 12 Noon to 6 PM "IST(GMT + 5:30)", Monday to Friday. Visit

Adding various user permission to Forms having no models

2008-05-25 Thread Harish
hi friends. I am doing a project using djangoI created certain forms using view... now i want to add user permission to access those forms how i can do this? Regards Harish Bhat --~--~-~--~~~---~--~~ You received this message because you are

Re: How to Implement "Most Viewed"?

2008-05-25 Thread James Bennett
On Sun, May 25, 2008 at 9:08 PM, jonknee <[EMAIL PROTECTED]> wrote: > Unless you cache the view. Just update it once an hour/day. You still have to record the raw number of hits somewhere. Doing this in the database, in real time, is often not possible because it does lead to one write per page

Re: Avoiding code duplication with many similar models

2008-05-25 Thread James Bennett
On Sun, May 25, 2008 at 10:13 PM, Trevor Caira <[EMAIL PROTECTED]> wrote: > So while it is possible to do this with model inheritence, at least > the most obvious solution involves a lot of code duplication. A situation like this is often an indicator that you haven't sufficiently abstracted

Re: Avoiding code duplication with many similar models

2008-05-25 Thread Trevor Caira
Thanks for the pointer, Alex. Yes, I have seen that part of the documentation. Even using model inheritance, however, I still have to list at a minimum 8 * 12 = 96 different models (8 different versions of 12 different models). Then, I still must manually specify each related field, since Django

Re: Does anyone use Eric to edit templates

2008-05-25 Thread Alex Ezell
On Sun, May 25, 2008 at 3:04 PM, Gene Campbell <[EMAIL PROTECTED]> wrote: > > Do either of these work smartly with Django i.e. Offer command > completion for the Django tempalte lang or offer look ups in the bound > dictionaries available in the template - er, eh, at design time, the >

Re: Admin panel question

2008-05-25 Thread jonknee
On May 25, 4:46 pm, peter <[EMAIL PROTECTED]> wrote: > Hello everyone. I've just begin my adventure with Django, and I have > some problems. I want to add some custom functions to admin site. For > example, I want to add method from not model class, which sends email > to specify users, or

Re: How to Implement "Most Viewed"?

2008-05-25 Thread jonknee
On May 25, 7:54 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > Unless your site is very low traffic the thing you don't want to do is > write to the database every view.  That is anti-scalable. > Unless you cache the view. Just update it once an hour/day.

Re: Problems setting up test Django server

2008-05-25 Thread Graham Dumpleton
Or do what I suggested you do in the first place and use mod_wsgi. Run your main site in embedded mode and your test site in daemon mode. This will give you the added advantage that to reload test instance, just touch WSGI script file, no need to restart whole of Apache. As well as stuff like

Re: Problems setting up test Django server

2008-05-25 Thread Jason
Hi Graham-- Thanks again for trying to talk me through this stuff. Adding a different SESSION_COOKIE_NAME to my test site fixed the problem of having to re-login when switching between my active admin site & my test admin site. However, the larger problem remains: changes made to my test

Re: 'RegistrationForm' object has no attribute 'cleaned_data'

2008-05-25 Thread Russell Keith-Magee
On Mon, May 26, 2008 at 7:56 AM, cyrial <[EMAIL PROTECTED]> wrote: > > Hey, > > when testing my RegistrationForm on localhost, the following error is > raised: > >AttributeError at /accounts/register/ >'RegistrationForm' object has no attribute 'cleaned_data' It's difficult to tell

'RegistrationForm' object has no attribute 'cleaned_data'

2008-05-25 Thread cyrial
Hey, when testing my RegistrationForm on localhost, the following error is raised: AttributeError at /accounts/register/ 'RegistrationForm' object has no attribute 'cleaned_data' See code @ http://dpaste.com/52693/ Could someone please give me a hint what's wrong in this code? Thanks

Re: How to Implement "Most Viewed"?

2008-05-25 Thread Norman Harman
blis102 wrote: > Hello All, > > Im wondering how I could go about implementing a "Most Viewed" feature > on my site. Lets say I have events, articles, and businesses, how > could I implement a "Most Viewed Businesses", "Most Viewed Articles", > "Most Viewed Events", "Most Viewed Content", "Most

blankiing an ImageField

2008-05-25 Thread Carl Karsten
In the admin UI, is there any way to blank out a foo = model.ImageField(...) ? Carl K --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Yet another "social network" help needed

2008-05-25 Thread Pavel Rebrov
Hello everyone, I want to build sort of a multi-user blog system with some "community- building" features. Right now I see it as a set of applications as such: - News. RSS-aggregated, manually translated and republished on the site "Industry News" section - Blog. Each user will have a blog of

Re: setup issues with Django

2008-05-25 Thread James Matthews
It looks nice. I am going to try it out On Sun, May 25, 2008 at 7:01 PM, Joseph <[EMAIL PROTECTED]> wrote: > > There is instant Django: http://www.instantdjango.com/download.html > No install. Just unzip and it works well. then you can update your > copy of Django as well. Works well for me.

Admin panel question

2008-05-25 Thread peter
Hello everyone. I've just begin my adventure with Django, and I have some problems. I want to add some custom functions to admin site. For example, I want to add method from not model class, which sends email to specify users, or something similar. Is it possible? Where I can find information

Fwd: Does anyone use Eric to edit templates

2008-05-25 Thread Gene Campbell
Do either of these work smartly with Django i.e. Offer command completion for the Django tempalte lang or offer look ups in the bound dictionaries available in the template - er, eh, at design time, the dictionaries aren't available, so that wouldn't be trivial. I suppose if an IDE managed the

Re: How to Implement "Most Viewed"?

2008-05-25 Thread Justin Lilly
I know several people who have implemented this feature tend to do so by interfacing with their traffic reporting API. Perhaps you can tap into google analytics (or whatever you use) to achieve the same? -justin On Sun, May 25, 2008 at 3:20 PM, blis102 <[EMAIL PROTECTED]> wrote: > > Hello All,

How to Implement "Most Viewed"?

2008-05-25 Thread blis102
Hello All, Im wondering how I could go about implementing a "Most Viewed" feature on my site. Lets say I have events, articles, and businesses, how could I implement a "Most Viewed Businesses", "Most Viewed Articles", "Most Viewed Events", "Most Viewed Content", "Most Viewed Articles This Week",

Re: Having a instance of a model object instantiate another

2008-05-25 Thread Diego Ucha
John, If you don't have to fill any of Checkbox's fields (attended, was_drunk, silly_walk, naughty or been_seen), then i don't think you have to create an instance of it bounded with an Event. Create it when you have one of these fields. This way if you want to get a real statistic of how many

Re: auto_add or default or save?

2008-05-25 Thread Alex Ezell
On Sun, May 25, 2008 at 3:15 AM, Rob Hudson <[EMAIL PROTECTED]> wrote: > > I don't recall where, but I thought I had heard once that the auto_add > and auto_add_now options to date fields in models was going away. > > I've seen 2 main options in the wild and I'm not sure which is > preferred... I

Re: Avoiding code duplication with many similar models

2008-05-25 Thread Alex Ezell
On Sun, May 25, 2008 at 12:30 AM, Trevor Caira <[EMAIL PROTECTED]> wrote: > How can I model this situation most simply, and with the least code > duplication, in django? Hi Trevor, Have you looked at the Model Inheritance part of the documentation?

Re: ForeignKey, but not...

2008-05-25 Thread Peter Rowell
Thoughts, in no particular order: 1. What about your app is dependent on the uid/User? I.e., At what points in the app's use does the uid come into play? 2. Since there is a uid, where is it coming from? UNIX uid? Some other forum id? 3. Are there events in the life of a uid/User (creation,

Re: setup issues with Django

2008-05-25 Thread Joseph
There is instant Django: http://www.instantdjango.com/download.html No install. Just unzip and it works well. then you can update your copy of Django as well. Works well for me. Joseph http://www.jjude.com On May 25, 6:35 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Sun, May 25, 2008 at

template translation

2008-05-25 Thread Thierry
The current template tag implementation for i18n seems a bit cumbersome and looks like it makes the template code harder to maintain. Would it be possible to code the translation logic in the template parser? Automatically extract all strings in the template code which could be translated (text

Re: Generic ManyToMany - any code?

2008-05-25 Thread kbs
Assuming you are using the development version of django (trunk) For the asset problem that was described, model inherentence can be used. Asset would be base class, and all asset types should inheret from it Process would simply hold a m2m reference to the base Asset model

a problem with Django development server

2008-05-25 Thread jinhao
well,first,my english is poor.sorry!! i find a problem with Django development server,when I use newforms or modelform to output textarea,if this textarea filled too many words,and submit to Django development server with POST method. in firefox, it is always normal,but in IE7,the content in

Re: setup issues with Django

2008-05-25 Thread Karen Tracey
On Sun, May 25, 2008 at 8:43 AM, wheresdave <[EMAIL PROTECTED]> wrote: > > I have been trying to setup django on a windows XP machine for almost > 4 hours now. Each step of the way I run into a new error that I have > to find a workaround for, which is very unfortunate. > > I have django 0.96.2

Re: setup issues with Django

2008-05-25 Thread Tim Chase
> ImportError: No module named django.core > > I ran many google searches on this error and none of the docs came > back with anything useful to solve my challenge. > > I went to the IRC forums and they told me that Django is not on my > path. Well, i had already tried adding to my path per the

Django with non-SQL databases?

2008-05-25 Thread Phillip B Oldham
Has anyone used django (including its ORM system) with a non-sql db? I'd be interested in learning how django was modified to get the best fit. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To

setup issues with Django

2008-05-25 Thread wheresdave
I have been trying to setup django on a windows XP machine for almost 4 hours now. Each step of the way I run into a new error that I have to find a workaround for, which is very unfortunate. I have django 0.96.2 in my site-packages directory, and python is on the root of C. I have also added

Re: FileField ImageField upload questions

2008-05-25 Thread patrickk
did you take a look at the django filebrowser: http://code.google.com/p/django-filebrowser/ patrick. On May 24, 7:13 pm, poschs <[EMAIL PROTECTED]> wrote: > > 1. I cant edit the ImageField by hand - e.g. If it currently contains > > 'images\fam1.jpg' I cannot manually type in images\fam2.jpg

Free Free US Dollars dollaras per month 10.000 $$$$$$$ Free Free

2008-05-25 Thread cshmn02
You Have Finally Found It. Genuine Lifetime Income!! Earn!! =10,000 US Dollars per month without Investment By working only one hour per day from the cyber café or PC Guaranteed Earnings for Lifetime!! http://seniorfriendfinder.com/go/g970599-pmem http://moreinfo247.com/9509568/CB

Re: Many to Many field and the template

2008-05-25 Thread Eric Abrahamsen
Double curly brackets {{ }} are used for variable substitution. These brackets: {% %} are used for template tags, of which the for loop is one. So you want: {% for et in entity.entity_type.all %} Yours, Eric On May 25, 2008, at 6:59 PM, M.Ganesh wrote: > > Hi All, > > Unable to find a

Re: Generic ManyToMany - any code?

2008-05-25 Thread Itai Tavor
Thanks, Richard - I thought about doing it this way, but I don't see how it could be integrated nicely into an admin form... you either have to create an Asset object for every new asset object, or you don't get the full list of possible assets in the Process admin form. I also don't like

Many to Many field and the template

2008-05-25 Thread M.Ganesh
Hi All, Unable to find a relevent info in the mail archives/ documentation. I am getting this error : TemplateSyntaxError at /contacts/entity/8/show/ Could not parse the remainder: ' et in entity.entity_type.all' from 'for et in entity.entity_type.all' #my model class entity(models.Model):

Re: a problem with djikiki

2008-05-25 Thread J. Clifford Dyer
That might be a problem with your urls.py file. An extra comma somewhere, perhaps. Also, what version of django are you using? Cheers, Cliff On Sat, 2008-05-24 at 06:53 -0700, Qiang wrote: > anyone have used the djikiki,a django wiki engine? > i want to write a wiki engine with django like

Re: Does anyone use Eric to edit templates

2008-05-25 Thread Andre Meyer
On Sun, May 25, 2008 at 12:13 PM, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > > On 25-May-08, at 10:37 AM, Gene Campbell wrote: > > > If there's something better than > > Eric for templates, can you recommend? > Komodo Edit (or IDE)

Re: Does anyone use Eric to edit templates

2008-05-25 Thread Kenneth Gonsalves
On 25-May-08, at 10:37 AM, Gene Campbell wrote: > If there's something better than > Eric for templates, can you recommend? quanta -- regards kg http://lawgon.livejournal.com http://nrcfosshelpline.in/code/ --~--~-~--~~~---~--~~ You received this message

Free hosting!!!!

2008-05-25 Thread Penguin
http://www.ziddu.com/register.php?referralid=(yoRfizI}X --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com To unsubscribe from

Re: Problems setting up test Django server

2008-05-25 Thread Graham Dumpleton
On May 25, 9:15 am, Jason <[EMAIL PROTECTED]> wrote: > Well, actually things are not so bueno.  Everything's still working > fine w/my my main instance, but any changes I make to models on my > test instance (port 8080, different VirtualHost) are not propagating > reliably-- or at all-- to the

auto_add or default or save?

2008-05-25 Thread Rob Hudson
I don't recall where, but I thought I had heard once that the auto_add and auto_add_now options to date fields in models was going away. I've seen 2 main options in the wild and I'm not sure which is preferred... I suppose each has its own use case: 1) Add default=datetime.now to the field.

Re: a problem with djikiki

2008-05-25 Thread Qiang
Qiang wrote: > anyone have used the djikiki,a django wiki engine? > i want to write a wiki engine with django like the djikiki.i installed > the Djikiki.but i encounter a problem. > i execute manage.py runserver there is no error.then i check the > http://127.0.0.1:8000/admin. the django give

Re: admin and foreign key problem

2008-05-25 Thread M.Ganesh
Karen Tracey wrote: > On Sat, May 24, 2008 at 11:11 PM, M.Ganesh <[EMAIL PROTECTED] > > wrote: > > > Hi All, > > Having some problem with foreign key and admin interface : > > >