Re: Authenticated user from models.py

2008-05-22 Thread Eric Abrahamsen
On May 23, 2008, at 11:20 AM, [EMAIL PROTECTED] wrote: > > I find the "They're trusted, so let them enter it themselves" argument > frustrating. Not to mention: if they're trusted, then why do we have groups and permissions? > > > As someone above said, we're dealing with sites that

Re: how to solve the MySQL problem?

2008-05-22 Thread Karen Tracey
On Thu, May 22, 2008 at 8:58 PM, Qiang <[EMAIL PROTECTED]> wrote: > > how to config the MySQL before i run the manage.py? how do i know that > MySQL is running? > > On May 23, 12:34 am, jonknee <[EMAIL PROTECTED]> wrote: > > > _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL > >

Re: Help me build my site with answers to my questions from models to newsletters everybody view this at least once

2008-05-22 Thread Jeff Anderson
sebey wrote: OK so as you may see I have a lot of questions in helping build my django project so here they are 1. with models do just create the fields that you need? More or less-- yes 2. how can I import rss feeds(i am running a podcast network) from other

Re: Authenticated user from models.py

2008-05-22 Thread [EMAIL PROTECTED]
I find the "They're trusted, so let them enter it themselves" argument frustrating. As someone above said, we're dealing with sites that potentially have a very large number of users. In cases where there's more than a few users, it becomes a hassle, a source of errors, and a time waster.

Re: Google Maps API

2008-05-22 Thread Gremmie
On Mar 30, 8:08 pm, [EMAIL PROTECTED] wrote: > I have a field I'm using that shows where events are around our area > for sports collectors, what I'd like to do is implement Google Maps, > kind of like the Washington Post does here: > >

Re: Form Fields Question

2008-05-22 Thread lorax
I cannot answer the original question but I can say that I have come across (ok - created) cases where I needed to use id on an element that may be under the control of a style higher up in the hierarchy. My assumption is that classes are overruled by ids and perhaps to be on the safe side for

Re: New Django Site

2008-05-22 Thread Bret W
Thanks for all of the feedback! I no longer require users to enter employer information, and I've listed what I track (IPs for spam). Vault.com collects similar data, so I hope there won't be any legal issues, but I've added a small disclaimer and I'll keep my fingers crossed. Yes, book4e, I'm

Re: class diagram from models.py

2008-05-22 Thread M.Ganesh
Juanjo Conti wrote: > Several times I tried to generate an UML class diagram from my python > classes. I have used epydoc and the buil-in feature of SPE but the > resulting diagram did not like me. > > Is there a way to generate an UML class diagram from models.py? a > stanalone app or command? >

Re: TEMPLATE_DIRS problem -windows

2008-05-22 Thread emy_66
Hi Rajesh, I checked that and it is...Any other suggestions? Thanks Emily On May 22, 11:23 pm, Rajesh Dhawan <[EMAIL PROTECTED]> wrote: > Hi Emily, > > On May 22, 1:42 am, emy_66 <[EMAIL PROTECTED]> wrote: > > > I'm doing the tutorials and am up to part 2 where we can customise > > admin

Re: how to solve the MySQL problem?

2008-05-22 Thread Qiang
how to config the MySQL before i run the manage.py? how do i know that MySQL is running? On May 23, 12:34 am, jonknee <[EMAIL PROTECTED]> wrote: > > _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL > > server on 'lo > > calhost' (10061)") > > It can't connect to MySQL. Make

Re: Google Maps API

2008-05-22 Thread jeffself
On Mar 30, 9:18 pm, Michael <[EMAIL PROTECTED]> wrote: > I would search for "googlemapsAPI." Really though the integration > with googlemapsis mostly a front end application. So you would > create it all with front end javascript. > > The only real django knowledge to pass here would be to make

Re: uploading CSV files

2008-05-22 Thread nandu
Thanks to everyone for all your help I have now got it working. Yours sincerely, Nanda 23 May 08 On May 22, 8:30 pm, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > On 21-May-08, at 5:10 PM, nandu wrote: > > > I am having a problem with where to start when I am faced with > > uploading a CSV

Re: FileField ImageField upload questions

2008-05-22 Thread Marty Alchin
On Thu, May 22, 2008 at 3:22 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 and have > it accept it. I don't follow what you're trying to do here. Does this "fam2.jpg"

Re: RSS Syndication and iTunes Tags

2008-05-22 Thread Gremmie
On May 21, 3:31 pm, Gremmie <[EMAIL PROTECTED]> wrote: > I was considering using django to generate an RSS feed for a podcast. > iTunes likes it very much if you add some non-standard tags to the > xml. Is this there a way to leverage the existing slick syndication > feature of django but also

Re: Django in a HA cluster web services application with some near real time elements

2008-05-22 Thread puff
Graham, Thanks very much. That was extremely helpful. Regards, Richard --~--~-~--~~~---~--~~ 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

class diagram from models.py

2008-05-22 Thread Juanjo Conti
Several times I tried to generate an UML class diagram from my python classes. I have used epydoc and the buil-in feature of SPE but the resulting diagram did not like me. Is there a way to generate an UML class diagram from models.py? a stanalone app or command? Thanks you, -- Juanjo Conti

getting a database cloum into django

2008-05-22 Thread sebey
how can I get a colium of information (in this case rss feeds) and grab them use them in views.py along with feedpareser and have them(rss feeds) had all have an instance of a template? thanks you --~--~-~--~~~---~--~~ You received this message because you are

Re: File Upload with form_for_model

2008-05-22 Thread Rajesh Dhawan
On May 22, 4:11 pm, jabbercat <[EMAIL PROTECTED]> wrote: > Hello, > > I want to upload files with a Form generated by form_for_model(). The > form is ok, but I can't upload files, because I get different errors. > > I get an error, that FileForm has no attribute cleaned_data. Knows > somebody

Re: Issue with newforms-admin

2008-05-22 Thread Karen Tracey
On Thu, May 22, 2008 at 3:21 PM, Brandon Taylor <[EMAIL PROTECTED]> wrote: > > Hi everyone, > > I'm having a problem with an url pattern. When I try to do a custom > view using the newforms admin, such as: > > (r'^admin/surveys/survey/answers/(?P[-\w]+)/$', > 'app.surveys.views.answers_list'), >

Hi Welcome - I am Waiting

2008-05-22 Thread james Jithan
-- --- Online Dating Tips - Interesting & Informative http://funlimit.blogspot.com --- Computer Tips,Tricks For Fun And Educational http://systemhelp4u.blogspot.com

Re: File Upload with form_for_model

2008-05-22 Thread [EMAIL PROTECTED]
cleaned_data doesn't get populated until is_valid() is called on the form, the save method will be trying to access the cleaned_data fields so that is likely what's causing the problems. - Andrew Ingram On May 22, 9:11 pm, jabbercat <[EMAIL PROTECTED]> wrote: > Hello, > > I want to upload files

Re: Merging (threaded) FreeComments with Comments

2008-05-22 Thread [EMAIL PROTECTED]
Thanks for the info. I skimmed the code and "docs" for the comments module but it seems the threadecomments library is a way better place to start. It's amazing that no one has created a decend and featureful comments module for django, yet, though. I'll have to hack around the threadedcomments

Re: Forms from Database Tables with choice selects.

2008-05-22 Thread Richard Dahl
This is still pretty WET for my tastes, but I do not completely understand your requirements. Programming is after all an art and a science. I have a tendendcy to normalize things as much as I feel is reasonable, perhaps it is more than you require. I would at least consider something like the

File Upload with form_for_model

2008-05-22 Thread jabbercat
Hello, I want to upload files with a Form generated by form_for_model(). The form is ok, but I can't upload files, because I get different errors. I get an error, that FileForm has no attribute cleaned_data. Knows somebody the problem? Here my code: The template: Add a file

FileField ImageField upload questions

2008-05-22 Thread poschs
Here are my relevant settings: MEDIA_ROOT = os.path.join(os.path.dirname(__file__), 'static').replace('\\', '/') MEDIA_URL = '/static/' I tried using 127.0.0.1:8000 for the MEDIA_URL (as the documentation suggests) but my files would not display properly. MEDIA_ROOT above evaluates to

Issue with newforms-admin

2008-05-22 Thread Brandon Taylor
Hi everyone, I'm having a problem with an url pattern. When I try to do a custom view using the newforms admin, such as: (r'^admin/surveys/survey/answers/(?P[-\w]+)/$', 'app.surveys.views.answers_list'), If I remove: (r'^admin/(.*)', admin.site.root), #the default routing for newforms-

Re: item "of the day"?

2008-05-22 Thread Norman Harman
[EMAIL PROTECTED] wrote: > I've tried low-level api, and must be missing something: > > class RideNode(template.Node): > def __init__(self, varname): > self.varname = varname > > def render(self, context): > if cache.get('rod'): >context[self.varname] =

Re: How to add files to the django built-in webserver

2008-05-22 Thread Randy Barlow
Turns out that this can be done with what is described at [1]. [1] http://www.djangoproject.com/documentation/static_files/ --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: confused about newform validation results

2008-05-22 Thread bobhaugen
On May 22, 1:40 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > This function may create either a bound or unbound form, depending on > whether data is given a value other than None. An unbound form returns > False for is_valid() yet has no errors. (form.is_bound tells you whether a > form is

Re: item "of the day"?

2008-05-22 Thread [EMAIL PROTECTED]
I've tried low-level api, and must be missing something: class RideNode(template.Node): def __init__(self, varname): self.varname = varname def render(self, context): if cache.get('rod'): context[self.varname] = cache.get('rod') else: ride =

Re: SelectDatewidget does not shows the correct value

2008-05-22 Thread Gary Davis
I had this same problem. I think it is still a problem even after the fixes marked #5027 and #5917. I'm a Django newbie, so please forgive me if I'm just confused or if I have missed any future fixes that address this problem. Gary Davis Here's a suggested patch to the SelectDateWidget: (to add

doctests in views.py

2008-05-22 Thread Viktor Nagy
Hello, I've a very simple views file, that I would like to test with doctests. For example a partial code is this: @require_POST def save(request, type): ''' This adds a new element to the queue >>> response = c.post('/queue/new/email', {'title': 'MyTitle'}) >>>

Re: confused about newform validation results

2008-05-22 Thread bobhaugen
On May 22, 1:08 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > Of more interest than the html printed for the form would be the code you > use to create the form, and the template you use to display the form. > Without those it is hard to guess what is going wrong. Thanks for responding, Karen.

Re: item "of the day"?

2008-05-22 Thread Norman Harman
[EMAIL PROTECTED] wrote: > > > On May 22, 12:11 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: >> I don't know if this is the "right" direction but I've had success using >> memcached to implement of the day items. >> >> If the item is in the cache it gets served. Otherwise I fetch from >>

Re: ugly ugly SQL

2008-05-22 Thread Eric Abrahamsen
On May 23, 2008, at 12:27 AM, jonknee wrote: > > On May 22, 11:08 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > >> I tried using select_related('categories') on the original book >> query, >> but that seemed to actually slow it down. Are there any other ways to >> slurp this up into

Re: confused about newform validation results

2008-05-22 Thread Karen Tracey
On Thu, May 22, 2008 at 10:55 AM, bobhaugen <[EMAIL PROTECTED]> wrote: > > I got a newform that fails validation but gives no errors. Have tried > many variations, don't have any idea what is wrong. > > Here's the form: > > class PaymentTransactionForm(forms.Form): >transaction_id =

Django search engines

2008-05-22 Thread Greg
Does anyone have any experience using djangosearch, djapian, or django- search? Any tutorials for using any of them? I'm kinda unsure as to where to begin implementing any of them. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Forms from Database Tables with choice selects.

2008-05-22 Thread Lance F. Squire
Currently, I'm working from the demos in the book and the site. Here is what I have currently. forms.py: from django import newforms as forms from django.newforms import form_for_model from models import PlanMember TITLES = ( ('Miss','Miss'), ('Mrs.','Mrs.'), ('Ms.','Ms.'),

Re: item "of the day"?

2008-05-22 Thread [EMAIL PROTECTED]
On May 22, 12:11 pm, "Norman Harman" <[EMAIL PROTECTED]> wrote: > > I don't know if this is the "right" direction but I've had success using >   memcached to implement of the day items. > > If the item is in the cache it gets served.  Otherwise I fetch from > database and store in cache with

Re: Forms from Database Tables with choice selects.

2008-05-22 Thread Lance F. Squire
Interesting I could set-up a single people table/model with a field indicating the position/relation to the form/application. I would guess I would to hand make the blank form then and am unsure how to parce it on the other side... Didn't see that in the tutorials... Lance On May 21, 4:36

Re: data field error running mysql 5.0.45 django 0.96.1

2008-05-22 Thread unixdude_from_mars
However the code works for earlier versions of mysql. Which is interesting.. Looks like the best fix at the moment would be to generate another view and use a specific query for the date. I wonder if a warning is generated with the earlier version of mysql. I wondered if anyone else had

design patterns

2008-05-22 Thread unixdude_from_mars
Being new to web development I was wondering what the best resource would be for web design patterns implemented in django, js, ajax, dojo. Specifically -- I am interested in dynamic drop down list, where the list items come from my database, but are links that allow one to drill down. Each

Re: item "of the day"?

2008-05-22 Thread Norman Harman
[EMAIL PROTECTED] wrote: > This should be really easy, but I haven't slept in a week and I'm not > that smart to begin with. I want to get an item of the day.. quote of > the day, tip of the day, whatever. > > I don't know how many of these items there will be. I am pretty sure I > want a

item "of the day"?

2008-05-22 Thread [EMAIL PROTECTED]
This should be really easy, but I haven't slept in a week and I'm not that smart to begin with. I want to get an item of the day.. quote of the day, tip of the day, whatever. I don't know how many of these items there will be. I am pretty sure I want a template tag. Can someone point me in the

Re: how to solve the MySQL problem?

2008-05-22 Thread jonknee
> _mysql_exceptions.OperationalError: (2003, "Can't connect to MySQL > server on 'lo > calhost' (10061)") It can't connect to MySQL. Make sure your settings are accurate and that MySQL is running. --~--~-~--~~~---~--~~ You received this message because you are

Re: Authenticated user from models.py

2008-05-22 Thread jonknee
On May 21, 9:33 pm, "James Bennett" <[EMAIL PROTECTED]> wrote: > Well, newforms-admin is being written to make the HttpRequest object > available as an argument to the various ModelAdmin methods, which > means that when you set up your own custom admin you can do pretty > much anything you want.

how to solve the MySQL problem?

2008-05-22 Thread Qiang
when i use the Manage.py syncdb the creat the database . the django throw me this below. what's the problem about it? anyone can tell me? thanks very much Traceback (most recent call last): File "E:\wiki\manage.py", line 11, in execute_manager(settings) File

Re: ugly ugly SQL

2008-05-22 Thread jonknee
On May 22, 11:08 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > I tried using select_related('categories') on the original book query,   > but that seemed to actually slow it down. Are there any other ways to   > slurp this up into something tidier? > > I don't have much experience with SQL,

Re: union with an EmptyQuerySet results in an EmptyQuerySet

2008-05-22 Thread omat
An other case where I get empty result sets unexpectedly is when I want to join 2 querysets, one holding the objects that the current user entered and the other holds the objects marked as favorite by the current user. I have a manager for Favorite objects that takes the model and the user and

How to add files to the django built-in webserver

2008-05-22 Thread Randy Barlow
Hi all, I'm new to the group with a fairly simple question. I'd like to use the Django webserver to demo a site I'm working on, and I would like to be able to add a file I've created to the document root. The file is a simple crossdomain.xml file for flash, and I'd like it to be accessible at

Re: Question about one-to-many model query

2008-05-22 Thread phillc
for c in city.person_set.all() http://www.djangoproject.com/documentation/db-api/#backward On May 22, 10:54 am, Dan <[EMAIL PROTECTED]> wrote: > Hello! > > I'm new to Django, so please forgive my newbness :) > > The following is my model: > > class City(models.Model): > name =

Re: What do you use for project management?

2008-05-22 Thread Jashugan
On May 20, 3:24 pm, "Gene Campbell" <[EMAIL PROTECTED]> wrote: > I have used Jira, and I'm looking at Trac today.   Is there something > more Djangonic? +1 for Trac, especially the latest version: 0.11 (currently in RC 1) now that they have easy_install it should be no problem getting it

improvements on this directory structure

2008-05-22 Thread phillc
ive been changing the structure of my projects/applications over and over. thats because every time i change it, i realize i can make it a bit different. the whole time i felt it was neccessary to allow for multiple projects on the same host. well now that ive finally gotten somewhere, i was

Re: IntegerField with choices raising an TypeError

2008-05-22 Thread Jashugan
In the meantime I did the following: def save(self): try: self.score = int(self.score) except: pass super(Entry, self).save() --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: IntegerField with choices raising an TypeError

2008-05-22 Thread Jashugan
On May 22, 6:29 am, "Scott Moonen" <[EMAIL PROTECTED]> wrote: > I suspect your problem may be due to the fact that your display value for 3 > is a number rather than a string.  Try changing: > >    CHOICES = [(1, '1'), (2, '2'), (3, 3), (4, '4'), (5, '5')] > > to > >    CHOICES = [(1, '1'), (2,

Re: New Django Site

2008-05-22 Thread book4e
Cool, I like the design. Do you use webfaction or some what? On 5/22/08, Jashugan <[EMAIL PROTECTED]> wrote: > > > > On May 21, 1:27 pm, Bret W <[EMAIL PROTECTED]> wrote: >> Hey all- >> >> Over the past few evenings, I've put together a simple site for >> submitting and listing job and salary

ugly ugly SQL

2008-05-22 Thread Eric Abrahamsen
I saw Simon's debug footer middleware (http://www.djangosnippets.org/snippets/766/ ) come through the pipeline, and decided I'd give it a whirl, and I'm now considering a career in gardening. I have some views I knew were slow, and hit the database hard, but looking at the actual queries

confused about newform validation results

2008-05-22 Thread bobhaugen
I got a newform that fails validation but gives no errors. Have tried many variations, don't have any idea what is wrong. Here's the form: class PaymentTransactionForm(forms.Form): transaction_id = forms.CharField(widget=forms.HiddenInput)

Question about one-to-many model query

2008-05-22 Thread Dan
Hello! I'm new to Django, so please forgive my newbness :) The following is my model: class City(models.Model): name = models.CharField(maxlength=100) class Person(models.Model) name = models.CharField(maxlength=100) city = models.ForeignKey(City) class Book(models.Model)

Re: Where to put authentication class

2008-05-22 Thread Karen Tracey
On Thu, May 22, 2008 at 10:01 AM, Cliff <[EMAIL PROTECTED]> wrote: > > I've got an LDAPBackend.py implementing a class for LDAP > authentiction. But I can't seem to get it to be used in my Django > project. > > I am putting the LDAPBackend.py in the root directory of my project, > right next to

Re: What do you use for project management?

2008-05-22 Thread Alex Robbins
The team I work on uses Trac and it seems to be working really well. Of course, any project tracking system's effectiveness depends on how faithful everyone is to use it. One of Trac's main strengths is its ability to integrate with a SVN repository on the same server. It provides an almost

Where to put authentication class

2008-05-22 Thread Cliff
I've got an LDAPBackend.py implementing a class for LDAP authentiction. But I can't seem to get it to be used in my Django project. I am putting the LDAPBackend.py in the root directory of my project, right next to the settings.py file. In settings.py, I set AUTHENTICATION_BACKENDS = (

union with an EmptyQuerySet results in an EmptyQuerySet

2008-05-22 Thread omat
Hi, The "bitwise or" ('|') works fine when taking the union of query sets such as: Note.objects.filter(tag='foo') | Note.objects.filter(tag='bar') But the result of following is an EmptyQuerySet object: Note.objects.filter(tag='foo') | Note.objects.none() Shouldn't it be equivalent to

Some Django debugging tips

2008-05-22 Thread Simon Willison
Hi all, I've written up a bunch of techniques for debugging Django applications: http://simonwillison.net/2008/May/22/debugging/ I'm collecting more tips in the comments. Cheers, Simon --~--~-~--~~~---~--~~ You received this message because you are

Re: helpers on managers versus models module top-level?

2008-05-22 Thread Rajesh Dhawan
Hi James, On May 21, 3:30 am, James Tauber <[EMAIL PROTECTED]> wrote: > I find myself being inconsistent in whether I put model helper methods   > on a custom manager or just as top-level functions in models.py > > For example, in django-friends I have: > > class

Re: IntegerField with choices raising an TypeError

2008-05-22 Thread Scott Moonen
I suspect your problem may be due to the fact that your display value for 3 is a number rather than a string. Try changing: CHOICES = [(1, '1'), (2, '2'), (3, 3), (4, '4'), (5, '5')] to CHOICES = [(1, '1'), (2, '2'), (3, '3'), (4, '4'), (5, '5')] -- Scott On Wed, May 21, 2008 at

Re: Installing GeoDjango help

2008-05-22 Thread tlpinney
Hi Shabda, If you are using the where2 example you will need to use the gis- newforms mercurial branch. http://geodjango.org/hgweb.py/gis-newforms/ A sample project can be found here. http://geodjango.org/hgweb.py/where2/ Cheers, Travis On May 22, 7:42 am, "Ariel Mauricio Nunez Gomez"

Re: TEMPLATE_DIRS problem -windows

2008-05-22 Thread Rajesh Dhawan
Hi Emily, On May 22, 1:42 am, emy_66 <[EMAIL PROTECTED]> wrote: > I'm doing the tutorials and am up to part 2 where we can customise > admin look and feel - I cannot get django to read my customise > template file by editing TEMPLATE_DIRS. I am working in windows using > the lastest dev version

Re: Django blogging engine - database structure question

2008-05-22 Thread Rajesh Dhawan
Hi, On May 22, 8:54 am, djangoista <[EMAIL PROTECTED]> wrote: > Thanks a lot for your reply - I think I'll do that, thats a good point > about space being cheaper, especially as its just plain text. Just for the record, the Django site has a nice cookbook article that discusses this.

Re: Django blogging engine - database structure question

2008-05-22 Thread djangoista
Thanks a lot for your reply - I think I'll do that, thats a good point about space being cheaper, especially as its just plain text. On May 22, 1:48 pm, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > I don't know what the standard is, but I'm doing exactly what you   > detail here: two DB fields,

Re: IntegerField with choices raising an TypeError

2008-05-22 Thread Adi J. Sieker
Jashugan wrote: > Hello I have the following code in my model: > > class SomeMode(models.Model): > > CHOICES = [(1, '1'), (2, '2'), (3, 3), (4, '4'), (5, '5')] > > score = models.IntegerField(choices=CHOICES) > > > When I change the score in the admin interface it throws this error: > >

Re: Django blogging engine - database structure question

2008-05-22 Thread Eric Abrahamsen
I don't know what the standard is, but I'm doing exactly what you detail here: two DB fields, one that stores Markdown text, and another, not visible in the Admin interface, that stores HTML. In the save method, one gets dumped into the other, via the markdown filter. If you or one of

Re: Installing GeoDjango help

2008-05-22 Thread Ariel Mauricio Nunez Gomez
BTW, you still have to follow the postgis database and user creation parts. --~--~-~--~~~---~--~~ 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

Re: Installing GeoDjango help

2008-05-22 Thread Ariel Mauricio Nunez Gomez
If you have ubuntu you can: sudo apt-get install mercurial hg clone http://geodjango.org/hg/where2.0/ cd where2.0/ubuntu more ubuntu_install.txt (Follow the instructions from step 5) Regards, Ariel. --~--~-~--~~~---~--~~ You received this message because you are

Django blogging engine - database structure question

2008-05-22 Thread djangoista
Hi, I'm about to start on a simple django-based blogging engine (I'm sure there are already many out there, but I want to have a go a creating one from scratch). I'm planning on using Markdown (lightweight markup language) for creating blog posts, but I'm not sure what to store in the DB. One

Re: uploading CSV files

2008-05-22 Thread Kenneth Gonsalves
On 21-May-08, at 5:10 PM, nandu wrote: > I am having a problem with where to start when I am faced with > uploading a CSV file. I do not want to create a model for the file as > there is no need for me to keep track of the files that I am uploading > to the server. you do not need a model -

Re: Django in a HA cluster web services application with some near real time elements

2008-05-22 Thread Graham Dumpleton
On May 22, 2:38 am, puff <[EMAIL PROTECTED]> wrote: > Thanks Graham and Ben for the prompt feedback.  It was most helpful. > > > Depending on the hosting mechanism has been configured, anyDjango > > startup may only happen the first time a request comes in. This would > > potentially delay

a href links on multi select box

2008-05-22 Thread lee
Guys, I've read through the docs, but haven't found how to do the following. On the admin site, for each object listed in the multi select box created by a many to many field, I want to be able to click on the object, or link next to it which will direct me to the change page for that object.

Re: Reusable models?

2008-05-22 Thread Aidas Bendoraitis
On Wed, May 21, 2008 at 01:41:35PM -0500, James Bennett wrote: > The way I'd do this is with an application which provides a basic > model with the core fields, and then other models in other > applications relating to it and adding information as needed. > Incidentally, this leads to precisely

wholesale cheap nike jordan,puma,gucci,prada,D,ect brand shoes,clothes,Hats,bags

2008-05-22 Thread jonven
Pls check our website to view more products : www.putshoes.com MSN: putshoes at hotmail com email: putshoes at yahoo cn We are one of the largest and credible Trading Company in China. We sell many kinds of fashionable products . Here are the three reasons for you to work with us : 1. All our

wholesale cheap nike jordan,puma,gucci,prada,D,ect brand shoes,clothes,Hats,bags

2008-05-22 Thread jonven
Pls check our website to view more products : www.putshoes.com MSN: putshoes at hotmail com email: putshoes at yahoo cn We are one of the largest and credible Trading Company in China. We sell many kinds of fashionable products . Here are the three reasons for you to work with us : 1. All our

wholesale cheap nike jordan,puma,gucci,prada,D,ect brand shoes,clothes,Hats,bags

2008-05-22 Thread jonven
Pls check our website to view more products : www.putshoes.com MSN: putshoes at hotmail com email: putshoes at yahoo cn We are one of the largest and credible Trading Company in China. We sell many kinds of fashionable products . Here are the three reasons for you to work with us : 1. All our

Re: load external xml and css with varibles?

2008-05-22 Thread Eric Abrahamsen
On May 22, 2008, at 4:41 PM, sebey wrote: > > so if that is the case could I do all the processing in views.py or > models.py? The processing of incoming feed items (which you're doing at regular intervals set by your cron job, using feedparser), would all have to take place in your

Re: load external xml and css with varibles?

2008-05-22 Thread sebey
so if that is the case could I do all the processing in views.py or models.py? On May 22, 3:48 am, Eric Abrahamsen <[EMAIL PROTECTED]> wrote: > On May 22, 2008, at 5:15 AM, sebey wrote: > > > that script you told me to do how do i get it running though the admin > > interface? > > It's not going

Installing GeoDjango help

2008-05-22 Thread shabda
Is there a simpler way to install GeoDjango, than the one mentioned at http://code.djangoproject.com/wiki/GeoDjangoInstall ? Also is there any documentation about GeoDjango apart form the one at the wiki? --~--~-~--~~~---~--~~ You received this message because