Moving discussions to the forum

2025-02-22 Thread Karen Tracey
at our Django Community page <https://www.djangoproject.com/community/> to find other online spaces. Thank you! Karen, on behalf of the Django Software Foundation -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe fr

Re: AttributeError: module 'django.db.models' has no attribute 'PointField'

2022-11-27 Thread Karen Tracey
On Sun, Nov 27, 2022 at 2:41 PM Ilyas Modni wrote: > AttributeError: module 'django.db.models' has no attribute 'PointField' > > PointField is in django.contrib.gis.db.models: https://docs.djangoproject.com/en/4.1/ref/contrib/gis/model-api/#pointfield -- You received this message because you ar

Re: about issue

2020-03-21 Thread Karen Tracey
On Sat, Mar 21, 2020 at 11:32 AM Keshwani Ishita wrote: > > how to find issues for this organization's repo? https://code.djangoproject.com/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Re: Raju | ITC Infotech - Looking for Backend Developers (Python/Django ORM - New York City )

2019-09-18 Thread Karen Tracey
Please everyone keep in mind that this mailing list has tens of thousands of subscribers. Anyone interested in this job posting should contact the poster directly, not post on this list. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubsc

Re: President of India: Save Nallamala Forest from Uranium Mining @rashtrapatibhvn @TelanganaCMO

2019-09-15 Thread Karen Tracey
This user has posted non-spam in the past so was not moderated. Previous emails had different headers so I suspect this was not actually posted by this user. Best just to ignore spam when it makes it through, just like trolls ignoring them like you don't even see their email is the best way to anno

Re: Update many to many django

2019-04-10 Thread Karen Tatiana Mesa Lopez
Hola Luis, tengo la ultima pregunta, te agradezco mucho tu ayuda voy a realizar un for doble, mi pregunta puntual seria, los arreglos del for doble tienen que llevar la misma cantidad de datos ejemplo tema = ['1','2'] otro = ['1','2'] for t ,o in zip(tema,otro): print(t,o) ¿o pueden lleva

Re: Dev Server Response

2019-02-14 Thread Karen Tracey
On Thu, Feb 14, 2019 at 8:12 PM wrote: > Maybe a dumb question, but I can't find it anywhere in the documentation. > I'm running an API with the development server and get a response from it > in the console like: > > [14/Feb/2019 15:45:11] "GET /api/v1/msgs HTTP/1.1" 200 405 > > 200 OK is the st

Re: django kwargs are not passed with the view to html template

2019-02-04 Thread Karen Tracey
> > > In the conference list html, this is the code snippent: `{{ conference.title }}`. It redirects to the conference > detail page without any problem. In the conference by country html, I have > the following code: > > > {% for conferenc in conferences %} >

Re: Do queries made instantiating a form not show up in db.connection.queries?

2018-11-01 Thread Karen Tracey
/en/2.1/ref/forms/fields/#django.forms.ModelChoiceField.queryset notes the queryset is "evaluated when the form is rendered." ...are you rendering the form or just instantiating it (per the subject)? Karen -- You received this message because you are subscribed to the Google Groups &quo

Re: unable to use unique argument in CharField

2018-08-13 Thread Karen Tracey
On Mon, Aug 13, 2018 at 1:21 PM, Ketul Patel wrote: > *code* > > from django import forms > > class Group(models.Model): > name = forms.CharField(max_length=255,unique=True) > slug = forms.SlugField(allow_unicode=True,unique=True) > > > You need to use models.CharField, models.SlugField,

Re: Please help me

2017-05-29 Thread Karen Tracey
On Mon, May 29, 2017 at 8:52 AM, Opeyemi Gabriel < gabriel.futionl...@gmail.com> wrote: > Django girls, am a guy > > No worries, I expect you will still be able to follow it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from t

Re: What is the best combination of components when installing Django on Windows 10?

2016-12-27 Thread Karen Tracey
On Tue, Dec 27, 2016 at 11:59 AM, bart wrote: > Don't u se Windows! > > Please stop answering like this, this is the 2nd time you've provided an answer of essentially "just don't do it" to a valid question. Windows may not be where you would ever choose to deploy something, but there are perfectl

Re: LIMIT 1 on model.objects.get()

2016-02-25 Thread Karen Tracey
On Thu, Feb 25, 2016 at 10:10 AM, Matthew Crowson < matthew.d.crow...@gmail.com> wrote: When Django creates the SQL to get an object from model.objects.get() it > doesn't look like SQL is adding a "LIMIT 1" to the end. As the get method > is always intended to return a single item, would adding th

Re: Django 1.8 feature in 1.7.9?

2015-07-09 Thread Karen Tracey
On Thu, Jul 9, 2015 at 9:17 AM, Tim Graham wrote: > The 1.7.9 wheel file that was first uploaded to PyPI was corrupted. I > uploaded a corrected file about 2 hours after the initial release. Sorry > for inconvenience and confusion! > > Any guidance on how to recover from a "cached" corrupted whee

Re: comment and uncomments in django html template

2015-06-19 Thread Karen Tracey
On Fri, Jun 19, 2015 at 12:42 PM, Sindhujit Ganguly wrote: > > Does anyone know how to do multiple line comments in django html > templates? > > Yes, block comment template tag: https://docs.djangoproject.com/en/1.8/ref/templates/builtins/#comment -- You received this message because you are

Re: Intuition about (potentially) sending multiple password reset emails

2014-12-03 Thread Karen Tracey
generated for each matching user, and the information presented in each email includes the specific username for which the reset link applies. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this grou

Re: Group Admin

2013-12-20 Thread Karen Tracey
On Thu, Dec 19, 2013 at 11:53 PM, wrote: New here. Just wanted to know if there are any group admins present who > review a post? Because I posted a question sometime back and it still > hasn't showed up on the news feed. > Yes, first posts are moderated to prevent spam. It may take several hour

Re: Using unique_together with foreign key fields which may be None

2013-09-30 Thread Karen Tracey
On Mon, Sep 30, 2013 at 4:55 PM, Berndt Jung wrote: > Because the lookup_value of a null field is None, the validation check is > aborted entirely. This seems wrong to me, and I'm wondering if I'm doing > something wrong here. Redefining the models is not something I can do at > this point. N

Re: djangojobs.com

2013-09-20 Thread Karen Tracey
Please note any use of djangojobs.com domain would need to conform to the Django trademark license agreement: https://www.djangoproject.com/trademarks/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop rece

Re: I get import errors when I run django-admin.py startproject in Windows

2013-03-31 Thread Karen Tracey
What errors, exactly? Without some specifics of what's going wrong it's hard to offer help. Copy/paste of exactly what you are entering and getting in response would help. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this

Re: Django 1.5 tutorial error: 'module' has no attribute 'StackedInLine'

2013-03-27 Thread Karen Tracey
On Wed, Mar 27, 2013 at 11:32 AM, +Emmanuel wrote: > Hello there, > > I am working through the django tutorial at djangoproject.com. So far > everything works out fine until Section 2.4.6 (customizing the admin form). > Django throws an error: *'module' has no attribute 'StackedInLine'. * > Rig

Re: Using values_list and extra on same queryset

2013-03-27 Thread Karen Tracey
On Wed, Mar 27, 2013 at 9:19 AM, Larry Martell wrote: > Here's a very simple example showing it's not working for me > > (Pdb) CST.objects.all().extra(select={'ep': > 1}).values_list('image_measurer_id') > [(86456L,), (86454L,), (86452L,), (86450L,), (86448L,), (86446L,), > (86444L,), (86442L,), (

Re: What is the difference in the 1.5.x branches for instance, vs 1.5

2013-03-25 Thread Karen Tracey
pip to install, I am launching the command: > > pip install -v git+https://github.com/django/django.git@1.5.x > > But have also seen #egg=django , I am unclear as to what the egg is for. I believe the egg specification is only needed when you install using the -e (editable) option.

Re: memory leak in django 1.5

2013-03-21 Thread Karen Tracey
d a similar thing and is able to provide > some insight. > https://code.djangoproject.com/ticket/19895#comment:6 notes a memory leak due to a fix that went into 1.5. The fix was reverted on the 1.5.x branch about two days ago, so one thing to try would be to run current 1.5.x branch level ra

Re: manage.py and django-admin.py help

2013-02-27 Thread Karen Tracey
anage.py: command not found Mention of apt-get makes me think you're using a linux distribution where the packaging has renamed django-admin.py to just django-admin, so try just django-admin. You won't have a manage.py until you get django_admin startproject to run successfully. Karen --

Re: How to install Django 1.4.5 in python 3.2.3?

2013-02-21 Thread Karen Tracey
You don't. Python 3 support comes with Django 1.5, it's not available with 1.4.x. Karen -- 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 d

Re: django 1.4.3 to 1.4.4 upgrade fails - Bad magic number Import Error

2013-02-21 Thread Karen Tracey
On Thu, Feb 21, 2013 at 9:09 AM, lucien wrote: > Hi, > > I tried the 1.4.5 because I got the same error with ubuntu and postgres > Do you have any idea? > Did you remove the 1.4.4 install before installing 1.4.5? -- You received this message because you are subscribed to the Google Groups "Dj

Re: pyc files included in the package for Django 1.4.4

2013-02-19 Thread Karen Tracey
I'm assuming this is a mistake, but could someone please clarify? > Correct, it's a mistake those files were included. The problem affects both the 1.4.4 and 1.3.6 tarballs. A ticket has been opened for it: https://code.djangoproject.com/ticket/19858. Karen -- http://tracey.org

Re: Django install error using Python26

2013-01-26 Thread Karen Tracey
re. Hopefully things will get easier now. When in doubt try to do exactly as shown in the tutorial/book and if that doesn't work don't be afraid to ask questions on IRC or here. I expect everyone here can remember tripping in early days over something that in retrospect seems silly. Ka

Re: Django install error using Python26

2013-01-26 Thread Karen Tracey
Lowercase install, not uppercase INSTALL. Karen -- http://tracey.org/kmt/ -- 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-user

Re: urlresolver.reverse_dict contents differ from 1.3 to 1.4

2013-01-07 Thread Karen Tracey
lresolver is in the realm of internals, not publicly documented API. There is no comprehensive documentation (other than the code itself) of Django internals. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" gr

Re: Strange behavior using ModelForms

2012-12-18 Thread Karen Tracey
orm's instance in-place with the valid cleaned data. This is documented: https://docs.djangoproject.com/en/dev/topics/forms/modelforms/#the-is-valid-method-and-errors Your form field's clean method would have access to the "old" value, since that runs before the new value has been

Re: IntegerField and SmallIntegerFields maps to the same db type on Oracle.

2012-12-13 Thread Karen Tracey
o were defined as they were. When testing out that patch for inclusion I focused on "does the new field accept the range of numbers it should" and likely didn't check to make sure the new type defined for each backend was consistent with how other types in that backend had bee

Re: Problem at activating the admin site (Django tutorial part 2)

2012-12-13 Thread Karen Tracey
problem seemed to be due to adding south as an app in the tutorial rather than following the tutorial exactly. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: django-registration customization

2012-12-13 Thread Karen Tracey
alidation errors, since that is where they've been stored. See: https://docs.djangoproject.com/en/1.4/topics/forms/#displaying-a-form-using-a-template Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Possible Bug with GenericRelation and values_list

2012-12-10 Thread Karen Tracey
ld work? > > Answered on django-developers: http://groups.google.com/group/django-developers/msg/b5a4c5bdc2577f3f Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email

Re: Messages Framework

2012-12-09 Thread Karen Tracey
ssages/#displaying-messages which shows a sample template block for rendering messages notes that you'll need to either render with a RequestContext or somehow ensure that the messages variable is available in the template context. Karen -- http://tracey.org/kmt/ -- You received this message

Re: get_or_create gave IntegrityError: (1062, "Duplicate entry) error sometimes

2012-10-15 Thread Karen Tracey
icular issue can be fixed by changing the transaction isolation level to "read committed". Although I have heard various people say this can cause "other problems" with MySQL apps, I've never seen a concrete example of one, so switching to "read committed" would b

Re: Global timeout for views

2012-10-14 Thread Karen Tracey
g to figure out why some views are slow. Karen -- http://tracey.org/kmt/ -- 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 t

Re: User can't edit model even after permissions are issued

2012-10-14 Thread Karen Tracey
On Fri, Oct 12, 2012 at 4:52 PM, Shawn H wrote: > I'm new to Django, and I'm using the admin site to manage my users. I > have one app installed, and it has one model. I created a new user, issued > that user add, change, and delete privileges (as app | model | privilege), > but when I log on a

Re: custom upload handlers

2012-09-23 Thread Karen Tracey
example of how to change the upload handlers in a view that is not CSRF protected and then forward the request onto a view function which is CSRF protected. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" grou

Re: Django newbie with issues

2012-09-15 Thread Karen Tracey
uot; error there is what you get today on master if you run with Python earlier than 2.6.5). I'd start over with a completely new install, in a completely new directory tree. (I also would not include "django-trunk" in the name of that tree, if it was actually intended to hold 1.1.s

Re: NoReverseMatch Error

2012-08-25 Thread Karen Tracey
xamples you could point me to would be much appreciated. > > Sorry, it's {% load url from future %}, not import. Brain misfired and put Python word in place of Django template language. See the forward compatibility note here: https://docs.djangoproject.com/en/1.3/ref/templates/b

Re: SyntaxError Creating New Project

2012-08-22 Thread Karen Tracey
"help", "copyright", "credits" or "license" for more information. >>> import django Traceback (most recent call last): File "", line 1, in ? File "/home/kmt/django/Django-1.4.1/django/__init__.py", line 15 parts = 2 if vers

Re: django.db.utils.DatabaseError when resyncing django app models

2012-08-21 Thread Karen Tracey
17763 Solution at this point in time is either to shorten names in your models or manually increase the length of the too-small field(s) in the auth_permission table. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: skip fixtures loading on 'manage.py test myapp'

2012-08-21 Thread Karen Tracey
uldn't ordinarily load. Unless...do you have migrations that are loading fixtures? Karen -- 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 gr

Re: NoReverseMatch Error

2012-08-15 Thread Karen Tracey
d have code that will continue to work with the next release of Django. Removing the quotes is not the best approach at this time. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group,

Re: NoReverseMatch Error

2012-08-13 Thread Karen Tracey
e) to please be sure you run through the online version of the tutorial that matches the level of code you are running. Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

Re: django.shortcuts redirect doesn't pass argument

2012-08-05 Thread Karen Tracey
ch will be used as-is (per doc: https://docs.djangoproject.com/en/1.4/topics/http/shortcuts/#redirect). If you want the filepath kwarg to be used to construct the url specified in the redirect, you need to pass the name of the view (or url pattern) for the view. Karen -- http://tracey.org/km

Re: How to override an attribute?

2012-08-04 Thread Karen Tracey
oes not require doing something Django does not support. Karen -- http://tracey.org/kmt/ -- 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 gr

Re: Demise of Mr. Kenneth Gonsalves

2012-08-03 Thread Karen Tracey
e missed. Thank you for letting us know. Karen -- 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 to django-users+unsubscr...@go

Re: QuerySet API - istartswith - use UPPER instead of ILIKE with PostgreSQL backend

2012-08-03 Thread Karen Tracey
n for using UPPER instead of ILIKE was put in (see https://code.djangoproject.com/ticket/3575). Feel free to open a ticket against the doc, from a quick check it seems that none of the DB backends use the documented "SQL equivalent". (I wonder if these documented "equivalents"

Re: Features in Django1.4

2012-07-28 Thread Karen Tracey
ease=6 > 2. comments > https://docs.djangoproject.com/search/?q=comments&release=6 > 3. uploads > https://docs.djangoproject.com/search/?q=file+uploads&release=6 Django has pretty comprehensive documentation, that's a good place to start in your search. Karen -- http:/

Re: form.save() fails - due to missing field?

2012-07-28 Thread Karen Tracey
attempting to save the form/model. The code you show is already solving this problem for the Referral status field, you must somehow do the same thing for the section. The key is you must set section before attempting to save the new model. As noted above I can't quite follow what you've said

Re: form.save() fails silently - how to debug?

2012-07-27 Thread Karen Tracey
ough what's actually happening using pdb. Karen -- http://tracey.org/kmt/ -- 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, s

Re: ignore field during form validation

2012-07-27 Thread Karen Tracey
ms, and only call is_valid() on the one with the len value if the first one with the check value indicates that check is True. Both of these Django forms can be rendered in a single HTML . I think that approach is a little cleaner than inspecting the POST data yourself. Karen -- http://tracey.org/

Re: newbie URL problem

2012-07-26 Thread Karen Tracey
On Thu, Jul 26, 2012 at 8:32 AM, Karen Tracey wrote: > On Thu, Jul 26, 2012 at 12:20 AM, Felipe Sitta wrote: > >> >> I messed up with the code and figured that the problem is with the urls >> patterns. Here are the codes: >> >> the url patterns from urls.p

Re: newbie URL problem

2012-07-26 Thread Karen Tracey
resumably the url ends with a slash at the end of the string. urlpatterns are processed in order with first match begin taken, so anything that that starts with 'Track List' and ends with an alphnumeric (\w+) and a slash is matching the first url pattern and being routed to the trackList

Re: All of the sudden getting TemplateDoesNotExist error

2012-07-24 Thread Karen Tracey
erything looks ok and I don't recall making any changes that would be > relevants. > > With DEBUG on the template loader post mortem on the debug page should give some clues. What does it say? Karen -- http://tracey.org/kmt/ -- You received this message because you are subscrib

Re: forms.FileField

2012-07-24 Thread Karen Tracey
sers do not allow file upload fields to be initialized by the server, users must explicitly choose files to be uploaded. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: sqlite to mysql loaddata not working (using natural keys)

2012-07-21 Thread Karen Tracey
in create_user_profile > UserProfile.objects.create(user=instance) > You've got app code running here that is forcing creation of a UserProfile when the user is loaded. Likely these UserProfile objects are also being loaded from the fixture, so the attempt to create them is generating the

Re: Extending a app with other app

2012-07-21 Thread Karen Tracey
y sense in Django to say you want an app inside an app. Karen -- http://tracey.org/kmt/ -- 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

Re: How to present a calculated field in a admin edit form.

2012-07-21 Thread Karen Tracey
goproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.readonly_fields You'll need to upgrade from that ancient level of Django though, readonly_fields were introduced in 1.2. Karen -- You received this message because you are subscribed to the Google Groups "Django

Re: runserver and the tty echo flag

2012-06-24 Thread Karen Tracey
7;ve got another such fix feel free to open a ticket with suggested improvement. Karen -- 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 emai

Re: help regarding timezone

2012-06-20 Thread Karen Tracey
i dono why error.. > > > The timezone module you are trying to import is new in Django 1.4. What level of Django are you running? Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djan

Re: Django installation error

2012-05-24 Thread Karen Tracey
talled, see: https://docs.djangoproject.com/en/1.4/intro/install/#install-python Karen -- http://tracey.org/kmt/ -- 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: How to add Profile field to User change list ?

2012-05-13 Thread Karen Tracey
gt; > 'project.auth', > ) > You've got two apps named "auth", this won't work. Rename you project "auth" app to something other than "auth". Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed t

Re: django- accessing items in a python dictionary

2012-04-29 Thread Karen Tracey
items like you are trying was added). If you are changing and old project you'll need to stick to docs from the version of Django you have, or upgrade the project. If you are just starting out you should definitely delete whatever Django you have installed and start with 1.4 instead. Karen --

Re: URL resolution in a Django template

2012-04-28 Thread Karen Tracey
eting_participants in your example snippet). The answer is Django would not know which one to call if you have named two different url patterns with the same name. This case is documented to be "undefined behavior", see the note under: https://docs.djangoproject.com/en/1.4/topics/http/ur

Re: Cannot add/save flatpages via admin???

2012-04-28 Thread Karen Tracey
This was a bug in the flatpage form validation, where it would throw an exception rather than give you an error message if you did not specify any values for the required sites field. Fixed now on git master. You can also avoid it by being sure to select at least one site for the page. Karen

[no subject]

2012-04-23 Thread Karen Tracey
-- 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 to django-users+unsubscr...@googlegroups.com. For more options, visit this group at

Re: UnboundLocalError: local variable 'KeyError' referenced before assignment

2012-04-09 Thread Karen Tracey
ent to where KeyError is caught makes an assignment to KeyError. So search later in the view for where KeyError is mis-assigned. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e

Re: VERY strange unicode encode error on internet connection

2012-03-18 Thread Karen Tracey
t; Your code is going down some different paths in the two situations, why that is the case is hard to speculate on without more information. It's also pretty much impossible to give guidance on how to fix the UnicoceDecodeError without the full traceback from it. Karen -- http://tracey.org/kmt/

Re: how to display development server page

2012-03-18 Thread Karen Tracey
es on the machine, so you don't have to go hunting down the IP address of the linux host. However to reach it from your PC you will need to know its hostname or IP address so that you can specify it instead of 127.0.0.1 in the url. Karen -- http://tracey.org/kmt/ -- You received this message be

Re: syncdb failure in new project with 1.4c2

2012-03-18 Thread Karen Tracey
ch > does return a non-None on my system). Yes, it should fail gracefully and it currently doesn't. The ticket is still open, that's why you still see this failure in 1.4rc1. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google

Re: sending django email via gmail

2012-03-14 Thread Karen Tracey
pgrade it to secure via the STARTTLS command. This is what Django does when you specify EMAIL_USE_TLS=True. Gmail doc notes that for the TLS/STARTTLS case, you need to use port 587: http://support.google.com/mail/bin/answer.py?hl=en&answer=13287 Karen -- http://tracey.org/kmt/ -- You rec

Re: poll application

2012-03-14 Thread Karen Tracey
t; the admin.py , it gives me an error > it worked once and when i continued the tutorial , it gave me error so > i have to remove it > Any help ?? What error? It's hard for people to help you when you omit key information such as the error you were seeing. Karen -- http://tracey.org/k

Re: How can I print form errors from inside the test

2012-03-14 Thread Karen Tracey
The most common reason I have seen for is_valid() to return False but errors to be empty is for the form to be unbound. Unbound forms are never valid, but they also don't have any errors. Which goes to Daniel's question: how exactly have you "preloaded" the form with d

Re: Live search

2012-03-07 Thread Karen Tracey
Further narrowing down the set you've already fetched would most easily be done just with javascript. If you don't need any additional data from the server then going back to the server for further processing just complicates things. Karen -- http://tracey.org/kmt/ -- You received

Re: How to show the template reserved keyword on html.

2012-02-19 Thread Karen Tracey
show {{ sample }} ? On the other hand, how to show > template reserved word? > > I think you want this: https://docs.djangoproject.com/en/1.3/ref/templates/builtins/#templatetag Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups

Re: Group Moderation

2012-01-27 Thread Karen Tracey
that were obvious spam). Hopefully I will have some time later today to see if I can figure out why moderation emails have stopped getting sent out to the moderators Karen -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Testing Error Pages

2012-01-07 Thread Karen Tracey
On Wed, Jan 4, 2012 at 11:40 AM, Colin wrote: > What's the best way to go about testing them please? > https://docs.djangoproject.com/en/1.3/ref/contrib/staticfiles/#django-admin-option---insecure Karen -- http://tracey.org/kmt/ -- You received this message because you are subscr

Re: UnicodeDecodeError

2012-01-05 Thread Karen Tracey
-charset) that controls what encoding is assumed for files read from disk, it defaults to utf8. Either fix the encoding of the template file to be utf8 or change that setting to match whatever encoding is being used for all your template files on disk. Karen -- You received this message because you

Re: django 1.4 timeline

2011-12-25 Thread Karen Tracey
On Sun, Dec 25, 2011 at 11:34 AM, Sells, Fred wrote: > ** > > Any guesses on schedule? > https://docs.djangoproject.com/en/dev/releases/1.4-alpha-1/#the-django-1-4-roadmap Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Gro

Re: question about django-admin.py

2011-12-25 Thread Karen Tracey
On Sun, Dec 25, 2011 at 10:03 AM, Chen Xu wrote: > It seems like some changes have been made to the most recent django > version? Yes. See: https://docs.djangoproject.com/en/dev/releases/1.4/#updated-default-project-layout-and-manage-py Karen -- http://tracey.org/kmt/ -- You receive

Re: new tables missing from admin page

2011-12-20 Thread Karen Tracey
No, it doesn't happen automatically. (Unless prior to this change you were using plug-in apps that all provided an admin.py file to register their models.) For any models in apps you write, you must explicitly register them with admin in order for them to be visible in admin. Karen --

Re: TemplateSyntaxError at /admin/ Caught AttributeError while rendering: 'NoneType' object has no attribute 'id'

2011-12-20 Thread Karen Tracey
People would be able to help you more effectively if you included the stack trace that goes with the exception. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: ModelForms and ProcessFormViews w models containing BooleanFields

2011-12-20 Thread Karen Tracey
Specify blank=True on the model field. When a ModelForm is created, the default value for a model form field's "required" attribute is based on the corresponding model field's "blank" attribute. Karen -- http://tracey.org/kmt/ -- You received this message bec

Re: Translating templates

2011-12-14 Thread Karen Tracey
less text otherwise the page isn't professional enough" %} Once all strings are marked, you use the makemessages command ( https://docs.djangoproject.com/en/1.3/topics/i18n/localization/#message-files) to generate message files, and that's what you hand to translators to transl

Re: Django testing and unique=True

2011-12-13 Thread Karen Tracey
urrently properly noted in the docs, and there is a ticket open on that ( https://code.djangoproject.com/ticket/17312). Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to d

Re: List of Django release dates?

2011-12-11 Thread Karen Tracey
to be "hotclub"? Karen -- http://tracey.org/kmt/ -- 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 to django-users+un

Re: Bulk import of data

2011-12-03 Thread Karen Tracey
bjects.html). http://www.caktusgroup.com/blog/2011/09/20/bulk-inserts-django/ mentions the kinds of speedups you can expect with using a bulk insert technique vs. creating objects individually with the ORM. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Gro

Re: double trailing slash in url

2011-12-02 Thread Karen Tracey
the Django code doesn't even see them. Try using the dev server to access the url with multiple slashes -- the dev server won't collapse the slashes, so I suspect you'll see the 404 you are expecting for that case. Karen -- http://tracey.org/kmt/ -- You received this message

Re: division breaks makemessages djangojs

2011-12-02 Thread Karen Tracey
open a ticket here: https://code.djangoproject.com/newticket Karen -- http://tracey.org/kmt/ -- 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 th

Re: help_text line continuation

2011-11-14 Thread Karen Tracey
;t seem to be needed!!! > > Is that a feature of Django's admin app or a trap for the unwary? > > It's a feature of the language Python: http://docs.python.org/reference/lexical_analysis.html#string-literal-concatenation Karen -- http://tracey.org/kmt/ -- You received this messag

Re: [Django] #17167: ModelForm model=class not honoring reference fields with secondary database

2011-11-05 Thread Karen Tracey
u are trying to do with just saying using('alternate_db') on retrieval of an instance. I think you will need to code some database routing ( https://docs.djangoproject.com/en/1.3/topics/db/multi-db/#database-routers) for this. Karen -- http://tracey.org/kmt/ -- You received this mes

Re: Django aggregation does excessive GROUP BY clauses

2011-11-01 Thread Karen Tracey
angoproject.com/changeset/14715 It certainly looks to me like the old SQL was correct and preferable for this particular case. In a brief search I did not find a ticket reporting this issue -- could you open one? Karen -- http://tracey.org/kmt/ -- You received this message because you are subs

Re: User data being exposed with mod_wsgi/apache

2011-11-01 Thread Karen Tracey
{} in the __init__ definition with initial=None and replace None with an empty dictionary inside the method body...otherwise you are relying on all ReportUpdateForm callers to do the right thing (that is, always specify initial, even though it's not "required") to prevent that defau

Re: Can't add superuser

2011-10-31 Thread Karen Tracey
your machine. Another would be to read that ticket and try patching your Django with one of the patches attached there. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email t

Re: lazy queryset

2011-10-25 Thread Karen Tracey
e details: https://code.djangoproject.com/ticket/13906, including how to specify an init command for the DB that can be used to switch it to use READ COMMITTED, for example. Karen -- http://tracey.org/kmt/ -- You received this message because you are subscribed to the Google Groups "Django us

  1   2   3   4   5   6   7   8   9   10   >