Thanks for the Tip. The solution worked.
Here it is for the benefit folks like me in the future.
This works for the 2 projects on this server accessed via
http://localhost/testsite/admin/
&
http://localhost/mysite/admin/
And also works with the development server as well.
url.py modified wi
I've actually just put in a little mod to cause labels to show up in
red when there is an error (and requried fields are bold). We'll
expand on that once the new look & feel is up.
There are now 6 sites listed at www.djangosites.org which has fleshed
out the front page a bit. Thanks for submittin
On Jun 14, 3:37 pm, olive <[EMAIL PROTECTED]> wrote:
> in fact there was an error, but it didn't catch my eyes.
>
> You should make it more visible.
Once wathi's design is online the error messages etc should be much
clearer. Thanks for the feedback!
Ross
--~--~-~--~~~-
>
>
> SetHandler None
>
>
Regarding the plan admin:
Try adding a symlink called 'media' between your project directory
and /some/path/django-src/django/contrib/admin/media/ -- or you could
alternatively setup an alias in the apache config to achieve the same
thing.
--~--~-~--~
I am new to both django/python
My problem: When I uncommented the admin url for 2 separate django
projects on my PC, the following URL
http://localhost:8000/admin/
worked for these separate projects on the development server
On the apache server though
http://localhost/testsi
Ross,
in fact there was an error, but it didn't catch my eyes.
You should make it more visible.
Nice work anyway,
Olivier.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gr
I've been trying to get django up and running on a shared account, and
i'm having troubles - I have done everything I think I'm supposed to
as per the setup documentation, but it just seems to hang when I try
to access the page I setup.
Here is a copy of my config and the error message I receive:
Hello,
I am about to try your module and I haven't downloaded it yet but I
have a few questions and some suggestions. I have my own CAPTCHA
module too which is slightly different from yours in some respects:
1. It does not need a dedicated directory to save image files. Images
are created in-mem
On Jun 14, 9:30 am, "Dirk van Oosterbosch, IR labs"
<[EMAIL PROTECTED]> wrote:
> 3. The docs say I should have Apache+mod_python as preform MPM as
> oposed to worker MPM. How do I find out which of those two I've got
> running here?
> [Thu Jun 14 00:36:33 2007] [notice] mod_python: Creating 8 sess
Michael Trier wrote:
> Nice work. You need someone to spice up the UI, but the content rocks.
> Great job.
>
>
Thanks
And yeah, I'm not a UI design guy. Given a design I can code it, but I
suck at coming up with the design from scratch.
So if anyone on this list wants to donate a nice desig
Nice work. You need someone to spice up the UI, but the content rocks.
Great job.
Michael
On 6/13/07, Bryan L. Fordham <[EMAIL PROTECTED]> wrote:
>
> Jeremy Dunck wrote:
> > Nice. Screen-scraping the votes, or is there actually an API?
> >
> Screen scraping, I'm afraid. Georgia was easy, which
Is this possible? The old forms module allowed you to render the date
and time separately in the template for the form. Now it seems this
is no longer possible. So it isn't possible for instance to render
the date on one row of a table and the time on the following row just
below it like:
{{for
Hello,
Django newbie here.
I just started with learning and trying Django. I quite like it.
I'm developing a little site on my Powerbook, but now I want to
deploy it on a remote machine and I have some problems. I have three
issues.
1. First I tried to use manage.py runserver on the remote ma
On Jun 13, 8:38 pm, "Patrick Quinn" <[EMAIL PROTECTED]> wrote:
> I'd like to maintain a resource (python object) between multiple
> requests and multiple users. In this case, I'd like my app to
> maintain a Jabber connection which is established when it's needed and
> kept as long as possible. T
simonbun wrote:
> If your situation allows it, you could de-normalize and save the count
> result in a separate table. Then you need to adjust the count whenever
> you add / delete a row ofcourse.
We keep a set of 'stats' tables which count various things in the
database (nr of comments, number
Greetings. I am about 75% through creating a django application as a
new section of my company's site, www.etsy.com. It's basically a CMS,
something that I know django is especially well suited to (tho I can
tell it would work for nearly any domain).
Recently, my site ops team started asking me q
On 13 jun, 15:35, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
>
> yes, I tried that too. I tried DATE_FORMAT and DATETIME_FORMAT with.
> Currently I've got this in my settings file:
> DATETIME_FORMAT = ' d-m-Y '
>
> But the result is a ISO style too
>
arg! I wrote an ungly hack to do that :(
da
Nevermind. I should have searched a little more. I found this which
explains it all: http://www.djangoproject.com/documentation/db-api/#backward
I can't wait for my Django programming book to be delivered.
On Jun 13, 2:24 pm, vhg119 <[EMAIL PROTECTED]> wrote:
> To clarify, is there a built in
To clarify, is there a built in way of doing
manName = "ford"
m = Manufacturer.objects.filter(name = manName)[0]
c = m.list_of_cars()
rather than doing another search and filter through Cars?
On Jun 13, 2:20 pm, vhg119 <[EMAIL PROTECTED]> wrote:
> Say I have these two models:
>
> class Manufa
Say I have these two models:
class Manufacturer(models.Model):
name = models.CharField( maxlength=30)
class Car(models.Model):
manufacturer = models.ForeignKey(Manufacturer)
name = models.CharField( maxlength=30)
As you can see, a car is made by one manufacturer. One manufacturer
David Larlet wrote:
> 2006/12/7, [EMAIL PROTECTED] <[EMAIL PROTECTED]>:
>> I've been playing with the sitemap stuff and am finding it to be quite
>> slick. I do, however, have some questions about some unusual cases.
>>
>> 1)It works beautifully for listing all the detail pages that make up a
>> l
I have a custom context processor that is in my settings file, so it
is being called on each request. When making any request, I receive
the following error.
Traceback (most recent call last):
File "c:\Python24\lib\site-packages\django\core\handlers\base.py" in
get_response
77. response = call
I know that, but generic view needs a template created by hand (or I
missed something). I want to automatically generate some html code (as
new forms do).
Thanks for answer.
On 13 Cze, 22:33, "Joseph Heck" <[EMAIL PROTECTED]> wrote:
> That kind of mechanism doesn't exist within Newforms. If you w
That kind of mechanism doesn't exist within Newforms. If you want to
display a representation of an model object, you're better off looking
at generic views for that sort of functionality.
-joe
On 6/13/07, eXt <[EMAIL PROTECTED]> wrote:
>
> Hello
>
>I use new forms library in my application
Hello
I use new forms library in my application (to be honest - it is my
first django application) and I can't find a method to render the form
as read-only (something like myform.as_table(readonly=True)). When I
say read-only I mean no tags in html, just field values.
Is it possible or ma
On 13 jun, 14:16, "Jacob Kaplan-Moss" <[EMAIL PROTECTED]>
wrote:
>
> Have you tried the DATE_FORMAT setting
> (http://www.djangoproject.com/documentation/settings/#date-format)?It
> doesn't change the representation stored in the DB, but *does* change
> how Django displays the date.
>
yes, I tri
Am Wed, 13 Jun 2007 18:47:10 -
schrieb JustJohnny <[EMAIL PROTECTED]>:
> I just installed your captcha module. I'm not sure if it was me, my
> setup or the code but I kept getting a 'help_text' error.
That is very strange - help_text is part of django's newforms fields. I
tried to reproduce
On 13 jun, 12:56, "Jeremy Dunck" <[EMAIL PROTECTED]> wrote:
> On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
> ...
>
> > all this thanks to other libraries (mx tools)
>
> I'm not sure if it'll help, but psycopg2 doesn't rely on mx.
Thanks for responding, I tried that but postgresql_psyco
Martin,
I just installed your captcha module. I'm not sure if it was me, my
setup or the code but I kept getting a 'help_text' error. I ended up
removing all references to help text from captcha/__init__.py", line
169 and other areas.
After I got past that, I discovered that I needed to install
I'd like to maintain a resource (python object) between multiple
requests and multiple users. In this case, I'd like my app to
maintain a Jabber connection which is established when it's needed and
kept as long as possible. This way the app can IM users as needed
without having to go through the
YAHOO MAIL - UNLIMITED STORAGE
Yahoo has just announced to make Yahoo Mail - Unlimited Storage...
Read complete announcement here
http://thinktarget.net
--
www.thinktarget.net
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Googl
On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
> I'm getting some problems with style DateTime field because in my
> country we don't use ISO style, we use ISO, DMY instead.
Have you tried the DATE_FORMAT setting
(http://www.djangoproject.com/documentation/settings/#date-format)? It
doesn'
On 6/13/07, Mario Gonzalez <[EMAIL PROTECTED]> wrote:
...
> all this thanks to other libraries (mx tools)
I'm not sure if it'll help, but psycopg2 doesn't rely on mx.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I'm getting some problems with style DateTime field because in my
country we don't use ISO style, we use ISO, DMY instead.
I've got postgres installed and after activate log_statements it
confirmed. Always show up:
LOG: statement: SET DATESTYLE TO 'ISO'
LOG: statement: BEGIN; SET TRANSACTION
Has anyone investigated or used Spread (spread.org) as a messaging bus
between systems, either using Django or not?
I am looking for something to transport messages between systems -
basically a message queue mechanism. Spread seemed like it might do
the trick, and has some reasonable python libr
Forgive this question if the answer is overly obvious; but I have not yet
figured it out. I want to use the horizontal M2M widget from the admin
interface in my own template. The model looks like something this:
class Foo(models.Model):
bars = models.ManyToManyField(Bar, filter_interface=mod
Nis Jørgensen skrev:
>
> What is missing above is creating INSERT/UPDATE/DELETE rules for the
> "entity" view. I hacked together the ones below - they seem to work,
> but there might be subtle points of how this works that I have not
> understood.
>
[...]
> CREATE RULE entity_insert as ON INS
Thanks Chris. I think this is going to help a lot. I might simplify
the model a little and update the wiki so others with the same
question can find a quick solution.
Sebastian Macias
On Jun 12, 6:33 am, "Chris Moffitt" <[EMAIL PROTECTED]> wrote:
> You can see the category model we use in Satchm
Jeremy Dunck wrote:
> Nice. Screen-scraping the votes, or is there actually an API?
>
Screen scraping, I'm afraid. Georgia was easy, which is nice since it
was the logical place for me to start (I'm near Savannah, Ga.). Some
other states, for instance South Carolina, have their Senate/House
Udi wrote:
> If I were you I'd get my hands on pictures of all of the "critters"
> and put them next to their names. It'd spice up the UI a bit.
Good idea. I've considered it, but now I think I definitely will.
Thanks
--B
--~--~-~--~~~---~--~~
You received this m
Thanks for giving chance to be part of this exciting group
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from
On 6/12/07, Bryan L. Fordham <[EMAIL PROTECTED]> wrote:
> It's a site to track how you state senators and congressmen vote. Right
> now it only has information for Georgia, but I'm working on adding the
> next state (namely, South Carolina) right now.
Nice. Screen-scraping the votes, or is there
Super ... thanks Malcolm!
I'll start later today.
-Sandy
PS> Congratulations ... looks like a great addition.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send emai
hello everyone,
Say I have
Model1
Model2
Model3
And generic relations pointing to these...
Like, say, Comments or Tags
When deleting Model1, 2, 3 I obviously need to delete all the generic
ones! Is there any smarter way to go about this except for overriding
delete( ) and doing it by hand?
Nis Jorgensen skrev:
> Paul Rauch wrote:
>
>> Is there a way to reduce execution time by counting objects?
>>
>> it's even splitted in two queries now, with only 2474487 entries ;)
>>
>> in django I use "model.objects.count()"
>>
>> SELECT COUNT(*) FROM "rainbowtables_hashes":34.552
>>
>> SELEC
You just need something like:
{% for p in object.events.all %}
{% if p.event_name %}
{{ p.event_name }},
{% else %}>
{% endif %}
{% endfor %}
You could put the whole row in the IF, if you like.
On Jun 12, 8:55 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I
On Thursday 07 June 2007 08:58, [EMAIL PROTECTED] wrote:
> I'm trying to push a beta build of an App I wrote to my Apache server
> but, I'm running into some problems (I'm pretty sure it's permission
> related)
>
> Here's the details.
[snip]
> /home/thebest/TheBest/alpha1/TheBest is the root
On Wed, 2007-06-13 at 23:05 +1000, Malcolm Tredinnick wrote:
> On Wed, 2007-06-13 at 05:50 -0700, ZebZiggle wrote:
[...]
> >
> > 3. I've read http://code.djangoproject.com/wiki/UnicodeBranch but are
> > there any more docs/examples of the conversion process available.
>
> Read the UnicodeBranch
On Wed, 2007-06-13 at 05:50 -0700, ZebZiggle wrote:
> Hi, I'm really stuck on a bug (decode exceptions on attempting to save
> utf-8 to postgres text fields) and suspect I'm going to need the
> unicode branch to solve it. But I have some questions:
>
> 1. When is it likely that this branch will b
Hi, I'm really stuck on a bug (decode exceptions on attempting to save
utf-8 to postgres text fields) and suspect I'm going to need the
unicode branch to solve it. But I have some questions:
1. When is it likely that this branch will be merged with trunk?
2. How would you rank the stability of t
On Wed, Jun 13, 2007 at 12:29:10AM -0700, MartinWinkler wrote:
>
> > I don't recall hearing a good argument for *not* delivering the images
> > dynamically, without saving them to disk. Why not do it that way?
>
> Since I do not want the developer to change anything in urls.py or add
> some midd
Hi all,
I just uploaded the captcha module I recently mentioned to
http://django.agami.at/media/captcha/
Please take a look at it and tell me what you think of it. I really
hope this module can be put into the trunk on django.contrib some day.
Maybe one of the lead developers can take a look too
Hello,
Glad to see the issue with large file uploads is being addressed. I'll
have to wait until things settle with regards to this issue and until
the patch finds itself in an official stable release.
As for sessions, sounds like a good idea to implement the defense
against session DoS as middl
On Wed, 2007-06-13 at 07:31 +, Dushyant Sharma wrote:
> how can i use it with HttpResponseRedirect()
>
> like if i wish to use it as return HttpResponseRedirect('/someurl',
> RequestContext(request))
You don't pass a context to HttpResponseRedirect because it doesn't
render a template.
Howe
On Wed, 2007-06-13 at 00:17 -0700, womble wrote:
> Thanks for the response Malcolm- comments/follow-up inline below.
>
> >
> > You'll need to do manual transaction management, for a start, just like
> > you would with any two processes from remote machines accessing the same
> > data. The only p
On 6/12/07, Rob Hudson <[EMAIL PROTECTED]> wrote:
>
> One thought I had to counter that would be to group small images
> together, then medium sized images, then large images. Depending on
> how many images your website actually uses, this would need to be
> tuned, but maybe it would help alleviat
just to remind munich based django devs, see you tomorrow hoepfully
all the best
wolfram
-- Forwarded message --
From: Wolfram Kriesing <[EMAIL PROTECTED]>
Date: Jun 5, 2007 5:06 PM
Subject: Django meetup in Munich
To: django-users@googlegroups.com
Hi devs in Munich,
we are a
On 6/13/07, womble <[EMAIL PROTECTED]> wrote:
> It sounds like we should be looking into transactions, but I can't find
> any examples regarding how to set them up, what will happen when a
> transaction fails (e.g. try to update a row that has been locked by
> another db client), and how to handle
Hi James, thanks for the reply.
It sounds like we should be looking into transactions, but I can't find
any examples regarding how to set them up, what will happen when a
transaction fails (e.g. try to update a row that has been locked by
another db client), and how to handle it.
It's probably p
how can i use it with HttpResponseRedirect()
like if i wish to use it as return HttpResponseRedirect('/someurl',
RequestContext(request))
is it possible
On Jun 13, 5:42 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2007-06-12 at 13:27 +, Dushyant Sharma wrote:
> > i am buildin
> I don't recall hearing a good argument for *not* delivering the images
> dynamically, without saving them to disk. Why not do it that way?
Since I do not want the developer to change anything in urls.py or add
some middleware or cookies - what would be the URL of this dynamically
generated ima
Thanks for the response Malcolm- comments/follow-up inline below.
>
> You'll need to do manual transaction management, for a start, just like
> you would with any two processes from remote machines accessing the same
> data. The only point of coordination is the database, so you need to
> work t
62 matches
Mail list logo