reciated. Thanks
It has been fixed in r5336.
Regards,
-Justin
--~--~-~--~~~---~--~~
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 uns
se the package from initd:
http://initd.org/pub/software/pysqlite/releases/2.3/2.3.3/pysqlite-2.3.3.win32-py2.5.exe
-Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
server modules is important and 'mod_fastcgi' _must_
be the last module loaded. I've created an example lighttpd
configuration file (w/comments):
http://media.houstoncrimemaps.com/django-lighttpd.conf
Regards,
-Justin
--~--~-~--~~~---~--~~
You received t
ation for deployment to be a bit of a pain.
Hope it helps,
-justin
On 9/18/07, Kenneth Gonsalves <[EMAIL PROTECTED]> wrote:
>
>
>
> On 18-Sep-07, at 4:32 PM, shabda wrote:
>
> > Any special reasons debian based installs are better than fedora based
> > ones?
>
t;>>>from
> pysqlite2 import test" but only from within the "Python25"
> directory.
>
> what do I have to configure?!?
>
> Thanks
>
>
> >
>
--
Justin Lilly
University of South Carolina
--~--~-~--~~~---~--~~
Y
stings in the user's
group.
Thanks,
-Justin
--~--~-~--~~~---~--~~
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 fr
le User models associated w/the 'Angle
rues des princes et de la tourelles' place, for example, by performing
the following query:
qs = User.objects.filter(usual_places__name='Angle rues des princes et
de la tourelles' )
-Justin
--~--~-~--~~~---~-
tant (and cool!). I quickly drilled into
the Programming
Section <http://feedeachother.com/tag/programming/> and was quite pleased
with the results. I believe this particular sub-topic has garnered a place
on my RSS reader.
Thanks and I hope the review was helpful.
-justin
--~--~-~-
l
>
> Is it possible to deploy Django in this environment? If yes, any
> suggestions?
>
> Thanks!
>
>
> >
>
--
Justin Lilly
Web Developer
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
I quickly glanced at the django-rest-interface code and I don't see
any reason why it shouldn't work. There are no plans to combine yet,
though it would be nice to have GeoJSON serializers for the GEOS/OGR
geometry objects. The best way to confirm compatibility is experiment
yourself
should
consider migrating to PostgreSQL/PostGIS as you will certainly run
into a wall trying to coerce MySQL's limited offerings into something
more.
-Justin
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
&q
et_internal_type() in my code, and was able to
sync the database just fine. Since db_type returns None,
get_internal_type() would default to using the parent class' routine,
and the expected name (e.g., "PointField") would be returned. Do you
see any problems with the
an just using GeoDjango to begin with.
Regards,
-Justin
--~--~-~--~~~---~--~~
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
> On OS X, using MacPorts, ctypes doesn't look in /opt/local/lib unless
> you set LD_LIBRARY_PATH. On Ubuntu Feisty, the gdal package uses a
> weird naming convention and isn't found. Is it possible to specify
> these library locations in settings.py or somewhere?
There are no explicit settings f
nflicts when including multiple
urlconfs, say with more than one url pattern named "main". Maybe then
including urlconfs the names could be concatenated with a dot-syntax so that
I could write {% url gallery.main %} and {% gallery.list %}
-Justin
--~--~-~--~~~---
Solved.
The url names were apparently being cached, so it appeared that naming a
included url didn't work.
Lesson: always restart django when changing url names
-Justin
On 11/18/07, Justin Fagnani <[EMAIL PROTECTED]> wrote:
>
> I've noticed that if you're trying to
import Neighborhood
>>> pnt = Point(-95.3631, 29.7633, srid=4326) # notice the srid being set here
>>> qs = Neghborhood.objects.filter(poly__dwithin=(pnt, 5000.0))
Within the SQL, ST_Transform() will be used to convert the WGS84 point
into the SRID of the coordinate system, and return the desired
results
instead of raising an exception. One thing that has explicitly
changed is that `models.GeoMixin` is no longer required for geographic
models.
Thanks for the detailed report and traceback.
Best Regards,
-Justin
--~--~-~--~~~---~--~~
You received this message becau
nto django?
> the best plan for this would be for you and others who are interested
> in the feature to write up an implementation and offer it for use
If you were to attempt to develop anything, I suggest you to start
your efforts using the queryset-r
Is there an easy way to get the Admin site to use an for a TextField rather than a ? In my model I
have fields that do not have an upper bound on its length, so
CharField is not appropriate, but do not benefit from having a multi-
line edit box.
It looks like the Admin site will call the ChangeM
packages for GEOS 3.0
and GDAL 1.5 become more readily available.
Best Regards,
-Justin
--~--~-~--~~~---~--~~
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@goo
users who may be
tagged in various ways, it could be a performance issue.
Justin
plungerman wrote:
> greetings,
>
> i studied long and hard the tagging app from Luke Plant and the one
> from the bulletin board app called zyons (http://zyons.com/), and i was
> unable to wrap my head
Django really does need stream uploading. IIRC, there's a patch to
do this.
Does anyone know if that patch is ever going to make it into an
official release?
On 25 Jan 2007, at 02:08, Jeremy Dunck wrote:
>
> On 1/24/07, Julio Nobrega <[EMAIL PROTECTED]> wrote:
>>
>> Uploading a video i
Sent from my GalaxyVisit your settings.py file and include the app in
INSTALLED_APPS. Check if that works.
Original message From: Alec Greenholdt
Date: 07/03/2022 00:24 (GMT+00:00) To: Django users
Subject: Including URLconf as described in the
documentation i am putting th
Hello, pls under what circumstances do you need to defined a related_name of a
model field?
--
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+unsubsc
Hello there,
If I have a model:
class Money(models.Model):
price = models.DecimalField()
m = Money(...)
pycharm knows that m.price is of type Decimal but when I read through the
django code base, I don't see DecimalField or Field subclassing
decimal.Decimal
And I don't see any registration
django-models/amp/
>
> On Sat, Sep 24, 2022, 5:09 AM Justin Black
> wrote:
>
>> Hello there,
>>
>> If I have a model:
>>
>> class Money(models.Model):
>> price = models.DecimalField()
>>
>> m = Money(...)
>> pycharm knows that m.pr
On Feb 27, 1:44 am, Masklinn wrote:
> On 27 févr. 2012, at 07:23, Zheng Li wrote:
> > i thought "\d+" in url promises i can get an int point in cheer_confirm,
> > and am i wrong?
>
> \d+ ensures you will only get naturals, but django will not perform any
> conversion automatically. Especially n
; To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to django-users+unsubscribe@**
> googlegroups.com .
> For more options, visit this group at http://groups.google.com/**
> group/django-users?hl=en<http://groups.googl
Heretofore, I had always believed that Http404 did not cause Middleware
process_exception() to be run. Am I right in this thinking?
I have a get_object_or_404 that, when the object in question isn't found,
is running process_exception.
--
Justin Holmes
Head Instructor, SlashRoot Colle
ink though that I simply hadn't raised Http404 since implementing this
middleware. It makes perfect sense that it behaves the way it does.
On Tue, Mar 27, 2012 at 11:29 PM, Russell Keith-Magee <
russ...@keith-magee.com> wrote:
>
> On 28/03/2012, at 6:31 AM, Justin Holmes wro
necessary at all, as the Http404 page makes it clear
that it's an exception.
On Wed, Mar 28, 2012 at 7:22 PM, Russell Keith-Magee
wrote:
>
>
> On 29/03/2012, at 12:10 AM, Justin Holmes wrote:
>
> > Russell,
> >
> > Thanks for the reply.
> >
> > T
I am having a problem with contrib.sessions.tests.test_valid_key (line
159). It's a mixin which in the failure case is mixed with
CacheDBSessionTests.
The test raises:
"AttributeError: 'bool' object has no attribute 'get'"
The error is actually raised by session.save() on 164.
Stepping inward
s)
specified in the TEMPLATE_DIRS setting.
The same code is executed just fine in production.
--
Justin Holmes
Head Instructor, SlashRoot Collective
SlashRoot: Coffee House and Tech Dojo
60 Main Street
New Paltz, NY 12561
845.633.8330
--
You received this message because you are subscribe
really should anyway.
You should probably be using a variable in your code for media
location in the future, so you only have to change /media once. Isn't
there a variable in the settings explicitly for the url of static
media?
~Justin
--
You received this message because you are subscribed
Docs are here: https://docs.djangoproject.com/en/1.3/topics/http/urls/#url
-Justin
On Nov 14, 11:59 pm, Mike Thon wrote:
> I recently started working on a new Django project using the latest
> release, and I found the function django.conf.urls.defaults.url being used
> in urls.py. T
elcome growth
in this direction.
http://groups.google.com/group/django-deeper
--
Justin Holmes
Head Instructor, SlashRoot Collective
SlashRoot: Coffee House and Tech Dojo
60 Main Street
New Paltz, NY 12561
845.633.8330
--
You received this message because you are subscribed to the Google Groups
"Djang
It looks like maybe a slight change to your models and schema would make
this a bit cleaner if I'm understanding your overall schema correctly. I
would split this up into two different models with a ManyToMany
relationship in there. I am assuming you have students and then an Egitim
instance
I would go with the Django ORM and just add a unique_together for a
multiple column uniqueness constraint. That index won't be your primary
key, but it will still be a unique index. I've even gone as far as to use
custom .sql files (which manage.py syncdb runs) and custom sql in South
migrati
I install it on my Mac running 10.8.4 using pip on a pretty regular basis
for starting new projects and testing things. I use postgres from
homebrew, virtualenv and virtualenvwrapper installed as system packages,
then install django as needed into virtualenvs using pip.
On Friday, August 2, 20
It's pretty straightforward to get django to automatically upload
everything to s3 using https://github.com/qnub/django-boto/
I've only used it to server directly from s3, but it sounds like you might
want to upload to s3 and then serve from cloudfront. cloudfront uses edge
servers to serve con
ybase
ase even if it compromises its previous compatibility with anything that
isnt sybase ase.
- Justin
On Wednesday, September 8, 2010 9:12:49 PM UTC-5, Ivan wrote:
>
> I wonder any one is conneting Sybase ASE using pyodbc in Django? Any
> wrapper available for that? Any solution?
>
,
but just seems odd that this would be necessary for such well known
countries.
Am I doing it wrong?
Justin
--
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 a
Facebook published a sample GAE application. The code is pretty
straightforward and you can pretty much use the same concepts in your
Django code. I would think that the signed request logic would work
best in middleware.
https://github.com/facebook/runwithfriends
-Justin
--
You received this
11703
OpenToken Perl module on GitHub:
https://github.com/bleargh45/crypt-opentoken/
I appreciate your help!
Thanks,
Justin
--
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.
your part for security issues.
Example:
from django.views.decorators.csrf import csrf_exempt
@csrf_exempt
def handle_mailchimp_callback(request):
...
Here is a link to the Django CSRF documentation:
http://docs.djangoproject.com/en/dev/ref/contrib/csrf/?from=olddocs#exceptions
-Justin
--
django-developers
and/or IRC.
[1]
http://docs.djangoproject.com/en/dev/ref/class-based-views/#django.views.generic.edit.ModelFormMixin.form_valid
Thanks,
Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to
Yes. A quick read of the Model Field Reference docs would have answered
this.
my_date = models.DateTimeField(blank=True, null=True).
http://docs.djangoproject.com/en/dev/ref/models/fields/
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django
Did you create a new DB and run syncdb or is it the same DB based on the old
schema?
-Justin
--
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
Hi, I still haven't found an answer to this problem so I am shamelessly
bumping the last updated date.
Thanks in advance for your help!
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send ema
Thanks, Skylar. You're right, it worked. Now I am just shaking my head and
saying "next time, I'll just read the source..."
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this
ython interpretor that automatically loads your project
settings, installed apps, and other Django infrastructure.
Also, make sure that Django installed on your pythonpath.
-Justin
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to t
Good to hear! Thats a common problem; you need to remember that your models
might not reflect the constraints of the database once you make changes.
Take a look at South for database migrations. It's not too hard to use once
you get used to the workflow.
http://south.aeracode.org/
-J
Hi vamsy,
Can you post your urls.py files? Perhaps you have a recursive inclusion.
Example:
myapp.urls.py
patterns = urlpatterns('',
url(r'^/', include('myapp.urls') # this will result in a recursive
inclusion.
)
-Justin
--
You received this message bec
need some help setting up templates for friends list:
how do I iterate a list of invited friends and are friends? I have
tried:
{% for friends in Friendship.objects.are_friends %}
target_user: {{ friends.target_user}}
current_user:{{ friends.current_user}}
are_frien
need some help setting up templates for friends list:
how do I iterate a list of invited friends and are friends? I have
tried:
{% for friends in Friendship.objects.are_friends %}
target_user: {{ friends.target_user}}
current_user:{{ friends.current_user}}
are_frien
I now have a different overriding problem with this simple-friends
app:
url patterns are simple:
urlpatterns = patterns('friends.views',
url(r'^$',
'friend_list',
name='friends_home'),
url(r'^list/(?P\w+)/$',
'friend_list',
name='friend_list'),
url(r'^a
create_'
\
'userblocks_instance')
On Mar 28, 6:57 pm, Joel Goldstick wrote:
> On Mon, Mar 28, 2011 at 12:14 PM, mike171562
> wrote:
>
>
>
> > Maybe you could use the ifequal tag in your template, not sure what
>
I have both simple-friends and notifications running and workign and
have set up notice types.
How do I use signals from friend request for instance to trigger
notice types?
examples
simple-friends:
class FriendshipRequest(models.Model):
from_user = models.ForeignKey(User,
related_name="inv
can't send notifications
have tried adding (in notification models.py):
if notification:
notification.send([self.from_user], "friends_accept",
{"invitation": self, "new_user": self.to_user})
but does nothing although I can enter notices manually in admin.
--
You received this message be
I've just started using custom tags and need some help parsing info
to:
@register.tag
def friends_of(parser, token):
tag_name, user_var = token.split_contents()
return FriendsOfNode(user_var)
class FriendsOfNode(template.Node):
def __init__(self, user_var):
self.user_var = tem
ether this issue is on the sender side or
Django side.
Thanks,
Justin
--
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...@googlegr
e, be more specific
>
> On Wed, Jul 1, 2015, 11:06 PM Justin Karneges wrote:
>
>> Hi folks,
>>
>> I'm running into trouble doing a PUT with chunked encoded request body
>> when the size exceeds around 35K. This is with runserver, so there's no
>> A
for a chunked upload).
On Wed, Jul 1, 2015 at 4:17 PM, Justin Karneges wrote:
> It appears that once a certain size is exceeded, the request body is not
> received at all or truncated to 0.
>
> Here's a minimal view that echos the request body:
>
> def echo(request):
&
It appears that due to test cases running in an atomic block, testing
methods which use transaction.set_autocommit() all fail. I've got a small
handful of test cases around methods which need to use manual transaction
management and they are definitely working when I actually use the site,
but
On Friday, March 7, 2014 2:58:29 AM UTC-5, Anssi Kääriäinen wrote:
>
> On Friday, March 7, 2014 12:11:59 AM UTC+2, Justin Michalicek wrote:
>>
>> It appears that due to test cases running in an atomic block, testing
>> methods which use transaction.set_autocommit() all
might be able to use annotate:
LlamaHerd.annotate(largest_llama=Max('llama__size')).order_by('largest_llama__dob')
...but the annotate here creates fields with float values, not with the
model instances.
--
Justin Holmes
Chief Chocobo Breeder, slashRoot
slashRoot: Coffee Hou
Tue, Apr 1, 2014 at 6:09 PM, Bill Freeman wrote:
> Aren't you missing a ForeignKey relationship to tell which LlamaHerd a
> Llama belongs to?
>
> Then you would use the reverse relation manager in LlamaHerd to build up
> your annotation.
>
>
> On Tue, Apr 1, 2014 at 5:
You say "use the reverse relation manager in LlamaHerd to build up your
annotation," but that answer the question.
How can I sort LlamaHerd objects by the DOB of their largest llama?
On Tue, Apr 1, 2014 at 6:13 PM, Justin Holmes wrote:
> Yes, absolutely - my bad. I have updated t
is fixed, your original
> annotate might work.
>
>
> On Tue, Apr 1, 2014 at 6:20 PM, Justin Holmes wrote:
>
>> You say "use the reverse relation manager in LlamaHerd to build up your
>> annotation," but that answer the question.
>>
>> How can I sort LlamaH
to the picture
somehow?
On Wed, Apr 2, 2014 at 12:35 PM, Bill Freeman wrote:
> My point was that annotate might work after the other problems were
> fixed. Have you re-tested since? If your annotate still doesn't work then
> perhaps someone with more annotate experience than I wi
I'm completely new to GeoDjango. I'm working through the tutorial for
Django version 2.0, and I am encountering an error when I follow the steps
in the GeoDjango section.
Specifically, when I attempt to slice a Layer object to extract Features,
it gives me an error which looks like a poss
I have a user who saw how new objects can be created using the Admin forms,
and asked if I could reproduce some of that functionality. I'm still new
to Django, and even newer to building forms. I'm wondering if there is a
way to "borrow" elements from the Admin forms into my own forms and
tem
Stumbled across this post while trying to solve the same issue
*(we've had this issue since 1.10 release, but have kept with 1.9 due to
this issue).*We're only getting this with Django 1.10+ when running behind
uWSGI.
The issue goes away if we just run the Django dev server.
On Thursday, Septem
Sorry, I had those reversed. It works find WITH uWSGI, and fails with the
Django dev server.
On Monday, November 7, 2016 at 2:48:14 PM UTC-7, Justin Wilson wrote:
>
> Stumbled across this post while trying to solve the same issue
> *(we've had this issue since 1.10 release, but
I have a form which is sublassing 3 forms, and has no new fields.
class D(A, B, C):
pass
form class B is subclassing 2 forms.
class B(B1, B2):
pass
In the template I am looping through the form.
{% for d in forms.myforms %}
{% for field in d.form.visible_fields %}
{% en
was not present, so I suspect the upgrade changed some related behavior.
Maybe it was that change in ver. 1.7 as you suggested.
On Monday, January 9, 2017 at 9:19:34 AM UTC-8, Justin J wrote:
>
> I have a form which is sublassing 3 forms, and has no new fields.
>
> class D(A,
For anyone interested,
In django/django/forms/forms.py ln 45:
# Walk through the MRO.
declared_fields = OrderedDict()
for base in reversed(new_class.__mro__):
# Collect fields from base class.
if hasattr(base, 'declared_fields'):
declared_fields.update(base.declared_fields)
"r
'django.contrib.auth.context_processors.auth',
'django.contrib.messages.context_processors.messages',
],
},
},
]
After
reading https://docs.djangoproject.com/en/1.11/ref/templates/upgrading/
Hoping to get this clarified as for a beginner this would be quite
comp
I was just trying to integrate channels into an existing django/DRF project
and I have been running into an issue where my original urls paths are
breaking when I do runserver. My root index view leads to 301 infinite
redirects loop and my other app views results in a 404. The Socket server
i
y and call send_event() from anywhere.
I hope others find it useful.
Justin
--
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...@
ld suggest you update your readme to reflect that SSE is not
> supported by any MS browser (IE or Edge) as shown by
> https://caniuse.com/#feat=eventsource.
>
>
> On Wednesday, June 13, 2018 at 7:34:21 PM UTC-4, Justin Karneges wrote:
>>
>> Hi folks,
>>
>> I'
it. If anyone really needs to
support old IE they should know to include it themselves.
Justin
On Wed, Jun 13, 2018 at 7:45 PM, Jason wrote:
> ooh, nice! missed that part.
>
> Did you consider having that pull from a CDN rather than locally? Reason
> being, any updates to said poly
Tq so much bro can u send u r contact number pls im from tamilnadu
On Saturday, July 20, 2019 at 6:32:21 PM UTC+5:30, Desh Deepak wrote:
>
> Sorry for the late reply,
>
> You can try these commands on your terminal:-
>
> pip uninstall Django
>
> Then
>
> pip install Django 2.0
>
> and try to run
Hey Carl. Missed you so very much at DjangoCon. :-)
> I'm not sure why the mezzanine docs don't mention using the
SOUTH_MIGRATION_MODULES setting (or Django 1.7 equivalent
MIGRATION_MODULES) to override the location of the mezzanine app's
migrations to a package in your project, where you can fr
subclass for this purpose and document how to import and use
it in a migration?
On 11/04/2014 03:33 PM, Carl Meyer wrote:
> Hi Justin,
>
> On 11/04/2014 04:17 PM, Justin Myles Holmes wrote:
>> Hey Carl. Missed you so very much at DjangoCon. :-)
> Thanks :-)
>
>
subclass for this purpose and document how to import and use it in a
migration?
Well, the problem there is that Operation isn't used directly, but
subclassed for each individual type of migration operation.
On 11/04/2014 03:33 PM, Carl Meyer wrote:
> Hi Justin,
>
> On 11/04/
you have anything resembling magically changing models in your
> project, you're not going to be able to use anything makemigrations
> outputs and expect it to Just Work™.
>
> Andrew
>
> On Tuesday, November 4, 2014 3:59:23 PM UTC-8, Carl Meyer wrote:
>
> Hi Jus
of Mezzanine's migration is the simplest
solution. I sense that I'm going to face some resistance if I suggest
changing their docs to reflect this. I'll start with a blog post.
On 11/04/2014 04:30 PM, Justin Myles Holmes wrote:
> Well, as I say, I don't particularly like
301 - 389 of 389 matches
Mail list logo