Re: GeoDjango Admin interface - Invalid HEX given!

2007-05-24 Thread Justin Bronn
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

Re: installing django on vista?

2007-05-26 Thread Justin Bronn
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

Re: problems using django on lighttpd with fastcig

2007-06-01 Thread Justin Bronn
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

Re: reassessing our Operating System

2007-09-18 Thread Justin Lilly
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? >

Re: install on windows

2007-09-22 Thread Justin Lilly
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

Re: sql_custom

2007-10-07 Thread Justin Bronn
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

Re: DB API - filter/exclude bug ?

2007-10-07 Thread Justin Bronn
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 --~--~-~--~~~---~-

Re: New Django App... FeedEachOther

2007-10-08 Thread Justin Lilly
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 --~--~-~-

Re: Painful deployment | shared hosting | Need your advice

2007-10-20 Thread Justin Lilly
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

Re: RESTful Geodjango

2007-10-20 Thread Justin Bronn
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

Re: geodjango and MySQL

2007-10-26 Thread Justin Bronn
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

Re: RESTful Geodjango

2007-11-05 Thread Justin Bronn
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

Re: Using GeoDjango features with current trunk?

2007-11-05 Thread Justin Bronn
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

Re: GeoDjango: Can't find libraries and geos errors

2007-11-17 Thread Justin Bronn
> 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

Named URL patterns with included urlconfs

2007-11-18 Thread Justin Fagnani
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 --~--~-~--~~~---

Re: Named URL patterns with included urlconfs

2007-11-18 Thread Justin Fagnani
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

Re: GeoDjango Distances

2007-11-22 Thread Justin Bronn
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

Re: GeoDjango: Invalid spatial reference pointer returned from "OGR_L_GetSpatialRef"

2007-12-12 Thread Justin Bronn
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

Re: Putting django on Amazon DB

2007-12-14 Thread Justin Bronn
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

Override widget for TextFields on Admin site

2007-12-31 Thread Justin Piper
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

Re: Is GeoDjango stable.

2008-01-02 Thread Justin Bronn
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

Re: help with tagging app

2006-12-15 Thread Justin Johnson
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

Re: video uploads (like you tube)

2007-01-24 Thread Justin Johnson
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

RE: Including URLconf

2022-03-07 Thread Justin Kpakpa
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

Django Model related_name

2022-09-06 Thread Justin Kpakpa
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

How do django Field type hints work?

2022-09-23 Thread Justin Black
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

Re: How do django Field type hints work?

2022-09-23 Thread Justin Black
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

Re: question about "\d" in url pattern

2012-02-27 Thread Justin Myers
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

Re: New way to run your Django projects

2012-03-18 Thread Justin Holmes
; 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

Http404 and process_exception

2012-03-27 Thread Justin Holmes
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

Re: Http404 and process_exception

2012-03-28 Thread Justin Holmes
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

Re: Http404 and process_exception

2012-03-30 Thread Justin Holmes
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

test_invalid_key failing

2011-10-04 Thread Justin Holmes
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

contrib.auth tests - not respecting TEMPLATE_DIRS?

2011-10-10 Thread Justin Holmes
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

Re: point url with folder to s3

2011-11-13 Thread Justin Steward
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

Re: django.conf.urls.defaults.url documentation

2011-11-15 Thread Justin Myers
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

django-deeper

2011-12-28 Thread Justin Holmes
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

Re: Django count

2013-07-28 Thread Justin Michalicek
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

Re: django workaround for multiple primary keys or sqlalchemy

2013-07-29 Thread Justin Michalicek
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

Re: Django installation on vanilla Mac OSX 10.8.2 mountain lion

2013-08-02 Thread Justin Michalicek
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

Re: Uploading file and serving them with CDN - Best practices

2013-08-06 Thread Justin Michalicek
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

Re: Conneting Sybase ASE using pyodbc in Django

2013-08-06 Thread Justin Thorsen
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? >

Why no locale (formats.py) for Australia en_AU or Canada en_CA?

2013-08-30 Thread Justin Hill
, 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

Re: Django-Facebook (yet another thread)

2010-12-15 Thread Justin Murphy
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

OpenToken Spec & Single Sign On

2011-01-06 Thread Justin Murphy
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.

Re: Curious 500 errors

2011-01-10 Thread Justin Murphy
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 --

Re: Class based views and form processing

2011-01-10 Thread Justin Murphy
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

Re: empty DateTimeField?

2011-01-11 Thread Justin Murphy
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

Re: empty DateTimeField?

2011-01-11 Thread Justin Murphy
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

Re: Class based views and form processing

2011-01-12 Thread Justin Murphy
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

Re: Class based views and form processing

2011-01-12 Thread Justin Murphy
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

Re: Meaning for this error

2011-01-13 Thread Justin Murphy
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

Re: empty DateTimeField?

2011-01-13 Thread Justin Murphy
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

Re: max recursion depth exceeded

2011-01-13 Thread Justin Murphy
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

simple friends template help

2011-03-27 Thread justin jools
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

django-simple-friends template help

2011-03-27 Thread justin jools
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

Re: simple friends template help

2011-03-28 Thread justin jools
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

Re: simple friends template help

2011-03-28 Thread justin jools
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 >

django-simple-friends + notifications: how to intergrate?

2011-03-28 Thread justin jools
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

Django Notification - can't send notifications

2011-03-28 Thread justin jools
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

django custom template tags: how to send to (parser, token)

2011-03-30 Thread justin jools
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

runserver request body limitations

2015-07-01 Thread Justin Karneges
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

Re: runserver request body limitations

2015-07-01 Thread Justin Karneges
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

Re: runserver request body limitations

2015-07-01 Thread Justin Karneges
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): &

Django 1.6 test cases for code which calls transaction.set_autocommit()

2014-03-06 Thread Justin Michalicek
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

Re: Django 1.6 test cases for code which calls transaction.set_autocommit()

2014-03-07 Thread Justin Michalicek
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

ORM Question

2014-04-01 Thread Justin Holmes
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

Re: ORM Question

2014-04-01 Thread Justin Holmes
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:

Re: ORM Question

2014-04-01 Thread Justin Holmes
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

Re: ORM Question

2014-04-02 Thread Justin Holmes
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

Re: ORM Question

2014-04-02 Thread Justin Holmes
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

GeoDjango GDAL Slice Error in layer.py

2018-01-12 Thread Justin Johnson
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

Borrowing functionality from Django Admin forms

2018-03-07 Thread Justin Johnson
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

Re: Access request body in the django.request logger

2016-11-07 Thread Justin Wilson
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

Re: Access request body in the django.request logger

2016-11-07 Thread Justin Wilson
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

Form Inheritance. Order is Reversed.

2017-01-09 Thread Justin J
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

Re: Form Inheritance. Order is Reversed.

2017-01-10 Thread Justin J
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,

Re: Form Inheritance. Order is Reversed.

2017-01-11 Thread Justin J
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 tutorial - Misleading instructions

2017-06-29 Thread Justin Stubbs
'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

Redirect Loops and 404 with Django Channels and runserver command

2018-06-08 Thread Justin Lee
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

Server-Sent Events for Django

2018-06-13 Thread Justin Karneges
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...@

Re: Server-Sent Events for Django

2018-06-13 Thread Justin Karneges
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'

Re: Server-Sent Events for Django

2018-06-13 Thread Justin Karneges
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

Re: SQLite 3.8.3 or later is required (found 3.7.17).

2019-11-05 Thread amul justin
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

Re: A migration in one app that adds a field to another

2014-11-04 Thread Justin Myles Holmes
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

Re: A migration in one app that adds a field to another

2014-11-04 Thread Justin Myles Holmes
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 :-) > >

Re: A migration in one app that adds a field to another

2014-11-04 Thread Justin Myles Holmes
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/

Re: A migration in one app that adds a field to another

2014-11-04 Thread Justin Myles Holmes
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

Re: A migration in one app that adds a field to another

2014-11-04 Thread Justin Myles Holmes
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

<    1   2   3   4