f view, there is no known relationship to Alarm.
class Alarm(models.Model):
...
building = models.ForeignKey(Building, related_name = 'alarm')
...
You need to name it properly, that's all.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov
n dev and production systems:
show variables like 'character_set_%'
I would also check character sets in "show create table" in both environments.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are
ese character sets in MySQL and conversion to each of them
happens at certain points at a time during processing.
> Can I fix it using a config entry in django?
I don't think you can fix it with a setting but I can be mistaken here. The
best is to use the same settings for all hosts. I keep
27;A special model manager that returns only available users'''
def get_query_set(self):
query_set = super(TYPO3UserManager, self).get_query_set()
return query_set.exclude(models.Q(disabled = 1) | models.Q(deleted
= 1))
class TYPO3User
...
objects = TYPO3UserMa
to
In both cases overwrite files in production unconditionally. Apache will
not see these changes until you restart it (or touch wsgi file), so you
have time to fix any conflicts. But if you force overwrite, you should not
have any conflicts.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd
to add something to cookies to make MSIE happy. I
do not remember exactly what it is. There is a Microsoft Knowledge Base
article about it. Google for it, may be it helps.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because
d mod_wsgi":
http://docs.djangoproject.com/en/dev/howto/deployment/modwsgi/
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to d
et all the links I expect, and they work as expected,
> but they are all down the left side of the page with none of the
> coloring is there.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subs
ags/branches/trunk?
Subversion documentation has a lot of examples and tells how to use tags
and branches. Please, check that. There is too much information to post it
here.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message bec
Hi!
tazimk wrote:
> I want to use ajax in my templates using jquery.
> Can someone provide me some sample examples /links related to
> this.
http://www.google.com/ may be? The question is too broad.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-du
a major security issue.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
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
d from the PHP session.
You can also search or create a PHP session serializer that writes to the
database. Then you can read from the database in your Django app. I would
go this way as it makes less hacking than accessing session files.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web
ngs.py.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
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 unsubscribe from this grou
Hi!
tazimk wrote:
> Also how should I implement the same thing using jquery library ?
This may help: http://www.google.com/search?&q=django+jquery+ajax
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because
d say the behaviour of
> /iexact/ certainly looks inconsistent as it is *more* exact than
> /exact/ but on balance it appears that /exact/ is not doing the right
> thing here?
If you want space to take part in comparison, use char fields instead of
varchar. See: http://dev.mysql.com/doc/refm
o take the thumbnail...
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
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
Hi!
Jagdeep Singh Malhi wrote:
> IndentationError: unindent does not match any outer indentation level
You need to learn Python :) Indentation matters in Python. If previous
lines of your file use spaces and this line uses tabs, you'll get a wrong
indentation error.
--
Dmitry Dulepov
easier way to achieve your real goal? What is your
original task? Why data prepration takes so long? May be you can optimize
it with indexes?
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subscribed to the Goo
ot;. These all
are different things, they are not comparable. Thus you cannot sell one
thing as another.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subscribed to the Google Groups
"Django users&
Hi!
Matt Hoskins wrote:
> return HttpResponse(simplejson.dumps(data),mimetype='text/plain)
Small correction: mime type should be application/json.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subsc
rectory exist?
Normally, your 'site-packed' should in Python path, not its subdirectories.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
index my forums. 2 minutes of Sphinx indexing is just nothing compared to
others.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this g
rom google to run apache
> httpd -x which I'd take as being a first step towards it but not the
> actual solution.
Works ok for me. Follow pydev's information about using the debugger.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You
s. You simply
can't do that in a short time frame with am unknown technology. Forget it.
This is a planned failure.
--
Dmitry Dulepov
Twitter: http://twitter.com/dmitryd/
Web: http://dmitry-dulepov.com/
--
You received this message because you are subscribed to the Google Groups
"Dj
24 matches
Mail list logo