Hi everyone. Has anyone in this group implemented the exponential smoothing
model using Django? If so, can I ask for help submitting project
documentation for reference?
Thank you in advance
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To
Hello Django friends,
My app, running in production with uwsgi, very occasionally will crash
because of a FieldError on a (valid) reverse ForeignKey relationship field.
Without any code changes, other requests will succeed. Tests that cover
this code path always pass.
The two models are i
Thank you Tim, the pointer was just I needed.
If anyone runs into this issue you will also need to update the auth_user
table to allow NULLs in the last_login date.
See this defect for details https://code.djangoproject.com/ticket/24679
--
You received this message because you are subscribed
password) and then force them to change their passwords (storing them using
new hash)?
Best Regards,
Evan R.
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it,
Thanks for the help and guidance. I found a solution. I installed these
libs and was able to connect:
Django (1.9.9)
django-pyodbc-azure (1.9.9.0)
pip (8.1.2)
pyodbc (3.0.10)
I connected using these settings:
DATABASES = {
'default': {
'ENGINE': 'sql_server.pyodbc',
'HOST':
>
> Hi John,
>
Excellent suggestion. Using python shell and pyodbc I was able to connect
and perform several simple queries. Just worked, no heroics needed. I'm
fairly sure my problem lies in django_pyodbc, it is making sure the
connection to the database is sane. I'm not sure the support
>
> Hi Mike,
Thanks for the suggestion. Yes, postgres would be a good answer, but not
really a possibility at this point. Let me give you the back ground.
I inherited this project. The original project is written using django
0.95 and SQL Server 2003. The project that was written by a long
I'm struggling to get a project going. I'm new to python and django.
Is django_pyodbc supported on Python 3.5.1 and django 1.9? If not could you
suggest a combination of python & django that is known to work with MS SQL
Server 2012?
Here are the details of my virtual environment
windows 7
e Thing
object?
Thanks a lot!
Evan
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to
Hello,
Does anyone have experience with transitioning an existing database *including
user login data* to Django?
I am about to begin work on a startup's hand-written web portal that
consists of about 2000 lines of custom Python code (hashing passwords,
managing user accounts, DB connections,
Alright, tested tried and True:
The following code provides the ability to decorate tests so that a whole
list of drivers is used... see the docs for examples...
import functools
def test_drivers(pool_name='drivers', target_attr='selenium'):
"""
Run tests with `target_attr` set to each
Thanks for opening the ticket and thanks so much for the explanation as
well!
-evan
On Wednesday, June 19, 2013 7:13:04 PM UTC-5, Russell Keith-Magee wrote:
>
>
> On Thu, Jun 20, 2013 at 4:16 AM, Evan Stone
> > wrote:
>
>> Sure thing. Here are the snippets that gav
Also, thank you again!
On Wednesday, June 19, 2013 3:16:05 PM UTC-5, Evan Stone wrote:
>
> Sure thing. Here are the snippets that gave me pause:
>
> "Think carefully before handling information not directly related to
> authentication in your custom User Model.
>
> It
;
On Tuesday, June 18, 2013 6:34:16 PM UTC-5, Russell Keith-Magee wrote:
>
>
> On Tue, Jun 18, 2013 at 11:37 PM, Evan Stone
> > wrote:
>
>> Russ,
>>
>> Thanks so much for getting back to me! I shouldn't have posted that
>> without my code in f
user model example
in the docs. I was really reluctant to do so earlier because the docs make
it sound like everything is pain moving forward with a custom user model.
Is it?
On Monday, June 17, 2013 6:50:23 PM UTC-5, Russell Keith-Magee wrote:
>
>
> On Mon, Jun 17, 2013 at 10:31
Per the docs for Django 1.5, I have attempted to broaden the range of data
held in the default user model by making an extended user model with the
AbstractUser class. I made the model (called "Client") and listed it in
settings.py as the AUTH_USER_MODEL. Syncdb took it and it worked great.
Spe
Have a look at wkhtmltopdf for easy server side generation of PDFs. It's
not perfect, but it seems to be the best option out there at the moment.
I'm also hearing good things about PhantomJS, though I haven't tried it out
myself. Both options are essentially headless versions of Webkit - they
p
Happy new year from Vietnam, wish you guys great things.
On Tuesday, January 1, 2013 4:42:13 AM UTC+7, cingusoft wrote:
>
> Happy new year from spain to all django lovers.
> I wish you a new year with tons of django projects.
>
> Cheers
> Cingusoft
> BlackBerry de movistar, allí donde estés es
django-dynamic-fixture can also help a lot in this situation:
http://paulocheque.github.com/django-dynamic-fixture/
Certainly beats having to futz around with fixtures.
On Friday, October 5, 2012 3:49:19 AM UTC+10, Daniele Procida wrote:
>
> I have started writing my first tests, for a project t
e.
This is my first time releasing a django/python package, so I'm sure I've
screwed things up in lots of interesting ways. I'd love any feedback anyone
can offer!
Kind regards,
Evan
--
You received this message because you are subscribed to the Google Groups
"Django us
I had the same thing happen to me and this was the only post I found on the
internet that mentions it.
Note to other people who have this problem:
*Be careful passing instances of model objects into celery tasks since they
get pickled and your FileField fields will probably be removed via pick
I am trying to evaluate whether to go with Django SEO (http://django-
seo.readthedocs.org/en/latest/contents.html) or to create my own by
embedding the relevant meta data fields as values in the models. Doing
a search across the threads, there are not too many discussions on
this. Looking for feedb
mport *
>>> ds = DataSource(world_shp)
>>> ds.save('data/TM_WORLD_BORDERS-0.3_new.shp')
I'm working on creating an application where users can create their
own dataset using OpenLayers or Google Maps, and I would like to
create an option to export the data in a shapefile format.
On Sun, 29 Aug 2010 16:08:45 -0700 (PDT)
Cody Django wrote:
> I'd like to have the comment form contain a captcha if the user is
> logged in.
Do you mean "have the comment form contain a captcha if the user *is
not* logged in?
-E
--
You received this message because you are subscribed to the G
; --
> DR.
>
> --
> 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 group, send email to
> django-users+unsubscr...@goo
: type object 'CampaignYear' has no attribute 'last_editor_str'
error.
If I can clarify anything please let me know,
Thanks,
Evan
--
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
Hey all,
I am trying to calculate the spherical and spheroidal distance
between two points that aren't stored within any model. I found this
post from a few years ago and was wondering if it was resolved:
http://www.mail-archive.com/django-users@googlegroups.com/msg40120.html
>>> from django.co
This is probably the most basic question in the history of the group.
Still, I googled the error message both in this group and in google at
large and went through the first 5 pages, and didn't see anything.
i installed django a few weeks ago. i'm pretty sure it's installed
correctly. i start
in most django discussions, so I
apologize in advance if this has been discussed (recently) on
this discussion group.
Thanks in advance for your advice
-Evan Reiser
GamerNook.com
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
i think he means like this:
+application
|
+-part1
||
| +-models.py
|
+-part2
||
| +-models.py
|
+-urls.py
|
+-views.py
On Sep 25, 4:01 pm, Stephen Sundell <[EMAIL PROTECTED]> wrote:
> I am trying to create one application with multipl
for very high traffic (100+ requests/sec) I would suggest using
memcache to store the changes for #downloads / views. On each action
(view or play or download or whatever) increment the variable in
memcache (it has a fast function to do this) Then once every
1/5/15/60 seconds or so pull the coun
# TypeError if object_list.count() requires arguments
+# (i.e. is of type list).
+self._count = len(self.object_list)
return self._count
count = property(_get_count)
Note to self: upgrade django and do more research before spamming the
list :)
Thanks for
Hey Guys I noticed one of my pages taking over 50seconds to load, and
found the problem out the problem was the paginator loading a lot more
rows than needed. I was wondering if this is how the paginator is
supposed to work or if I'm doing something incorrect.
Here's the view i'm using
def brows
Hi,
I am reading Practical Django Projects but am unable to find the online
source code. Does anyone know where this is located? I would think that
it would be at http://www.apress.com/book/view/1590599969. However, that
doesn't seem to be the case.
Thanks,
I used xlrd to import form excel, it did everything i wanted it to do
On Apr 9, 9:56 pm, "Alex Ezell" <[EMAIL PROTECTED]> wrote:
> On Wed, Apr 9, 2008 at 5:44 PM, Todd O'Bryan <[EMAIL PROTECTED]> wrote:
> > There's also xlrd:
>
> >http://www.lexicon.net/sjmachin/xlrd.htm
>
> XLRD seems to have ha
Slightly off topic, but might be relevant:
I'm having a similar dilemma in some of my projects. I'd also like to
track the number of views a page (or object i guess) has, but i'm
worried about performance. For highly viewed pages (1000 hits /hr+)
I'd like to take advantage of caching, I assume
the simplest way to achieve this.
Thank You,
Evan
--~--~-~--~~~---~--~~
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
n I go about manually deleting the content types? Is there
something I should look for in my file exported with dumpdata?
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
t know how to solve it. I only ran syncdb before loaddata, and did
not create any content.
Thanks,
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
her information
that will help me get this running? Or anything else I should do?
Thanks,
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to dj
this?
Thanks,
Evan
--~--~-~--~~~---~--~~
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 this group, send email
Hi,
Here I have a context processor --> http://dpaste.com/18402/
I have {{ base_path }} in one of my templates but it isn't returning
anything. I am not sure if I can use request.path the way I am using it.
Any ideas?
Thanks,
Evan
--~--~-~--~~~---~--~-
code.replaceWith(new_content)
value = str(tree)
except IndexError:
pass
return value
def save(self):
self.body_html = self.markup(self.body)
super(Entry,se
int "hello world"
If I create an entry with use_markdown False, and body:
this is a regular paragraph
print "hello world"
the body_html is:
this is a regular paragraph
print "hello world"
I want markdown to find my
I have ran python manage.py syncdb. I really don't know what is going on
but I have a slight idea it might have something to do with the Entry
tags field. It seems like django wants to see a blog_entry_tags table in
the database but it isn't there. Maybe a problem with the ManyToManyFi
Florian Apolloner wrote:
> After editing your code, you will need to touch fcgi file
Can you be more explicit. I know the location of a lighttpd.sh init
file. But I am not sure if there is a fcgi file somewhere?
Evan
--~--~-~--~~~---~--~~
You received t
x27;t
think that it is my browser because refresh should not load from the
cache. Does lighttpd or django cache things automatically? Can I turn
this off during development?
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the G
t;
Textdrive (Joyent) offers Django hosting.
There is an install script that will setup Django for you:
http://textusers.com/wiki/Installing_Django
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Dja
inarymanipulations.contact.urls')),
(r'^comments/',
include('django.contrib.comments.urls.comments')),
)
-
For an example the login screen:
http://binarymanipulations.com/admin/
Any help would be greatly appreciated,
Evan
--~--~-~--~~--
that I am calling latest instead of something else
. I am not sure what the name for it should be. I tried to define a
template_object_name but that raised an error that it was unexpected.
Any help would be appreciated.
Thanks, Evan
--~--~-~--~~~---~--~~
You receive
James Bennett wrote:
> On 6/3/07, Evan H. Carmi <[EMAIL PROTECTED]> wrote:
>> I don't know how to pass the context processor with HttpResponse so my
>> template can do the ifequal. If someone can send me in the right
>> direction it would be glorious.
>
> H
er(c))
I don't know how to pass the context processor with HttpResponse so my
template can do the ifequal. If someone can send me in the right
direction it would be glorious.
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed
ws.py deal with the database and then have my template show it. If
anyone has any ideas it would be great.
Thanks, Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this gro
1/) - should be
>
I looked at that. My poll_detail.html is:
--
{{ poll.question }}
{% if error_message %}{{ error_message }}{% endif %}
{% for choice in poll.choice_set.all %}
{{ choice.choice
}}
{% endfor %}
-
So to me it looks as if my form
d a little on #django but to no avail.
Thanks,
Evan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [EMAIL PROTECTED]
To unsubscribe from this
55 matches
Mail list logo