Re: Did someone write an anti-spam module in django?

2007-06-14 Thread Julio Nobrega
> Any one has done this job? > Would you mind share your code? > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&qu

Re: Can Google index Django's pages?

2007-07-13 Thread Julio Nobrega
ng an Apache with mod_python. Does this matter? > Thanks in advance! > > Felix > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gro

Re: removal of Django

2007-07-20 Thread Julio Nobrega
experience,I am at a loss as to removing > it.Hope that this is posted in the correct place.Thanks for any help > that you can give. > Leo > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You receive

Re: a rather big, new django site:

2007-07-30 Thread Julio Nobrega
s, load them into a flash audio sequencer with > effects and synthesizers + standard community features) > > thanks a lot to all the people who have helped me getting this thing up > and running! :-) > > cheerio, > > - bram > >

Re: Preventing Multiple Logins

2007-03-16 Thread Julio Nobrega
rs from simultaniously > logging in from different computers but using the same username and > password. > > Any suggestions? > > Thanks, > Chuck > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~

Re: Django scaling and Database replication

2007-04-09 Thread Julio Nobrega
writes to be > handled by a different host to the reads. > > Is there a way to do this? > > MerMer > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

Re: Django scaling and Database replication

2007-04-09 Thread Julio Nobrega
his would rule out using replication with > Django. > > The quote from the MySQL document is below. According to quote changing > Django to handle replication should be relatively trivial (but beyond my > skill set at present), - does anybody know whether any work has been &

Re: Super long response times/load times: Looking for some guidance on alleviating the issue

2007-04-15 Thread Julio Nobrega
rhaps it's an intermittent issue (probably peak server loads) or it just happen with logged in users? -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "

Re: django comparison

2007-04-16 Thread Julio Nobrega
ks, > > Ps Please feel free to send directly to my email to cut down on list > traffic. tnx > > -- > Kind regards, > > M Harris <>< > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You re

Re: Giving easy access to designers

2007-04-17 Thread Julio Nobrega
in the > mod_python documentation). This has the disadvantages that I would > need to manually set up a VirtualHost in apache2.conf for each project > everytime one is added and also that they would need to maintain a > hosts file on their workstations (we don't have a

Re: multiple urls for the same view?

2007-04-19 Thread Julio Nobrega
ent > programmers, for us each to be able to checkout our project to from > svn on the same development machine... -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Googl

Re: check if a list contains a single item in a template

2007-04-20 Thread Julio Nobrega
using differnt count values. Is this possible? > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this grou

Re: How to do this in Django?

2007-04-30 Thread Julio Nobrega
uot; related together? > I mean something similar to Google groups . > If you choose Tree view, in Google groups, you have one "window'" of > authors and the other with their replies. > Now that you click on any author his reply will move to the top of

Re: How to do this in Django?

2007-04-30 Thread Julio Nobrega
ot;, but you'll hardly get satisfactory answers on this list since it's out of its scope. On 4/30/07, Pythoni <[EMAIL PROTECTED]> wrote: > > Julio,Thank you for your reply. > But can you provide some more details, please? > How can be a focus set in frames with ancho

Re: migrating 400 images

2007-05-04 Thread Julio Nobrega
is? Do you think this will likely > take more time than just doing it by hand? > > Thanks, > > Milan > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscri

Re: Where did you put your homepage view?

2007-05-23 Thread Julio Nobrega
wrote: > > Hi, > > I'm juste curious, where did you put your homepage view when you've > got a project with a lot of apps? Is there a best practice here? > > Thanks, > David > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~

Re: Generell Questions on Django

2007-05-23 Thread Julio Nobrega
your application to insert it on this enviroment. But like you said, there are benefits. It's the damn internet after all :p Good luck! -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: I'm so confused...

2006-09-25 Thread Julio Nobrega
n mind. It > looks great and I want to develop for it! > > Perhaps someone can create a series of videos showing a WinXP setup of > Django? > > Thank you all for your help and patience! > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~---

Re: Extending a template - error

2006-10-12 Thread Julio Nobrega
s the child > template but I'm still getting the same error. > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To pos

Re: Birthday

2006-10-12 Thread Julio Nobrega
ase. But i am only > interested in the day and month. Is there a way of using a DateField > but only with day and month fields? Or should I use another solution? > > Thanks, > > G > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~---

Re: How to override the admin save method?

2006-10-14 Thread Julio Nobrega
would like to save a file name not as it is given, but in an altered > format based on another field, so before the file gets uploaded I need > to save it's name. Any tips on how to approach that? > > Thanks > Iain > > > > > -- Julio Nobrega - http://www.ine

Re: Migrating from ASP.NET to Django?

2006-10-20 Thread Julio Nobrega
all site, so planning is of the absolute > essence (we do price comparisons for a big catalogue of products). > > Has anybody tried to tackle this yet? At all? It's the whole deal: > MSSQL database (I know, I know), IIS6+, C#, a lot of very specific > code, etc. > > Is th

Re: A modest plea

2006-10-22 Thread Julio Nobrega
p On 10/22/06, James Bennett <[EMAIL PROTECTED]> wrote: > > Yes, every bug is important. Yes, I understand that something you need > that isn't working right is critical to you. But... > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~

Re: How does the forloop really work?

2006-11-14 Thread Julio Nobrega
down inside the same page. > > > > I am not able to figure out how? My guess is forloop, but how? > > > Thanks > > Keith > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received

Re: Automatically adding http:// to a URLField

2006-11-15 Thread Julio Nobrega
rote: > > Hey, > > Am trying to use a URLField in my app, but if the user doesn't stick > http:// on the front of it, it fails vaildation. Is there a way to > automatically add one if one isn't present - rather than it just > failing validation? > >

/admin/ works with www, not without, on just one domain

2006-11-19 Thread Julio Nobrega
modpython SetEnv DJANGO_SETTINGS_MODULE miniurl.settings PythonDebug Off PythonPath "['/usr/lib/python2.4/site-packages/django_091'] + sys.path" PythonInterpreter miniurl SetHandler None SetHandler None Any idea of what's wro

Re: Opera & caching

2006-11-29 Thread Julio Nobrega
content (text). > > I suppose, that this is occasioned by Opera and his caching, but maybe > this could be solved by some extra HTTP information send by Django (etag?). > > I don't use Django framework. > > Do you have some advice? > > > Thank you > Regards >

Re: What if slug is already used?

2006-12-20 Thread Julio Nobrega
by a field that could result in multiple rows in the case that the user types a title that results in a duplicate slug? Do you set the url to be something like this? /myobject/(?P\d+)/(?P[-\w]+)/ Thanks, Rob > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~---

Re: HTTP_REFERER isn't set using Explorer

2007-01-04 Thread Julio Nobrega
the program preferences there's an option to disable the browser referer. This is not exactly the name of the option, you'll have to search for it. Maybe there's some application blocking, specially if there's one installed that has privacy settings. -- Julio Nobrega - htt

Re: Handling bad URLs

2007-01-05 Thread Julio Nobrega
um_slug and either route them to the right place if possible, or at least give them a 404. -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users&q

Re: Django Projects and Subversion

2007-01-10 Thread Julio Nobrega
for the public websites? > > How is this managed with djangoproject.com and djangobook.com? > > Regards, > Aidas Bendoraitis aka Archatas > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received

Re: Can a view open a page in a new browser window?

2007-01-11 Thread Julio Nobrega
rget=" would have with a link. > > Thanks much, > Bob > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" g

Re: Charset hell

2007-01-18 Thread Julio Nobrega
I had a bunch of unicode errors using the template tag trans while using Python 2.3. Upgrading to 2.4 solved all my problems. What version of Python are you using? On 1/17/07, guzru <[EMAIL PROTECTED]> wrote: I'm using django 0.95 and xgettext 0.14.6 on fedora core 6. -- Ju

Re: dose user authentication in django support verify code

2007-01-23 Thread Julio Nobrega
will it support verify code ? > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: video uploads (like you tube)

2007-01-24 Thread Julio Nobrega
use .flv. On 1/24/07, carlwenrich <[EMAIL PROTECTED]> wrote: > > Is there a quick and easy way for users to upload videos the way they > do it on you tube? Is there an example django site that has this > capability? > > > > > -- Ju

Re: multiple templates on a single page

2006-06-21 Thread Julio Nobrega
. What I see in the > tutorial shows how to make use a poll template and how to use a blog > template, but I don't see how to use them both on the same page. > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received th

Re: Django t-shirts: your ideas wanted!

2006-06-27 Thread Julio Nobrega
then, but this are intended for OSCON promotions. > > For your reference, here's the one we did for PyCon: http:// > flickr.com/photos/uhop/104501907/. We'll reprint that one if we > don't get any better ideas. > > Let 'em rip! > > Jacob > > > &

Re: inheriting from models.Model

2006-06-28 Thread Julio Nobrega
/06, spako <[EMAIL PROTECTED]> wrote: > > is there a way to achieve this? or should i not bother and just do have > a Comment Model and just have VideoComment and UserComment have a > OneToOneField to Comment? -- Julio Nobrega - http:/

Re: Using an application more than once in a project

2006-07-07 Thread Julio Nobrega
nd in another place as a > seperate development weblog? > > TIA. > > --Ahmad > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google G

Re: Perspective on building a community blog in a short timeframe

2006-07-14 Thread Julio Nobrega
ould ask you all what your thoughts were on this -- hacking > an established application to get it to do what I want vs. building an > app from scratch, on a restricted timeline. > > Thanks, > Joe > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~---

comments in Feeds

2006-07-16 Thread Julio Nobrega
d like to use it, if it's possible :) -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: How to get django to show me the sql it executed recently?

2006-07-17 Thread Julio Nobrega
t. Please help my ailing memory! > > Scott > p.s. Any chance this could be added to the Admin interface. It's the > intuitive place for such things. > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~-

Re: implementing a user login

2006-07-20 Thread Julio Nobrega
ent the login portion. > I imagine this would require some use of sessions. -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To p

Django 0.91 and SVN (magic removal) on Dreamhost

2006-07-20 Thread Julio Nobrega
jango syntax, remove the links made previously so Django imports from django_src: rm django_projects/your_project_name/django With hope that this will be useful to someone, -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this mess

Re: Best idea?

2006-07-22 Thread Julio Nobrega
ons, if it fits your needs: http://www.djangoproject.com/documentation/authentication/#custom-permissions On 7/22/06, PythonistL <[EMAIL PROTECTED]> wrote: > > I am creating an application in Django where users can insert photos > and I would like each owner of the photo(s) to be a

Re: hiding fields in admin

2006-07-26 Thread Julio Nobrega
meter in the admin > class of my model. But if I do this then the slug field is not > automatically generated when I create a new event. Is there a way to > hide the slug field, but still have it be filled in when I create a > new event? >

Re: Django and Professional Widgets

2006-07-27 Thread Julio Nobrega
> > I am going to create a site where I need very sofisticated widgets for > data presentation. > I wonder if anyone have tried to integrate Django with some professional > javascript tools like ActiveWidgets, > r.a.d controls, dojo, rico, etc. --

Re: Displaying auto "id" field in Admin

2006-07-27 Thread Julio Nobrega
t; Hello, > > Does anyone know of an easy way to have the auto generated id field > displayed in the Admin feature? > > Thanks, > > CL -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because y

Re: Design question (models? apps? field_type?)

2006-08-01 Thread Julio Nobrega
, I don't know your requirements). You can make a class named "Delivery" which has a ForeignKey to Company and Offer (unique_together'ed), and a Transaction class, which has a OneToOneField with Delivery but it stores the additional data. On 8/1/06, Robert <

Re: Distribute Django program to run on a local computer

2006-08-01 Thread Julio Nobrega
e, we cannot > simply send a URL to our prototype Can't you use SSL, and tell the reviewers to use an anonymizer proxy? This is so much easier than hacking a Knoppix CD (been there, done that...) -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~

Re: Anybody set up Django using Dreamhost?

2006-08-03 Thread Julio Nobrega
un "source ~/.bash_profile"? If yes, try to run "python django-admin.py etc". Hope it works :) -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups

Re: show many2many data as comma-separated-text. fast/optimal solution?

2006-08-04 Thread Julio Nobrega
entation/db_api/#select-related -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-user

Re: DreamHost

2006-08-09 Thread Julio Nobrega
gt; > But the admin/ is not working. > > It is throwing an error 500. > > Nor the domainname.com/django.fcgi/admin working. But it > tries to connect to to the server and says that connection is turned off. > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-

Re: Google-like API keys

2006-08-10 Thread Julio Nobrega
eed to differentiate between requests. md5 of a username + randomstring is fine. I also like how Yahoo handles it. They limit by IP addresses inside a time-frame, not per API key. So if someone gets someone else's key not much harm is done. -- Julio Nobrega - h

Re: How to log ALL queries

2006-08-11 Thread Julio Nobrega
e guy was selling it cheap, if I remember correctly). Another solution (I think) is to hack \django\db\backends\mysql\base.py, class MysqlDebugWrapper, method execute(), to write stuff to a file. -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~-

Re: Blog URLs - defined in Template or elsewhere?

2006-08-19 Thread Julio Nobrega
When I do the same in my template I only get the absolute url of the > application, ie., http://www.websitename.com/blog/. However, it appears > that this same code generates > http://www.djangoproject.com/weblog/2006/aug/18/slug . -- Julio Nobrega - htt

Re: Custom tags and template inheritance

2006-08-22 Thread Julio Nobrega
I opened a ticket for a similar problem. It's a feature ;) http://code.djangoproject.com/ticket/1193 On 8/22/06, Enrico <[EMAIL PROTECTED]> wrote: > > - or the docs should say that "load" tags doesn't get inherited. -- Julio Nobrega - ht

Re: Using a webservice as the datasource

2006-08-31 Thread Julio Nobrega
.objects.all().order_by('?')[0:3] The encode('utf-8') was necessary because Mysql was complaining about the data, don't know if it'll happen with your DB/server configuration. -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~--

Re: making slug field unique

2006-01-16 Thread Julio Nobrega
Afaik Django enforces uniqueness at the application level, but you could always add it to the database: ALTER TABLE table ADD UNIQUE (slug) I don't think it's a bad idea at all, it all depends ;) On 1/16/06, Bryan Murdock <[EMAIL PROTECTED]> wrote: > > I think I want my model's SlugField to

Re: making slug field unique

2006-01-17 Thread Julio Nobrega
ECTED]> wrote: > > Julio Nobrega dixit: > > Afaik Django enforces uniqueness at the application level, but you > > could always add it to the database: > > Ouch. Really? So Django is assuming that we are going to work with their > database *exclusively* through Djan

Re: Preserving data through db updates/changes

2006-01-18 Thread Julio Nobrega
Just dump the data into a file and reload it after re-creating the tables. At most, you will have to edit a few SQL fields/values to comply with the new column/table names. Doing it automated is *really* hard and I don't think it will be better (or more accurate) than just re-inserting the da

Re: urls question

2006-01-18 Thread Julio Nobrega
On 1/18/06, Huy Do <[EMAIL PROTECTED]> wrote: > > Sorry for the non django related question. I figured it out already. > > For anyone whos interested in cleaning up your generic views code, just > use, (note the star) > > urlpatterns = patterns('', >*generic_crud(MyModel) > ) > regards, > > Hu

Re: urls question

2006-01-18 Thread Julio Nobrega
Oh my God sorry about this, Gmail tricked me, the Archive and Send buttoms are too close. On 1/18/06, Julio Nobrega <[EMAIL PROTECTED]> wrote: <>

Re: Mixing prefixes in one urlconf

2006-01-21 Thread Julio Nobrega
vinient prefix to my view > functions: > > urlpatterns = patterns('project.apps.app_name.views', > (r'$', 'index', None), > ... > ) > > Now I want to use generic views in the same app and the prefix to my > views gets in the way being added before 'django.views.generic.something'. > > It looks to me that this thing must be dead simple... What did I miss? > > Thank you in advance. > -- --- Julio Nobrega - http://www.inerciasensorial.com.br

Re: utf-8 characters in database fileds(names)

2006-01-28 Thread Julio Nobrega
e. > Is this a bug with MySQL? > > -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: utf-8 characters in database fileds(names)

2006-01-28 Thread Julio Nobrega
d only: mysqladmin create dbname > > Could that be the problem? > > -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: possible to validate a subset of a model's fields?

2006-01-30 Thread Julio Nobrega
ne fills out a page and comes back a > week, or even a year later, everything they previously entered should > be in the db. -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: Question About Multi Column Keys

2006-01-31 Thread Julio Nobrega
select them, and only fix if it brakes. On 1/31/06, kggroups <[EMAIL PROTECTED]> wrote: > > I could also foresee situations where I would use a key on 3-tuples, > etc. How well is django equipped to handle relationships like this? > > -- Julio Nobrega - http://www.inerciasensorial.com.br

Modified Preorder Tree Traversal on the Wiki

2006-02-01 Thread Julio Nobrega
ase, and if any errors are found, please let me know? Many thanks, -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: Modified Preorder Tree Traversal on the Wiki

2006-02-01 Thread Julio Nobrega
wrote: > > I added an article at the Wiki about Modified Preorder Tree > > Traversal, a way to store parent/children relationship. > Lots of thanks. I'm just wanted to implemented too (: > > Would be nice to see that implemented in model base cl

Re: Tree View

2006-02-04 Thread Julio Nobrega
nks. That's a start. I was hoping for something a bit wiser and > more generic, though... something to produce nice semantic XHTML > (s). I'll ponder on this subject a bit more later. > > -- > --Max Battcher-- > http://www.worldmaker.net/ > -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: recursive template calls

2006-02-09 Thread Julio Nobrega
work at Greenpeace, > > not a Django-contributed tag. It is Open Source under the LGPL. > > > > -- > > --Max Battcher-- > > http://www.worldmaker.net/ > > > -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: Templating Pitfalls?

2006-02-15 Thread Julio Nobrega
be the most practical way for people who have dealt with > this? > > -- Julio Nobrega - http://www.inerciasensorial.com.br

Re: django problem at dreamhost

2006-02-21 Thread Julio Nobrega
om svn and > that hasn't cleared it up. Has anyone else had a problem like this? > > Thanks. > -- > Lach > Personal: http://illuminosity.net/ > Business: http://taravar.com/ > > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-

Re: admin-logout + opera8.52?

2006-02-21 Thread Julio Nobrega
seems that i am unable to log out using opera8.* from > the admin interface. > > so before i start digging deeper...does anyone else has this problem? > > thanks, > gabor > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~--

Re: MySQL + FastCGI + Dreamhost = Trouble with foreign key in admin

2006-03-02 Thread Julio Nobrega
e: OperationalError > Exception Value:(1093, "You can't specify target table > 'polls_choices' for update in FROM clause") > Exception Location: > /home/coowwa/local/lib/python2.4/site-packages/MySQLdb/connections.py > in defaulterrorhandl

Re: Attn. Dreamhost users

2006-03-07 Thread Julio Nobrega
ry "killall python" or "killall python2.4" I receive "no > process killed". > Why? > When I use ps ax to see the process number, I can see a lot of > /usr/bin/python django.fcgi and I do not know what is the right process > to be killed.A

Re: How to find out id of the first record?

2006-03-08 Thread Julio Nobrega
to let you do > this, though it is possible that the database will return the records in > creation order anyway (someone correct me here). > > -Andy -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message b

Re: __init__.py use for ?

2006-03-09 Thread Julio Nobrega
://www.faqts.com/knowledge_base/view.phtml/aid/4221 -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send em

Re: Advice on developing with django for a team of 10+

2006-03-16 Thread Julio Nobrega
e. It also means a lot of django trunk duplication on each > machine (I guess we could do an 'svn up' where the target is our own > django installation on the server - nice thought!). We have very little > experience of using svn etc however. -- Julio Nobrega - http://www.inercias

Re: Advice on developing with django for a team of 10+

2006-03-16 Thread Julio Nobrega
d uploads the file to the production server. It takes a minute from svn revision approved to real world server, and that's good. On 3/16/06, tonemcd <[EMAIL PROTECTED]> wrote: > > Hi Eric! ;) > > 3. that's a new one on us ;) (although Julios' comment on usin

Re: Advice on developing with django for a team of 10+

2006-03-17 Thread Julio Nobrega
On 3/17/06, Jeremy Jones <[EMAIL PROTECTED]> wrote: > Actually, if you do ``svn export > http://path.to.svn.server/path/to/repository/`` > it'll strip out all the .svn cruft for you. I didn't know that Jeremy, tnx! -- Julio Nobrega - http://ww

Re: Joining foreign keys backwards?

2006-03-18 Thread Julio Nobrega
t = choices.get_list(choice__exact = "overeasy", select_related = True) for choice in choice_list: poll_list.append(choice.get_poll()) The select_related = True argument will JOIN polls and choices avoiding a new database hit on every .get_poll() -- Julio Nobrega - http

Re: intermediate table, how do i ensure no two similar rows exist.

2006-03-19 Thread Julio Nobrega
e row. > any idea how to achieve this ? appart from check / erase /add > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django use

Re: django pastebin

2006-03-20 Thread Julio Nobrega
On 3/20/06, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote: > > hi, > dunno if it is possible, but could the default language in django > pastebin be set to python instead of php? > -- I get Python already selected when I access http://django.pastebin.com/ --

Re: Error after python manage.py runserver

2006-03-21 Thread Julio Nobrega
x27;opensourceadmin.urls' > > Was I supposed to rename, copy or edit urls.py? -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django

Re: FileField not uploading

2006-03-21 Thread Julio Nobrega
his on httpd.conf: SetHandler None On 3/21/06, layik <[EMAIL PROTECTED]> wrote: > > Hi all, > I am using: > > Windows xp > Django 0.91 > Django's own development server. > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~

Re: Form field

2006-03-25 Thread Julio Nobrega
onistL wrote: > > > > > Is it possible to have a field in a form that a user can not edit? > > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to t

Re: FileField permissions

2006-03-25 Thread Julio Nobrega
what this boils down to is to map a logical > URL such as myapp/ to a view that checks permission first > then retrieves the file from MEDIA_ROOT/. But how to do > that? Appreciate help! > > > > -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~-

Re: Highlighting Search Results

2006-03-27 Thread Julio Nobrega
question came up in #django and I was wondering what the best > solution may be: how to highlight search results. > > Here are some possibilities: > 1. Add in around the returned results > for the searched words in the view. > 2. Template filter > 3. Template tags > > P

Re: Overthinking urls.py?

2006-03-27 Thread Julio Nobrega
What about mod_rewrite? And urls.py (afaik) can serve two different paths to the same view. On 3/27/06, Doug Van Horn <[EMAIL PROTECTED]> wrote: > > When drawing a link to that view in HTML from another app I would 'hard > code' that URL as, say, 'href="/foo/

Re: Overthinking urls.py?

2006-03-27 Thread Julio Nobrega
abstraction of the data... the > scheme... etc. Models should have nothing to do with the URL for an > object! -- Julio Nobrega - http://www.inerciasensorial.com.br --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Gr

Re: mini-wiki advice

2006-04-01 Thread Julio Nobrega
> title = meta.CharField(maxlength=100) > body = meta.TextField() > pubdate = meta.DateField(auto_now=True) > author = meta.ForeignKey(User) > history = meta.OneToOneField('self', nil=True) > > Is it possible to do a OneToOne with 'self'? I

Re: Slow initial startup on Django project

2006-04-22 Thread Julio Nobrega
e +1 on an "official" Django support (like they have for RoR) would help. On 4/21/06, Clint Ecker <[EMAIL PROTECTED]> wrote: > Any ideas about what causes this "slow startup" phenomena? Is it just > inherent to fcgi or is there something wrong with how I'm doing bu