Hi Django,
I am not sure how this could be done, so on the admin display, on one
of the columns I would like to provide select tab. If i select one of
the options,
it should update some other column on the display.
Firstly, whats the clean way for adding select boxes on the admin
display, it coul
Hi all,
I'm trying to use Djangos new Raw feature to run a custom SQL and
return back a list of objects. This works fine however I then want to
paginate to present the results as a list. The RawQuerySet has no
length value it seems to be able to paginate. Is there a recognised
way of achieving thi
Hi Django,
I would like to represent my db/model content in the form of
pi-charts/graphs. Is there any django python module that already
exists ?
--RJ
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-
The following may help you
http://www.3captus.com/download/django_calendar
http://code.google.com/p/django-gencal/
http://www.ohloh.net/p/django-calendar
http://www.simonharrison.info/django-calendar/
Thanks & Regards,
Jiffin Joy Akkarappatty.
On Wed, Jun 2, 2010 at 4:56 AM, Dinesh Babu
I have had some complex pages for managers on my site that always had
problems. Now I'm trying to replace them with admin forms. I have
discovered that you can sort based on "follow" notation, and this can
include aggregates. I thought I'd post this undocumented feature: is
it a "real" feature -- s
I have modified my admin site so that a state/province will be loaded
through an AJAX call when the country is chosen. I had
@login_required(redirect_field_name='/login/') called just before the
view so I could prevent unauthorized AJAX requests. This no longer
works after I upgraded from 1.1 to 1.
Hi,
I've a situation where the following functionality is desirable..
- one central model is used and interacted with by users
- forms (multiple on multiple sites, pick a number for each.. 5 or
50, doesn't matter) are submitted by anonymous users and associated
with this central model.. so thes
Why don't you try to fix this incompatibility? You can help South project by
doing this. It isn't recommended to use the 1.2 since 1.2.1 is the same with
bugfixes. But you can grab the 1.2 code using SVN. Just checkout this URL:
http://code.djangoproject.com/svn/django/tags/releases/1.2/
Atenciosa
I am having some trouble with South database migration using Fabric. I
tried several machines, one works and the other 3 doesn't work. The
only difference is that the machine that's working is using Django
1.2, and the others are using Django 1.2.1.
Somehow I couldn't find the Django 1.2 tarball o
I have a models that represents an event.
I want it to have a field that represents the days of the week that
the event occurs. This is easy if all you need to be able to do is be
able to select one day, but if you want to select multiple, the right
way seems to be to create a DayOfWeek object, cr
Hello
Django has a really useful API for associated media files with Forms,
Widgets, etc.
http://docs.djangoproject.com/en/dev/topics/forms/media/#paths-in-media-definitions
This is very good when dealing with just one app.
However, many apps I write are a collection of multiple apps. These
apps
Can someone give me a developed Online Calendar application using
Django? I have a project in my Master's. I have no idea in Django. It
will be really helpful if someone really helps me.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Picking up the thread started by itsnotvalid on 21OCT08 ...
Like him (her), I have three groups of users. They self-register
centrally (at project level) and assign themselves to group A, B or
C. Once logged on. data input should be managed by one of three
corresponding applications. All in one
Tippr.com is a fast growing venture funded internet company that
provides technology that helps local merchants acquire new customers.
Think of Groupon.com, livingsocial.com or buywithme.com on steroids
and not sucking. We are hiring passionate, dedicated and brilliant
engineers to join the core en
Using the alias directive is much more easier and straighforward, for
me at least. Here's an example configuration
upstream django-backend
{
server testsite.local:4080;
}
server {
listen 80;
server_name testsite.com;
location /{
proxy_re
On Jun 1, 10:40 pm, Corey wrote:
> I am a Django newbie and Im using Django to build an application. Im
> using Apache/mod_wsgi and Nginx as a proxy server to serve static
> files.I am running Nginx on port 80 and have all the Django pages
> forwarded to Apache. I have my media folder in the appli
I am looking to provide search. All content is in MYSQL DB in innodb
tables. That rules out Mysql full text search option, which would have
been my first choice.
Other option I am looking at it is Sphinx search with django-sphinx.
Any experiences with it good and bad?
Other thing I looked at is H
thanks, guys
On Mon, May 31, 2010 at 5:23 AM, Russell Keith-Magee
wrote:
> On Fri, May 28, 2010 at 12:59 PM, Rolando Espinoza La Fuente
> wrote:
>> I'd added a patch that adds the --noinput option to testserver command:
>> http://code.djangoproject.com/ticket/12619
>
> I've just marked that tick
I use jython-django to develop web application. The file upload
(mutlipart/form-data) works in django development server. But when I
deployed the war file to tomcat, the file upload function failed and
the request.FILES['file'] field showed "empty". Please help and
provide solution.
Many Thanks!
I am a Django newbie and Im using Django to build an application. Im
using Apache/mod_wsgi and Nginx as a proxy server to serve static
files.I am running Nginx on port 80 and have all the Django pages
forwarded to Apache. I have my media folder in the application root
folder named media1. I cannot
On Tue, Jun 1, 2010 at 12:57 PM, Luca Casagrande
wrote:
> Is there a way to create a loop changing only the model name?
geo_models = [model1, model2, model3, ...]
for m in geo_models:
m.objects.filter(geom__intersects=fs[0].geom)
--
You received this message because you are subscribed to th
Hello everybody,
using GeoDjango I need to do a spatial intersections through a lot of
different model (polygon):
output1 = model1.objects.filter(geom__intersects=fs[0].geom)
output2 = model2.objects.filter(geom__intersects=fs[0].geom)
...
Where fs is a QuerySet output.
Is there a way to create a l
This post from Graham Dumpleton (wrote mod_wsgi) goes into detail of
why that happens.
Extremely useful reading...
http://blog.dscpl.com.au/2010/03/improved-wsgi-script-for-use-with.html
Thanks,
Richard Shebora
On Tue, Jun 1, 2010 at 10:15 AM, Thomas Lionel Smets wrote:
>
> If I put at the end
On Mon, May 17, 2010 at 2:00 AM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
> On Mon, May 17, 2010 at 7:06 AM, cool-RR wrote:
> > I'm just working on a book for my own project, and I was wondering: Is
> > the Django book written in ReST/Sphinx? I am considering whether I
> > should wri
Thanks, Graham.
We'll keep using this method and I'll continue this thread if we run
into problems.
I appreciate the insight re: Python's implementation of thread locals.
I tend to agree re: security -- thread locals only appears to be a
security threat if a system has already been seriously comp
Thanks, Bill. I really had a hard time wrapping my head around the
ImageField object model. I guess I am now OK, but I had to do more
seek(0)'s than I wanted. It's sort of working and properly
deduplicating images and thumbnails.
I'll check the django-filebrowser product, tidy up what I have done
I'm following the praveen tutorial as well but I'm receiving the
error:
"SiteProfileNotAvailable at /accounts/register/"
What am I missing here.
On May 31, 1:32 pm, Pankaj Singh
wrote:
> Thanks my problem has been resolved :)
--
You received this message because you are subscribed to the Goog
Perhaps see the django-filebrowser product. It may have things that
you don't need, but
makes thumbnails, and associates them with an image field, so it is at
least a sample
of what's involved.
Bill
2010/5/31 Ricardo Bánffy :
> Hi folks
>
> I am having huge problems wrapping my head around the I
On Jun 1, 1:24 am, Michael Davis wrote:
> I'm trying to implement a simple grade book application using a
> modelformset where the students' names are READONLY and the grades are
> the only thing the teacher can edit. I've been looking for sample code
> to implement the readonly portion and one fe
If I put at the end of my settings.py file, the following code :
if (DEBUG):
print "Project name : " + PRJ_NAME
print "Root directory : " + ROOT_DIR
The lines are printed twice :
Project name : XXX
Root directory : /Users/tsmets/Documents/python/XXX/site/
Project name : XXX
Root directory
Its been a while since I worked with a live db and unit tests for this
sort of thing, but I think this is how we did it:
Put the tests in a tests.py file in an app like normal, but for the db
test, inherit from the python test framework's UnitTest. That test
will not get a special test db, so be ve
Hi,
As I said in my previous mail, you should bring this to the django-
admin-tools mailing list:
http://groups.google.com/group/django-admin-tools/
> My guess is documentation is wrong.I think admin_tools media folder
> should be inside django.contrib.admin.
No, the documentation is ok, please
Thank you very much!
On Jun 1, 1:32 pm, Massimiliano della Rovere
wrote:
> here is how I added the action to create new items in the Addressbook
> (Rubrica) to the normal change list existing admin page:
>
> in admin.py
>
> class RubricaAdmin(admin.ModelAdmin):
> list_display = ('cognome'
Hi,
why do you use tomcat or mod_python? Please try mod_wsgi, if
you use apache.
Thomas
PM wrote:
> Hi ,
>I am new to Django.
>
>I have developed a tool using
> Python CGI. I have been successfully deploying it using Apache Tomcat
> 5.5, from cg
Update: weirdly enough, this does work:
for r in Model.objects.raw('SELECT model.* FROM model INNER JOIN
othermodel ON othermodel.model_id = model.id'):
print r
But model.id does not.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post
Thumbs up from me!
On Jun 1, 4:31 pm, James wrote:
> Pressed the wrong button and posted prematurely ... :-/
>
> Hi,
>
> http://www.myjobseek.net/is a tool for job seekers to organise their
> job hunt, storing details of jobs applied for and applications, making
> it easy to re-use covering lette
Pressed the wrong button and posted prematurely ... :-/
Hi,
http://www.myjobseek.net/ is a tool for job seekers to organise their
job hunt, storing details of jobs applied for and applications, making
it easy to re-use covering letters and so on. To-do lists and
reminders are included to. However
here is a getting started (good practices) guide to configuring a
django production server. A little old now, but the fundamentals still
apply.
http://lethain.com/entry/2009/feb/13/the-django-and-ubuntu-intrepid-almanac/
On Tue, Jun 1, 2010 at 12:09, Patrice wrote:
> On May 31, 5:35 pm, AD wrote
Hi,
http://www.myjobseek.net/ is a tool for job seekers to organise their
job hunt, storing details of jobs applied for and applications, making
it easy to reuse covering letters and so on. However, as I only
develop it when I'
--
You received this message because you are subscribed to the Googl
here is how I added the action to create new items in the Addressbook
(Rubrica) to the normal change list existing admin page:
in admin.py
class RubricaAdmin(admin.ModelAdmin):
list_display = ('cognome', 'nome', 'numero_cellulare',)
list_filter = ('cognome', 'nome', 'numero_cellul
On May 31, 5:35 pm, AD wrote:
> I went ahead and downloaded the Django 1.2.1 tarball, untarred it and
> ran
>
> sudo python setup.py install in the directory.
>
> I needed to make one small change in my Apache httpd.conf file, but
> otherwise it all seems to be working smoothly!
Before I go for t
Hi,
I love the new raw() function to write custom sql and get back ORM
objects. However, when using joins, things get weird.
As long as you use "select *", everything works fine:
for r in Model.objects.raw('SELECT * FROM model INNER JOIN othermodel
ON othermodel.model_id = model.id'):
print
Cheers,
I have the following question regarding layout conventions.
Let's assume I have:
- app "Foo"
- app "Bar"
- app "usermanager"
Now I'd like to create some kind of Control Center for the users,
where they can manage their preferences of "Foo" and "Bar".
The user accounts are managed by "use
Hi ,
I am new to Django.
I have developed a tool using
Python CGI. I have been successfully deploying it using Apache Tomcat
5.5, from cgi/bin directory. After knowing the benefits of Django I
have planned to complete the remaining modules using Django
I decided this problem. The matter of it was SITE_ID in settings.py.
The facto of the matter that Flatpages from box has default site
example.com as default. If you create new your site before deleting
example.com you get SITE_ID: 2 and etc for your site. After that you
can delete example.com but y
well you can do it with a minimal overhead...
copy the django/contrib/admin/templates/change_form.html file to your
project/templates/admin/ folder.
The line with {% submit_row %} is what your are searching for: add
whatever you need.
Unisng the context parameter, pass to render_change_form whate
Thank you, Shawn.
I just wander, why auto-deleting files was not included in django as
well? Just your opinion?
On May 30, 6:32 am, Shawn Milochik wrote:
> You can override thedeletefunction of your model to take care of this.
>
> Alternatively, if you want to do this for a bunch of different mo
I would like to add my own custom operations in addition to standard
"save and add another", "save" etc'
Is it supported?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsu
Greetings Bruxo, I do not speak Portuguese but being Italian I
understood more or less your post.
It seems you included "django.contrib.blog" in settings.py, but there
is no "blog" module inside django.contrib.
If "blog" is the name of the module you are developing, just add
'blog' (not django.con
49 matches
Mail list logo