I want to share the solution to my problem. I appreciate the kindness
of Malcolm for the suggestions.
After some searching in tinyMCE site, I found a note that recommends
to explicitly leave
option "entities" to empty, I show you a sample:
tinyMCE.init({
// General options
Hello:
Using tiny_mce.js into django Admin (change_form.html) is nice, but
when you include into a textField letters such as á or ñ and try to
find them using the django search engine, no results are obtained
because internally the á is represented by and ñ is
represented by Is there a way to
Hello:
I know that Django provides 3 ways in using Web forms: Admin Forms,
Generic views and New Forms where Admin forms is the easiest one to
use.
What I would like to know is:
1) Which determinant aspects should force me to use Generic Views
instead of Admin Forms? And
2) Which determinant
Chad:
1) I did some tests with a django project and, my web pages look ugly
because the reference to .css files was lost, additionally I can not
retrieve the content of static files when a click on a certain link. It
seems that Aspen needs a reference to these resources. I had a similar
problem
Hello:
I am using "list_filter" option in models.py for 3 fields. The model
where the filter is, has many columns so, when showing its data in the
"change-list" admin template I frequently use the horizontal bar.
The problem I have is that does not
locate/show its filter content at the end of
Ivan:
Many thanks for your attention and help. My intention in this occasion
was to gain speed at the moment to show data at the web page. I thought
to do something similar to what you kindly proposed, but the only idea
that this recommended solution represents a double processing
(accommodate
I have the next big list:
row 1: ['col1','col2','col3', 'col4',..., 'col30']
row 2: ['col1','col2','col3', 'col4',..., 'col30']
row 3: ['col1','col2','col3', 'col4',..., 'col30']
.
.
.
row 4000: ['col1','col2','col3', 'col4',..., 'col30']
the variable name that contains this list is 'lst'
For
> INSERT INTO sched_day (name) VALUES ('Eight To Five');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('08:00',
> 'True', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('09:30',
> 'True', '1');
> INSERT INTO sched_dayslot (slot, taken, day_id) VALUES ('11:00',
>
I have problems to get mod-python for python 2.5 (win32). Does anybody
knows how to get this version.
Thanks!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Hello:
Into the admin I am including a FileField in the "list_display"
option.
Is there a way to indicate Django that when clicking this FileField,
the content of the file is shown instead of the "change" page?
Thanks!!!
--~--~-~--~~~---~--~~
You received this
Russell:
The error happens using the Admin view.
I need to rectify one thing please, I beg your pardon, instead of
modifying Fredo to Frido please, modify for example Maria to Mario,
i.e. when I modify the data that has DATA3 as X and this data is
related to other record in the same table,
Russel:
Thanks for your attention. I send you an example
Assuming the model:
class Tab1(models.Model):
data1 = models.CharField(maxlength=10)
data2 = models.CharField(maxlength=50)
data3 = models.BooleanField(default=False)
data4 = models.ManyToManyField('self', null=True,
Hello:
I have next model:
class Tab1(models.Model):
data1 = models.CharField(maxlength=1)
data2 = models.CharField(maxlength=5)
data3 = models.BooleanField(default=False)
data4 = models.ManyToManyField('self', null=True, blank=True,
filter_interface=models.HORIZONTAL,
James Bennett wrote:
> On 9/2/06, Vizcayno <[EMAIL PROTECTED]> wrote:
> > I need data4 to show me only those records whose data3 value is True.
>
> data4 = models.ManyToManyField('self', null=True, blank=True,
> filter_interface=models.HORIZONTAL, limit_choices_
Hello:
I have next model:
from django.db import models
class Tab1(models.Model):
data1 = models.CharField(maxlength=1)
data2 = models.CharField(maxlength=5)
data3 = models.BooleanField(default=False)
data4 = models.ManyToManyField('self', null=True, blank=True,
Hello:
I have defined a FileField attribute in the model.
Users can attach documents for every record they save.
However, many of them asked me for looking into the file before saving
the
attached one; the files have .doc, .pdf, .xls or .ppt formats. Is there
a
way to do this using Admin?
Thank
Hello:
I have defined a FileField attribute in the model.
Users can attach documents for every record they save.
However, many of them asked me for looking into the file before saving
the
attached one; the files have .doc, .pdf, .xls or .ppt formats. Is there
a
way to do this using Admin?
Thank
Hello:
In settings.py I have:
MEDIA_ROOT = 'C:/attach/'
In models.py:
class MaeDoc(models.Model):
.
.
per_con = models.CharField('Contact person', maxlength=40)
doc_adj = models.FileField(upload_to='doc_adj', help_text='Main
doc')
.
.
.
def save(self):
self.doc_adj =
Hello:
I have a table with two columns, first column is declared as
unique=True:
==
code = description
==
FI = Finance
AC = Accounting office
HR = Human resorces
.
.
etc.
Under "admin" if user creates another record whose code is AC, an error
message appears
Question:
===
After saving a record that includes a file attachment (in a FileField),
how can I open the the attached file directly from my django
application?
Problem:
==
Please, check next model.py:
from django.db import models
from django.db import models
class MaeDocs(models.Model):
It is about temporality of a record.
Suppose I have a price table for each material:
Material Price Valid to
-
material-1 $12.50 2006-01-01
material-1 $12:52 2006-05-03
material-1 $13:59 2999-12-31
material-2 $54.32 2999-12-31
Adrian:
Thanks for your attention and answer.
You will agree however that "default=datetime.max" would have been a
clean solution (not hardcoding) to establish the maximum date/time into
the models.py file, unless you kindly suggest me another.
Thanks again!!
Hi:
I have next code:
from datetime import datetime
.
.
.
end_date = models.DateTimeField('End date'', default=datetime.max)
end_time value is = -12-31 23:59:59
However Django indicates it is not a valid date when I want to save a
record.
What is wrong?
Regards
Hello Kevin:
The environment used is Windows? If yes, how did you compiled to use
with python?
Thanks!!!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to
Rik
But Xapwrap depends on pyLucene to work. I really would like an
integrated solution, such as Django is.
I continue with my pilgrimage.
Many thanks really.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django
Hi Wade:
Thanks for the information. Do not have the sensation that nxlucene is
an isolated effort? isn't it better to join forces with pyLucene?
Do you think this solution would apply to Django?
Thanks again!!
--~--~-~--~~~---~--~~
You received this message
Nkeric:
I am evaluating this option now. It seems to be the only one and good
alternative for pyhton.
Best regards.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send
It was the third I explored also, I made a question in the mailing
list, it is pending of answer. I want to know if the tool can index and
search over .doc files and .pdf files. By now, seems it only works on
.txt, .html and other format that is characteristic of hyperestraier.
Thanks for your
Hi:
Do your have news about the promising MerQuery?
I was looking for some good open software Search Engine API (index and
search) for Python in Win32. I could see some promising ones but, as
always in the open soft. community, many atomised and incomplete
efforts. The last I looked was Swish-e
Malcom:
Many thanks for your time and interest in answering and clarifying my
doubts. According to this, it is now a little detail comparing with the
general and nice architecture of Django.
Very best regards.
Vizcayno.
--~--~-~--~~~---~--~~
You received
When I create a new user in the Admin with all privileges, Django asks
for new user and password; When I type the password I can see what I
write, I think this field should be protected from seeing password.
After saving the new user I logout Admin, then I try to login with the
new user, the
31 matches
Mail list logo