> 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
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
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
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
>
>
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
--~--~-~--~~~---~--~
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
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
&
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
"
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
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
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
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
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
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
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
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
--~--~
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
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
--~--~-~--~~---
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
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
--~--~-~--~~---
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
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
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
--~--~-~--~~
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
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?
>
>
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
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
>
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
--~--~-~--~---
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
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
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
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
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
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
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
. 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
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
>
>
> &
/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:/
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
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
--~--~---
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
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
--~--~-~--~~~---~--~-
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
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
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
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?
>
>
> 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.
--
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
, 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 <
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
--~--~-~--~~~
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
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
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
--~--~-
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
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
--~--~-~--~~~---~-
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
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
.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
--~--~-~--~~--
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
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
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
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
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:
<>
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
e.
> Is this a bug with MySQL?
>
>
--
Julio Nobrega - http://www.inerciasensorial.com.br
d only: mysqladmin create dbname
>
> Could that be the problem?
>
>
--
Julio Nobrega - http://www.inerciasensorial.com.br
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
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
ase, and if any errors are found, please
let me know?
Many thanks,
--
Julio Nobrega - http://www.inerciasensorial.com.br
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
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
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
be the most practical way for people who have dealt with
> this?
>
>
--
Julio Nobrega - http://www.inerciasensorial.com.br
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
--~--~-
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
--~--~-~--~~--
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
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
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
://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
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
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
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
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
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
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/
--
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
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
--~--~-~--~~
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
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
--~--~-~--~~-
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
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/
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
> 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
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
94 matches
Mail list logo