I'd like to be able to do something like the following in views.py:
return render_to_response( 'my_app/my_page.html/#my_anchor',
context_instance=RequestContext( request ) )
The above obviously doesn't work because it's just a filepath, not a
url. But basically, when I return from a view to a p
On Thu, 2007-03-15 at 06:51 +, mralokkp wrote:
> Kindly execute the code that i wish to do from django it self
>
>
>
> # Simplyfied date format change that I wish to use in django
> import datetime
> t = datetime.date.today()
> print t.strftime("%Y,%m,%d")
> print "My Required Date Format
Kindly execute the code that i wish to do from django it self
# Simplyfied date format change that I wish to use in django
import datetime
t = datetime.date.today()
print t.strftime("%Y,%m,%d")
print "My Required Date Format is "
print t.strftime("%d,%m,%Y")
Can't i call this program to djang
On Thu, 2007-03-15 at 05:58 +, mralokkp wrote:
> Thanks James but the spaces had been removed
> If Spaces it gives template error.
> If not it gives the former error
> says
> AttributeError at /registration/
> 'FormFieldWrapper' object has no attribute 'month'
> had resolved
Reading the error
Thanks James but the spaces had been removed
If Spaces it gives template error.
If not it gives the former error
says
AttributeError at /registration/
'FormFieldWrapper' object has no attribute 'month'
had resolved
But not able to change the date format still
I tryed to poke the source code of
Hi guys
When you click the "Save and Add Another button" in the Admin, the
values are cleared and all need to be re-entered for the new object.
How would I go about saving that existing object and then
transferring the field values to the new object. This would save a
lot of time for some
On Mar 14, 7:27 pm, "[EMAIL PROTECTED]" <[EMAIL PROTECTED]> wrote:
> I've just added an entire page to the wiki about tutorials
> (http://code.djangoproject.com/wiki/Tutorials), with subcategories etc.
Very nice, especially the categories. Thanks!
--
Jeff Bauer
Rubicon, Inc.
--~--~-~-
On 3/14/07, Jens Diemer <[EMAIL PROTECTED]> wrote:
>
> Here some information: I'm rewrite PyLucid CMS: http://www.pylucid.org
> The emphasis is thereby: Using PyLucid in a shared Webhosting
> environment. So I implement a complete Web-Based installation.
>
> I write a "init DB data" routine:
Firs
I have 2 classes:
#
# SquadSelector Class
#
class SquadSelector(models.Model):
fixture = models.ForeignKey(Fixture, verbose_name="Fixture",
core=True, help_text="Fixture to select squad for.")
gk = models.ForeignKey(Player, verbose_name="Goal Keeper
On 14-Mar-07, at 10:46 PM, [EMAIL PROTECTED] wrote:
> how do people deploy Django projects with subversion? We did a simple
> checkout at a client's and when we need to do updates, we copy his
> settings.py file somewhere outside the directory, do the svn update,
> we copy the settings.py
neve
Also, keep in mind that you can tell svn to ignore a particular file
even though it is located in a working directory. We keep a settings.py
under svn control, and have it import a local.py which is ignored. This
way, each developer can make local modifications without fear of
accidentally po
Hello Djuggernauts,
I've just added an entire page to the wiki about tutorials (http://
code.djangoproject.com/wiki/Tutorials), with subcategories etc.
Please add any that I've missed to this page (and feel free to put
them into two or more subcategories if warrented).
Thanks!
Simon
--~--~---
On Thu, 2007-03-15 at 11:07 +1100, Mark Jarecki wrote:
> Hi,
>
> I was wondering how you would go about saving a model instance
> multiple times (having seperate db entries) while changing just one
> or two fields each time. I'm wanting to use a single series of inputs
> that define the par
Hi,
I was wondering how you would go about saving a model instance
multiple times (having seperate db entries) while changing just one
or two fields each time. I'm wanting to use a single series of inputs
that define the parameters to create/save multiple event objects to
the database.
J
On 3/14/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote:
>
> Hi everybody,
>
> hope you're all good out there.
>
> I did a few progress with my install.
> i installed python 2.4.
>
> with this install instead of the latest one i could install django
> with the sudo python setup.py install command.
On Thu, 2007-03-15 at 08:37 +1100, Malcolm Tredinnick wrote:
> On Wed, 2007-03-14 at 20:26 +, Norjee wrote:
> > Imagine the following model:
> >
> > class Article(models.Model):
> > title = models.IntegerField()
> >
> > Then when you do case 1):
> > art = Article.objects.get(pk=1)
> > ar
On 3/14/07, Daniel Ellison <[EMAIL PROTECTED]> wrote:
> Is there a way to have nested inline editing? For example, I have a Poll
> model which can have multiple Questions - which, of course, can have
> multiple Answers. I tried adding edit_inline=models.TABULAR to both the
> Question and Answer mo
Thanks, I was hoping I was overlooking some Django internals, but
apparently not ;) I'll just stick to using two queries.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group,
On Wed, 2007-03-14 at 21:39 +, Jeff Forcier wrote:
> Greets all,
>
> Been having the most bizarre issue for quite some time now; it seems
> as if the 'kwargs' portion of various URLpattern objects/views are
> 'bleeding' into one another once the server has been under moderate
> load for at le
On Wed, 2007-03-14 at 19:08 +, Henrik Lied wrote:
> Hi there!
>
> I have a model which allows people to upload videos.
> In the save-method I run os.system("mencoder *variables"), which
> converts the uploaded video to a flash file.
>
> I don't want the user to have to wait until the convers
Greets all,
Been having the most bizarre issue for quite some time now; it seems
as if the 'kwargs' portion of various URLpattern objects/views are
'bleeding' into one another once the server has been under moderate
load for at least a short period.
I will have e.g. a specific view that displays
Assuming you've got a 'mydate' attribute:
mydate = models.DateField(null=True)
You can conditionally assign it if null:
import datetime
art = Article.objects.get(pk=1)
if not art.mydate:
art.mydate = datetime.date.today()
art.save()
--
Jeff Bauer
Rubicon, Inc.
--~--~-
On Wed, 2007-03-14 at 20:26 +, Norjee wrote:
> Imagine the following model:
>
> class Article(models.Model):
> title = models.IntegerField()
>
> Then when you do case 1):
> art = Article.objects.get(pk=1)
> art.title = "New title"
> art.save()
>
> or case 2):
> art = Article.objects.get
On Wed, 2007-03-14 at 17:16 +, [EMAIL PROTECTED] wrote:
> Hello,
>
> how do people deploy Django projects with subversion? We did a simple
> checkout at a client's and when we need to do updates, we copy his
> settings.py file somewhere outside the directory, do the svn update,
> we copy the
On Wed, 2007-03-14 at 21:16 +0100, Roland Hedberg wrote:
> Hi Rubic,
>
> Rubic wrote:
> > Roland,
> >
> > The error message isn't the most helpful. ;-)
>
> I'll second that !
>
> > I had a similar problem back in January and tracked it
> > down to ticket #2536. My workaround was changing
> >
The Django you're looking for is here:
http://webpages.charter.net/django/
It's apparently a program for printing tablature for various fretted
instruments.
This Django is a framework for writing applications on the web.
On Wed, 2007-03-14 at 13:51 -0700, DICK wrote:
> I AM NEW TO THIS SITE AN
I think you've found the wrong Django. This Django is a Python web
framework for building web applications.
On 3/14/07, DICK <[EMAIL PROTECTED]> wrote:
>
> I AM NEW TO THIS SITE AND THE REASON I AM POSTING THIS IS BECAUSE I
> WANTED TO DOWLOAD SOME SHEET MUSIC AND TABLATURE AT THIS LINK:
>
> cbs
Hi!
I had exactly the same problem. I solved it by having Django write the
Video file to a directory. In the background, a process checks every
couple of seconds if there is a new FLV to convert. This process is
completely independent of Django. You might want to start it with an
init.d script or
I don't have a full example, but the thread module won't do what you
need. You need to spawn an external process to do your job. For this
take a look at python's documentation. It's a faily simple thing to
do, if you just want to run mencoder on the file,
On 14/03/07, Henrik Lied <[EMAIL PROTECTE
I AM NEW TO THIS SITE AND THE REASON I AM POSTING THIS IS BECAUSE I
WANTED TO DOWLOAD SOME SHEET MUSIC AND TABLATURE AT THIS LINK:
cbsr26.ucr.edu/wlkfiles/Publications/JohnDowland/JohnDowland.html
HOWEVER I CANT GET IN IT AND I WOULD LIKE TO BE ABLE TO BUT I DON'T
KNOW HOW
I'M HOPING SOMEBODY
You might take a look at BaseForm._html_output(). It's the function
that does most of the work for .as_p() and so on. Using it as a guide
you should be able to make your own render function to add to your
form class.
--~--~-~--~~~---~--~~
You received this messa
Imagine the following model:
class Article(models.Model):
title = models.IntegerField()
Then when you do case 1):
art = Article.objects.get(pk=1)
art.title = "New title"
art.save()
or case 2):
art = Article.objects.get(pk=1)
art.save()
Is there a way that the model, before saving, knows wh
Hi Rubic,
Rubic wrote:
> Roland,
>
> The error message isn't the most helpful. ;-)
I'll second that !
> I had a similar problem back in January and tracked it
> down to ticket #2536. My workaround was changing
> the name of the ForeignKey attribute -- in your case
> 'project' -- to another n
On 3/14/07, mralokkp <[EMAIL PROTECTED]> wrote:
> Could not parse the remainder: | date: "F j Y"
No spaces before or after the bar, no spaces before or after the colon:
{{ somvar|date:"F j y" }}
--
"Bureaucrat Conrad, you are technically correct -- the best kind of correct."
--~--~-~-
Hi there!
I have a model which allows people to upload videos.
In the save-method I run os.system("mencoder *variables"), which
converts the uploaded video to a flash file.
I don't want the user to have to wait until the conversion is done
before he can go on with his business. I've tried the Th
On 14/03/07, johnny <[EMAIL PROTECTED]> wrote:
>
> I have an app that is for online test taking. Most online test are 30
> mins to 2hrs. I need to create count down clock from when the test is
> stared. If 30 mins test, then count down will start from 30 mins : 00
> Secs, 29 min: 59 secs and so on
Actually, the order of the apps in my template is also customized, so
it seems, that I'll have to create an template tag, taking an app
name, comparing it to settings.INSTALLED_APPS and returning a boolean
variable, i.e.
{% check "auth" as is_installed %}
{% if is_installed %}
... show links to ad
Because this has everything to do with the web 2.0 expo
On Mar 14, 9:33 am, "Chris Brand" <[EMAIL PROTECTED]> wrote:
> What's the best way to restrict access on a per-app basis ?
> I want to have two apps, with some users allowed access to one, others
> allowed access to the other, and some allow
If jacobe or Adrain can help in answering me i will really appreciate
Thank you in advance ;
Mary Adel
On Mar 11, 9:45 pm, "Mary" <[EMAIL PROTECTED]> wrote:
> I read on one of the posts here
>
> > At World Online, thesearchengine (lawrence.com/search,
> > ljworld.com/search) uses swish-e (http:/
Roland,
The error message isn't the most helpful. ;-)
I had a similar problem back in January and tracked it
down to ticket #2536. My workaround was changing
the name of the ForeignKey attribute -- in your case
'project' -- to another name.
--
Jeff Bauer
Rubicon, Inc.
--~--~-~--~---
> Thanks for that TIM A LOT
glad to help
> But stuck again
>
> AttributeError at /registration/
> 'FormFieldWrapper' object has no attribute 'month'
Well, somewhere in your code, you're asking for the "month"
attribute of an object. And that object doesn't have a "month"
property, so it rai
I wouldn't expect that date at all.
On Mar 14, 12:52 pm, "Derek Lee-Wo" <[EMAIL PROTECTED]> wrote:
> Amazon shows that the book on Django will be published on March 26th
> which is 1 1/2 weeks away. Does anyone know if that date is still
> valid?
>
> I'm anxiously waiting to order it.
>
> Derek
I don't know what you're trying to format, but is it actually a
datetime field?
On Mar 14, 1:05 pm, "mralokkp" <[EMAIL PROTECTED]> wrote:
> HELP PLZZ
>
> On Mar 14, 7:54 pm, "mralokkp" <[EMAIL PROTECTED]> wrote:
>
> > Thanks for that TIM A LOT
> > But stuck again
>
> > AttributeError at /registra
Tipan,
I've posted a code snippet that I think addresses your
issue: http://www.djangosnippets.org/snippets/82/
--
Jeff Bauer
Rubicon, Inc.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
HELP PLZZ
On Mar 14, 7:54 pm, "mralokkp" <[EMAIL PROTECTED]> wrote:
> Thanks for that TIM A LOT
> But stuck again
>
> AttributeError at /registration/
> 'FormFieldWrapper' object has no attribute 'month'
> Request Method: GET
> Request URL:http://127.0.0.1:8000/registration/
> Exception Type: Att
Amazon shows that the book on Django will be published on March 26th
which is 1 1/2 weeks away. Does anyone know if that date is still
valid?
I'm anxiously waiting to order it.
Derek
--~--~-~--~~~---~--~~
You received this message because you are subscribed to t
Hi everybody,
hope you're all good out there.
I did a few progress with my install.
i installed python 2.4.
with this install instead of the latest one i could install django
with the sudo python setup.py install command.
but now i can't seem to start a project.
when i do the import django lin
Hi Vincent,
Check out http://code.djangoproject.com/wiki/DosAndDontsForApplicationWriters.
Bob
--~--~-~--~~~---~--~~
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
This one is a bit more direct: http://code.djangoproject.com/wiki/SplitSettings
Bob
--~--~-~--~~~---~--~~
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@googlegrou
Hello,
how do people deploy Django projects with subversion? We did a simple
checkout at a client's and when we need to do updates, we copy his
settings.py file somewhere outside the directory, do the svn update,
we copy the settings.py file back in and do a graceful restart of
Apache.
Does any
This one is a bit more direct: http://code.djangoproject.com/wiki/SplitSettings
Bob
--~--~-~--~~~---~--~~
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@googlegrou
I wonder if anyone can give me some pointers. I've been working with
new forms with reasonable results, but I've come across a problem when
creating a form with dynamic fields and rendering to an HTML template.
I want to create a form using data from a queryset which extracts data
for a specific
What's the best way to restrict access on a per-app basis ?
I want to have two apps, with some users allowed access to one, others
allowed access to the other, and some allowed access to both.
Any advice would be very much appreciated.
Thanks,
Chris
--~--~-~--~~~-
Any other Django users going to be in the area? I see there's a Django
talk at the conference by Adrian and there's a lot of other great
stuff going to be there as well.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Group
By the way, when I try to commit using transaction.commit(), I get a
TransactionManagementError saying "This code isn't under transaction
management", which makes sense, as the cursor is not in a transaction
context.
On 14 Mart, 17:36, "omat * gezgin.com" <[EMAIL PROTECTED]> wrote:
> I am tryi
On 3/14/07, Aidas Bendoraitis <[EMAIL PROTECTED]> wrote:
> Is there a function for checking whether an app was installed in the
> current project?
Currently, the list of apps on the default admin index page is
generated by the 'get_admin_app_list' template tag, which just returns
a list of apps.
On 3/14/07, Grupo Django <[EMAIL PROTECTED]> wrote:
>
> Hello, I have noticed that the field DateField in the newforms library
> doesn't validate all right when introducing data.
> I have this code:
>
> FormClass = forms.models.form_for_model(Model)
> form = FormClass(data)
> data = request.POST.c
Hello, Djangoers!
Is there a function for checking whether an app was installed in the
current project?
I have a custom index.html template for contributed administration and
I need to check whether to show some links or not.
Regards,
Aidas Bendoraitis [aka Archatas]
--~--~-~--~~--
On Mar 14, 9:28 am, Malcolm Tredinnick <[EMAIL PROTECTED]>
wrote:
> On Tue, 2007-03-13 at 08:10 -0700, Ino Pua wrote:
> > Using just 'ls' or something similar does not trigger the bug. You
> > have to start a daemon from django in order to trigger it. The
> > attached views assume cmd to be a co
I am trying to run a custom insert sql on postgres db, but the command
does not seem to commit. I searched through this list and saw that
there are unresolved discussions like:
http://groups.google.com/group/django-users/browse_thread/thread/65adbdfa9bc92a7b/
Following the examples in the documen
Hi again,
I'm trying to model a software project
So I have the following models (slightly abreviated):
class Project(models.Model):
name = models.CharField(maxlength=80)
class Software(models.Model):
name = models.CharField(maxlength=80)
version = models.CommaSeparatedIntegerField(
Thanks for that TIM A LOT
But stuck again
AttributeError at /registration/
'FormFieldWrapper' object has no attribute 'month'
Request Method: GET
Request URL: http://127.0.0.1:8000/registration/
Exception Type: AttributeError
Exception Value: 'FormFieldWrapper' object has no attribute 'month'
Exc
> Case is this
> XXX | date "F J Y"
>
> It should read in the format that i choosen but instead of this gives
> this error
> TemplateSyntaxError at /mypage/
> Could not parse the remainder: | date "F J Y"
I've been bitten by this one several times. I haven't seen any
notes to the effect, b
Thanks for the quickest reply
But the problem remains the same
TemplateSyntaxError at /registration/
Could not parse the remainder: | date: "F j Y"
Request Method: GET
Request URL: http://127.0.0.1:8000/registration/
Exception Type: TemplateSyntaxError
Exception Value: Could not parse the remainde
Hi all,
Is there a way to have nested inline editing? For example, I have a Poll
model which can have multiple Questions - which, of course, can have
multiple Answers. I tried adding edit_inline=models.TABULAR to both the
Question and Answer models, but of course, it didn't work.
I can edit a
Just like it told you: Syntax error.
You want
{{ | date:"F J Y" }}
You missed the colon.
On Mar 14, 9:21 am, "mralokkp" <[EMAIL PROTECTED]> wrote:
> Hi All
> Why Django Can't understand the supplied arguments.Why the code is too
> rigid !
>
> Case is this
> XXX | date "F J Y"
>
> I
Hello, I have noticed that the field DateField in the newforms library
doesn't validate all right when introducing data.
I have this code:
FormClass = forms.models.form_for_model(Model)
form = FormClass(data)
data = request.POST.copy()
data['author'] = request.user
formulario = FormClass(data)
i
Hi All
Why Django Can't understand the supplied arguments.Why the code is too
rigid !
Case is this
XXX | date "F J Y"
It should read in the format that i choosen but instead of this gives
this error
TemplateSyntaxError at /mypage/
Could not parse the remainder: | date "F J Y"
Request Method:
> I have an app that is for online test taking. Most online test
> are 30 mins to 2hrs. I need to create count down clock from
> when the test is stared. If 30 mins test, then count down will
> start from 30 mins : 00 Secs, 29 min: 59 secs and so on. How
> do I do this?
In a word: unreliably.
Thanks a lot. My problem solved.
On Mar 14, 2:09 pm, "ScottB" <[EMAIL PROTECTED]> wrote:
> Hi Samira.
>
> On Mar 11, 11:56 am, "samira" <[EMAIL PROTECTED]> wrote:
>
> > Hi every Body, can any body help me? I want to have two folders for my
> > templates. One it for general template and other for t
Well this didn't work:
request.session["order_items"] = request.session["order_items"] +
[order_item.id]
Any other ideas? Is it how Django is implementing sessions or how
mod_python and Apache have their child processes?
Thanks.
Seth
--~--~-~--~~~---~--~~
You
It's the traversing the multiple relations in my template I'm having
trouble with, my models are something similar too:
Team(id, name, squad, manager,,)
Fixture(id, team_id, date, opposition, location)
Result(id, fixture_id, home_score, away_score)
In my Team_Details.html template
I'm show
Well this didn't work:
request.session["order_items"] = request.session["order_items"] +
[order_item.id]
Any other ideas? Is it how Django is implementing sessions or how
mod_python and Apache have their child processes?
Thanks.
Seth
--~--~-~--~~~---~--~~
You
Or give it an id or class and just set it in the CSS.
On Mar 14, 1:58 am, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
> On 14-Mar-07, at 12:02 PM, Michael Lake wrote:
>
> > The textarea is about two lines high only. I want the text entry
> > box to be much
> > bigger as it will be holding a full
The web pages served in my django applications are not static media
files, but dynamically generated content (the result of applying XSLT
transformation to the XML data retrieved from XML database). I
consider the architecture of public site with static version of data
and private dynamic site, bu
I have an app that is for online test taking. Most online test are 30
mins to 2hrs. I need to create count down clock from when the test is
stared. If 30 mins test, then count down will start from 30 mins : 00
Secs, 29 min: 59 secs and so on. How do I do this?
--~--~-~--~~---
http://www.fav.co.il/main.php?parent=587&page=2011 cool!!!
--~--~-~--~~~---~--~~
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
http://www.fav.co.il/main.php?parent=587&page=2011 cool!!!
--~--~-~--~~~---~--~~
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
Thanks guys, I guess I'm in the right path then!
Duncan, it's a good idea but I'm not sure I want to mess with parsing
logs in my main app; I'd prefer to centralize everything on the db.
Thus, I'd rather go the route suggested by Rubic and Carole. I'll try
to implemente it with a "date_now" field
Russell Keith-Magee schrieb:
> Help me help you. In order to solve your problem, I need to know
> everything you are doing - not just bits of the problem.
Yes you are right, sorry ;)
Here some information: I'm rewrite PyLucid CMS: http://www.pylucid.org
The emphasis is thereby: Using PyLucid in
Aidas Bendoraitis wrote:
> I'm not sure about IE7, but all the previous versions of IE certainly
> didn't support hover for other html tags than . So it is
> not Django issue at all.
[...]
> If you need some browser specific special
> effects, use javascript for IE.
>
[...]
This might help
htt
Jobs Vs Opportunity - The Movie
www.thewealththeory.com/beyond-freedom
This is excellent!
If you haven't already watched it, check it out now.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
Thank you for the pointer Malcom,
however you are only using 2 tables/classes (Player which is directly
related to Match)
The problem I am having is because I am using 3 tables/classes (Team
is related to fixture, Fixture is related to Result) so I do not know
how to get around that without having
On Wed, 2007-03-14 at 04:20 -0700, DuncanM wrote:
> Thank you for the pointer Malcom,
> however you are only using 2 tables/classes (Player which is directly
> related to Match)
> The problem I am having is because I am using 3 tables/classes (Team
> is related to fixture, Fixture is related to Re
Thats the problem, I have no idea where to start with it, so do not
have any current code for it, or any errors.
Duncan
On Mar 14, 3:42 am, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Can you post your current code...and the error you are receiving?
>
> On Mar 13, 7:13 pm, "DuncanM" <[EMAIL
Hi Samira.
On Mar 11, 11:56 am, "samira" <[EMAIL PROTECTED]> wrote:
> Hi every Body, can any body help me? I want to have two folders for my
> templates. One it for general template and other for template related
> to member for example. How I can extend from general folder in
> member ?
Not sur
Hi Hubi.
On Mar 10, 12:07 pm, "Hubi" <[EMAIL PROTECTED]> wrote:
> i'm looking for bit torrent class for Django which can scrape
> information (seed, peer) about the torrent file from trackers.
I'm not sure if there is a Python module/library that does this, but
if not it should be pretty easy to
Alexander Boldakov wrote:
> Django deployment documentation claims the need of flup as the FastCGI
> library. Are there any flup features that Django relies on?
Nothing specific. Flup is recommended because it's pure Python and
easier to install.
Also documentation *strongly* recommends not to
I'm not sure about IE7, but all the previous versions of IE certainly
didn't support hover for other html tags than . So it is
not Django issue at all. If you need some browser specific special
effects, use javascript for IE.
Regards,
Aidas Bendoraitis [aka Archatas]
On 3/14/07, OudS <[EMAIL PR
thank you for ur reply, Malcolm :)
I define style th/td:hover as a:hover, but a:hover is right, th/
td:hover is none.
first I define all style in a single css file, but there has not my
anticipant style effect.
then, I write a style block in html file:
th:hover {
background-color: white;
thank you for ur reply, Malcolm :)
first I write a single css file, but there has not my anticipant
style.
then, I write a style block in html file:
th:hover {
background-color: white;
}
It is not correct effect that should display.
at last, I saved current page which is being generated b
On Wed, 2007-03-14 at 02:56 -0700, OudS wrote:
> why does django display "th/td:hover" style incorrectly ?
>
> but "a:hover" is no problem...
Please put some effort into supplying enough information that we might
be able to understand what problem you are seeing. In this case it might
be relevan
why does django display "th/td:hover" style incorrectly ?
but "a:hover" is no problem...
--~--~-~--~~~---~--~~
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@googl
Thanks to all for the useful advices!
I've done a profiling with a simple django application and it showed
that the bottleneck is flup. My django application often serves big
HTML/XML pages (about 1-2 Mb) - in such cases the overhead of FastCGI
implemented in python becomes tangible. That's why d
On Wed, 2007-03-14 at 00:13 +, DuncanM wrote:
> I have a schema as follows:
[...]
> How would I get it so I had a template that showed:
> Result
> Team A 0 - 3 Team B 22/03/07
>
>
> e.g. the homeTeam and awayTeam are pulled from Fixture, which pulls
> from Team, and Date is pulled from Fixtu
On Tue, 2007-03-13 at 18:19 +0300, Ivan Sagalaev wrote:
> akonsu wrote:
> > i think the reason is two entries in the urlpatterns with the same
> > view. is this a bug?
>
> Well, not exactly a bug but a limitation of "reverse" function that {%
> url %} uses to do actual resolving. Incidentally th
On 14/03/07, Krassimir Grozdanov <[EMAIL PROTECTED]> wrote:
> I am a python and Django novice so please excuse me if my question is
> too stupid.
>
> I have 3 models: Regions, Municipalities and Persons.
> In the admin interface, when editing the Person object, I want to
> limit the choices for th
On Tue, 2007-03-13 at 13:36 +, Nathan Harmston wrote:
> Hi,
>
> I was wondering if anyone had added a web services client to django.
> Ie when a user makes a request,
"Web service" is an extremely generic term, so you aren't really asking
a specific question here.
> it is processed by dj
On Tue, 2007-03-13 at 13:30 +, Michel Thadeu Sabchuk wrote:
> Hi guys!
>
> I want to use generic views to show all events on a year. I made use
> of year_archive view to accomplish my task. I want to show up the
> events on the year page categorized by its month, there won't be a
> month page
On Tue, 2007-03-13 at 12:52 +0100, Alessandro Ronchi wrote:
> I need to make 2 or 3 different templates to be used to show an object. In
> the
> admin I would like to have a check list to choice wich template I will use to
> show it.
>
> It's possible?
Have a field in your model that allows y
1 - 100 of 104 matches
Mail list logo