Re: Hire remote Python codeer

2023-12-30 Thread Dennis Alabi
I am a python developer with many years of experience, my only drawback is i use MYSQL not MongoDB but i am willing to dive into MongoDB because i have been looking for an opportunity that will make me to explore the much talked about MongoDB Website: http://transtech.ga/ Facebook: https://web.face

Re: APP DEPLOYMENT

2023-08-05 Thread Dennis Kinanga
Someone to give me instructions on how to go about it please On Aug 6, 2023 00:07, "John McClain" wrote: Heroku is easy to implement and offers free tier On Thu 20 Jul 2023 at 10:57, Abdou KARAMBIZI wrote: > > Hello friends, > > > I want to know where I can upload my django projects for the r

Re: APP DEPLOYMENT

2023-08-04 Thread Dennis Kinanga
You mean it's freee On Aug 4, 2023 17:25, "Andrei Copelet" wrote: Hi, You can deploy on https://fly.io. On Thursday, July 20, 2023 at 5:58:24 AM UTC-4 Abdou KARAMBIZI wrote: > > Hello friends, > > > I want to know where I can upload my django projects for the reason of > showing them as my tec

Re: Looking to help recruiters and job candidates

2023-07-22 Thread Dennis Kinanga
Go on On Sat, Jul 22, 2023, 13:12 marvelous wrote: > Hello sir I have some sufficient knowledge of back end and im available > to help you for any price > > > > > > Sent from Mail for > Windows > > > > *From: *Saurav Sharma > *Sent: *Tuesday, Ju

Re: APP DEPLOYMENT

2023-07-20 Thread Dennis Kinanga
You mean deploying them in heroku is free was unable to do that On Thu, Jul 20, 2023, 13:03 jeremiah nthiwa wrote: > Hello you can deploy your projects on heroku. > > You can use this YouTube video to help you: > https://www.youtube.com/watch?v=XZoTukqekzY > > On Thu, Jul 20, 2023 at 12:58 PM Abd

Re: MySQL table is missing ON DELETE CASCADE constraint

2023-01-23 Thread Dennis Tants
Thanks for the answers. Still not sure why it would not implement ON DELETE CASCADE in the DB itself. But whatever. Regards, Dennis On 20/01/2023 20:15, Jason wrote: https://docs.djangoproject.com/en/4.1/ref/models/fields/#django.db.models.CASCADE > Django emulates the behavior of the

MySQL table is missing ON DELETE CASCADE constraint

2023-01-20 Thread Dennis Tants
lmigrate app_eventtool 0002 it basically results in an empty migration: -- -- Alter field account_event on eventaccounts -- -- (no-op) Maybe this is expected behaviour, but for me it seems like a bug. Can anyone confirm/deny this? Thanks in advance, Dennis -- You received this message because

new in Django

2021-07-29 Thread Ogara Dennis
Hello Friends -- 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 view this discussion on the web visit https://groups

Re: Django Reference Manual on what classes can be used with views, urls, etc...

2020-06-24 Thread Dennis Triplett
Thank you Cbh Bnh... I need to know what commands are available in Django and this is exactly what I was looking for. Thanks again. On Tuesday, June 23, 2020 at 5:44:46 PM UTC-7, Dennis Triplett wrote: > > I have been looking for a Django Reference Manual to let me know what > cl

Django Reference Manual on what classes can be used with views, urls, etc...

2020-06-23 Thread Dennis Triplett
I have been looking for a Django Reference Manual to let me know what classes, or Djanago tools are allowed in its calling syntax... Example from django.urls import path from MyApplication import views What I am looking for is an explanation of what things can be imported with URLS, VIEWS

How to store a bank account number generated into a model field

2019-06-19 Thread Dennis Alabi
I tried but i don't seem to be getting it, please help Views.py from django.contrib import messages from django.contrib.auth.decorators import login_required from django.http import Http404 from django.shortcuts import render, redirect from .forms import DepositForm, WithdrawalForm from users.mode

Re: reagrding "{% csrf_token %}"issue on my web site login module

2019-05-28 Thread isorae dennis
Did you indent accurately On Tue, May 28, 2019, 12:32 The Aryas wrote: > hello guys, i was working on a clone project and got stuck on a problem. > the {% csrf_token %} that i have applied is not verified ...and the error > login module is following>> > > > ==

Re: How to resolve UPPER_CASE naming issues in pylint

2019-03-31 Thread Dennis Alabi
...@transtech.ga Tell:+2348065698415 On Sun, Mar 31, 2019 at 5:21 AM Babatunde Akinyanmi wrote: > Hi, > That's pylint telling you to change the variable name 'movie_resource' to > all caps. > > On Sat, 30 Mar 2019, 07:30 Dennis Alabi, wrote: > >> My prog

How to resolve UPPER_CASE naming issues in pylint

2019-03-29 Thread Dennis Alabi
My program throw up this error >>Constant name "movie_resource" doesn't conform to UPPER_CASE naming stylepylint(invalid-name) """vidly URL Configuration The `urlpatterns` list routes URLs to views. For more information please see: https://docs.djangoproject.com/en/2.1/topics/http/urls/ Exa

Re: Single Sign On (SSO) across multiple django projects

2019-01-16 Thread Dennis Sepeur
ira, 16 de janeiro de 2019 04:14:18 UTC, Dennis Sepeur > escreveu: >> >> Hi, I've developed an monolithic django project over the last 5 years. My >> team and I now want to add a new component to the software. >> The new component will be mostly independent, but need

Single Sign On (SSO) across multiple django projects

2019-01-15 Thread Dennis Sepeur
Hi, I've developed an monolithic django project over the last 5 years. My team and I now want to add a new component to the software. The new component will be mostly independent, but need to share authentication and authorization at the least. For the end-user both the existing and the new comp

SyntaxError: keyword argument repeated

2018-11-07 Thread Dennis Alabi
django.setup() File "C:\Users\User\Anaconda3\envs\myprogv\lib\site-packages\django\__init__.py", line 24, in setup apps.populate(settings.INSTALLED_APPS) File "C:\Users\User\Anaconda3\envs\myprogv\lib\site-packages\django\apps\registry.py", line 112, in populate app_config.imp

Field Name in Models

2018-10-29 Thread Dennis Alabi
I want to start developing a surveillance security system. Please what field name should i use for live feed from camera in my models.py. Please your response will be appreciated. -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe

NOT ABLE TO INSTALL REQUIREMENT FILES

2018-10-26 Thread Dennis Alabi
I'm trying to clone an app into virtual environment but i keep getting the error below. Please what should i do about this " error: command 'cl.exe' failed: No such file or directory" Part of the code is shown below. rs c:\users\user\envs\ososo\include\site\python3.6\rjsmin: running in

Template Issues

2018-10-21 Thread Dennis Alabi
i am Building Django 2.0 Web Applications, template is not rendering with boottrap3. -- 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...@go

Re: App Sync

2018-10-01 Thread Dennis Alabi
Thanks for your help On Monday, October 1, 2018 at 3:24:11 PM UTC+1, Jason wrote: > > Then I really hope you have a thorough test suite. otherwise, the > possibility of having a rough time with the 2 - 3 migration is pretty high. > -- You received this message because you are subscribed to the

Re: App Sync

2018-10-01 Thread Dennis Alabi
Python 2.7 was use to develop the APP On Monday, October 1, 2018 at 2:35:00 PM UTC+1, Dennis Alabi wrote: > > Please can i install an App developed in django 1.7 into django 2.1 > environment > > -- You received this message because you are subscribed to the Google Groups "

App Sync

2018-10-01 Thread Dennis Alabi
Please can i install an App developed in django 1.7 into django 2.1 environment -- 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...@googleg

Django not serving static files with even after collectstatic

2017-07-02 Thread Dennis Gathagu
i have been struggling with this problem for days now. thanks in advance, Dennis -- 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: Stripe Not Returning Token (test mode)

2017-06-07 Thread Dennis Mutyaba
hi chris please i need your hand here i am geting the same problem dennis On Thursday, 16 June 2016 20:20:22 UTC+1, Chris Kavanagh wrote: > > *Stripe Not Returning Token (test mode)* > > I'm trying out Stripe in test mode on a site I'm building, and for some > rea

Channel- Can I dynamically adjust the amount of workers?

2017-06-03 Thread Dennis Kao
*I'm trying to use Channel on my chat app & APNs(Apple Push Notification service), I'm planning to use * python manage.py runworker --only-channels = apns but the APNs will cost lots of time waiting for response and could receive bunch of message at same time, but it didn't cost much time on op

Re: TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Dennis Kornbluh
I think I solved the problem by commenting out the two options elements. If there's a better way to address this, please let me know. Thanks, Dennis On Mon, Aug 22, 2016 at 9:01 AM, Dennis Kornbluh wrote: > Hi Markus, > > Yes, you're right. When I started the tutorial I go

Re: TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Dennis Kornbluh
*options={* *'indexes': [],* *},* ), migrations.AddField( model_name='choice', name='question', field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, to='polls.Ques

TypeError: 'class Meta' got invalid attribute(s): indexes

2016-08-22 Thread Dennis Kornbluh
Going through the Django tutorial , now at part 5, section "Running tests". Followed the directions precisely, copy/pasted to create polls/test.py, After running $ python manage.py test polls got a stacktrace (http://dpaste.com/2XP5QZ7

GeoDjango and Google Maps

2016-07-01 Thread Dennis
Hello, friends! Please, help with the issue - http://stackoverflow.com/questions/38140407/how-to-hook-up-google-maps-to-geodjango Thanks A LOT !! -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop recei

Re: [Django1.8.5] About migrate

2015-11-17 Thread Dennis Liou
Although it can syncdb, but I cannot reference ant thing... Dennis Liou於 2015年11月17日星期二 UTC+8下午8時02分56秒寫道: > > Hi : > > I am new in Django, and I meet a bug. > > I was upgrade django from 1.5 to 1.8. > > My Django environment now is : Django 1.8.5 with pyth

Re: [Django1.8.5] About migrate

2015-11-17 Thread Dennis Liou
Thanks, it works , I still need to debug another. I use cards = models.ManyToManyField('Card') Thanks for help. Dennis Liou於 2015年11月17日星期二 UTC+8下午8時02分56秒寫道: > > Hi : > > I am new in Django, and I meet a bug. > > I was upgrade django from 1

[Django1.8.5] About migrate

2015-11-17 Thread Dennis Liou
Hi : I am new in Django, and I meet a bug. I was upgrade django from 1.5 to 1.8. My Django environment now is : Django 1.8.5 with python 2.7.10 This is my auth models: Class Card(models.Model): cardgroup = models.CharField(_('CardGroup'), max_length=60) cardnam

[Django 1.8.5] models bug when migrate.

2015-11-17 Thread Dennis Liou
Hi : I am new in Django, and I meet a bug. My Django environment is : Django 1.8.5 with python 2.7.10 I was upgrade my django from 1.5 to 1.8 This is my auth models: Class Card(models.Model): cardgroup = models.CharField(_('CardGroup'), max_length=60) cardname

Re: Is there a way to make the template process {{ MEDIA_URL }} if it is stored in a model field.

2015-08-30 Thread Dennis Marwood
Ok, thanks. It seems like such a common use case that I wanted to be sure there was not an existing template tag for it. On Sunday, 30 August 2015 14:48:47 UTC-7, Christophe Pettus wrote: > > > On Aug 30, 2015, at 2:37 PM, Christophe Pettus > wrote: > > > On Aug 30, 2015

Re: Is there a way to make the template process {{ MEDIA_URL }} if it is stored in a model field.

2015-08-30 Thread Dennis Marwood
this: > > from django.conf import MEDIA_URL > > > 2015-08-30 20:43 GMT+01:00 Dennis Marwood >: > >> Hello, >> >> I have a seemingly straight forward and likely common issue. But there is >> no obvious way that I am seeing to make it work. >> &g

Is there a way to make the template process {{ MEDIA_URL }} if it is stored in a model field.

2015-08-30 Thread Dennis Marwood
substituted? I have used a custom template filter in the past. But this has got to be a very common use case. It seems like there would be some built in django way to get this to work? Thanks, Dennis -- You received this message because you are subscribed to the Google Groups "Django users&q

Re: I am not able to pass a variable to a widget with its "mark_safe" attribute intact.

2015-06-20 Thread Dennis Marwood
I found that the "correct" way to address this issue is to use raw_id_fields. On Tuesday, 16 June 2015 19:46:51 UTC-7, Dennis Marwood wrote: > > Hello, > > I want to display images in my manyTomany so that a user can choose what > images would be included inside of a

I am not able to pass a variable to a widget with its "mark_safe" attribute intact.

2015-06-16 Thread Dennis Marwood
Hello, I want to display images in my manyTomany so that a user can choose what images would be included inside of a "BlogWidgetCarousel". The issue I am running into is that the render function for the widget returns html via the "format_html" and the variable has lost its "safe" setting at th

Re: New data field in models.py "does not exist".

2015-01-12 Thread dennis breland
I am using Django 1.6 On Monday, January 12, 2015 at 1:16:17 PM UTC-5, dennis breland wrote: > All works fine before making this change. > > I added new data named "photo" in models.py and admin.py > When I bring up the web page, I get this: > > Programmin

Re: New data field in models.py "does not exist".

2015-01-12 Thread dennis breland
On Monday, January 12, 2015 at 1:16:17 PM UTC-5, dennis breland wrote: > > All works fine before making this change. > > I added new data named "photo" in models.py and admin.py > When I bring up the web page, I get this: > > ProgrammingError at /admin/recipe/dis

New data field in models.py "does not exist".

2015-01-12 Thread dennis breland
All works fine before making this change. I added new data named "photo" in models.py and admin.py When I bring up the web page, I get this: ProgrammingError at /admin/recipe/dish/ column recipe_dish.photo does not exist LINE 1: ...ipe_dish"."dish_category", "recipe_dish"."style", "recipe_di..

Re: DATABASE in settings file not working

2014-12-11 Thread dennis breland
Thanks. I've spent hours on this silly typo. On Thursday, December 11, 2014 9:53:12 AM UTC-5, François Schiettecatte wrote: > PASSSWORD => PASSWORD > > > > On Dec 11, 2014, at 9:26 AM, dennis breland > wrote: > > > > Please help with this problem...

Re: DATABASE in settings file not working

2014-12-11 Thread dennis breland
kages/MySQLdb/connections.py", line 187, in __init__ super(Connection, self).__init__(*args, **kwargs2) django.db.utils.OperationalError: (1045, "Access denied for user 'dennis'@'localhost' (using password: NO)") Here is my settings.py: … DATABASE

Re: Advanced Tutorial (how to write reusable app), last step does not work

2014-11-07 Thread Dennis Kao
Hi I just face this same issue and stuck in it for few days, than find out the TEMPLATE_LOADERS setting, by default it has two way to find templates: 'django.template.loaders.filesystem.Loader', 'django.template.loaders.app_directories.Loader' but the 'django.template.loaders.eggs.Loader'

Re: Looking for direction on some admin console customization.

2014-03-11 Thread Dennis Marwood
better. Really, I am wondering if people would do this all w/ js or if there is a better way that relies on better model set up / interaction and using / extending some existing admin feature (like the "Add another" link). Thanks On Monday, 10 March 2014 23:43:33 UTC-7, Derek wrote: >

Looking for direction on some admin console customization.

2014-03-09 Thread Dennis Marwood
My goal is to be able to build a new blog entry via the admin console that is comprised of text, image slider, and video models. I would choose to create a new blog entry and then add a text model, a video model, and another text model, or something like that. Each blog entry could be unique i

Re: Using inlines on a one to many but not seeing "add another" link

2014-03-06 Thread Dennis Marwood
I found the answer to my issue, posting it here in case others have the same issue. The problem was caused by an old version of inline.js being loaded. I ran collectstatic at some point and a version of the script from 1.3 was saved. On Saturday, 1 March 2014 15:53:41 UTC-8, Dennis Marwood

Re: Using inlines on a one to many but not seeing "add another" link

2014-03-02 Thread Dennis Marwood
release notes. Thank you :) On Sunday, 2 March 2014 15:40:44 UTC-8, Camilo Torres wrote: > > On Saturday, 1 March 2014 15:53:41 UTC-8, Dennis Marwood wrote: >> >> Hello. >> Here are my models and admin.py dpaste.de <https://dpaste.de/oNTG> >> And here is

Re: Using inlines on a one to many but not seeing "add another" link

2014-03-02 Thread Dennis Marwood
UTC-8, Dennis Marwood wrote: > > Hello. > Here are my models and admin.py dpaste.de <https://dpaste.de/oNTG> > And here is the what I am referring to > https://docs.djangoproject.com/en/1.6/intro/tutorial02/#customize-the-admin-form > But I my not seeing the link to

Using inlines on a one to many but not seeing "add another" link

2014-03-01 Thread Dennis Marwood
Hello. Here are my models and admin.py dpaste.de And here is the what I am referring to https://docs.djangoproject.com/en/1.6/intro/tutorial02/#customize-the-admin-form But I my not seeing the link to add another. Thanks -- You received this message because you are s

Re: Accessing a python function from a blog post stored in the db?

2014-02-27 Thread Dennis Marwood
omthing like that. > > Regards, > ~CK > > On Wednesday, February 26, 2014 4:18:14 PM UTC-6, Dennis Marwood wrote: >> >> Won't this force my blog posts to all be the same. i.e. Text then a image >> scroller? >> How would I handle the case where a blog post was Te

Re: Accessing a python function from a blog post stored in the db?

2014-02-26 Thread Dennis Marwood
having hard-coded > template calls in your content. > > Regards > ~CK > > On Wednesday, February 26, 2014 3:18:54 PM UTC-6, Dennis Marwood wrote: >> >> Thanks. I look forward to trying this soon. >> >> I feel like I may be trying to swim against the

Re: Accessing a python function from a blog post stored in the db?

2014-02-26 Thread Dennis Marwood
Evans wrote: > > On Wed, Feb 26, 2014 at 5:29 AM, Dennis Marwood > > > wrote: > > Thanks. I believe this is what I am looking for. However I am still > running > > into an issue w/ the fact that I am pulling my blog entries from the db. > > This is c

Re: Accessing a python function from a blog post stored in the db?

2014-02-25 Thread Dennis Marwood
age_extras %} > > ... > {% image_slider post.image_set %} > ... > > Docs: > https://docs.djangoproject.com/en/dev/howto/custom-template-tags/#inclusion-tags > > JDB > > > On Mon, Feb 24, 2014 at 11:39 PM, Dennis Marwood > > > wrote: > >>

Accessing a python function from a blog post stored in the db?

2014-02-25 Thread Dennis Marwood
Hi. I am looking for some advice on the best way to approach the following: I am pulling my blog posts out of my db. Inside of the posts I want to use an image scroller ( http://cssdeck.com/labs/css3-image-slider ), but I don't want to write all of the boilerplate surrounding each image every

Re: Adding an API to an existing Django app

2014-01-21 Thread Dennis Plöger
Web UI from the REST api? Or are you creating full Ajax-Web UIs, that are based on REST apis? Kind regards Dennis -- 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,

Re: Adding an API to an existing Django app

2014-01-16 Thread Dennis Plöger
rough that for now. If anybody has other interesting ideas, please tell. Kind regards Dennis -- 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

Adding an API to an existing Django app

2014-01-10 Thread Dennis Plöger
rization-checks to work well with the API. The existing frameworks (like the mentioned Tastypie) only helps creating REST APIs *beside* the actual code used for WEB-UIs, not reusing it and thus doesn't comply to the DRY-principle in my eyes. Does somebody know of a library or application,

Initial fixtures with the auth Module

2013-10-17 Thread Dennis Hellmich
e for obj in objects: File "/usr/local/lib/python2.7/dist-packages/django/core/serializers/pyyaml.py", line 67, in Deserializer raise DeserializationError(e) DeserializationError: Problem installing fixture '/home/projects/fixtures/initial_data.yaml': Permi

DatabaseError during executing in ibm_db_dbi.py

2013-09-19 Thread Dennis Jade Toribio
Hi, i am new to using DB2 in Django. So far, my problem was with using ibm_db_django adapter as I see it. Since using ibm_db has no problem saving/getting data. I was wondering what causes the problem here. It seems to me the *execute*method inside ibm_db_dbi.py => _execute_helper => return_v

Re: django user (using django ORM) + SQLAlchemy for other db tables

2013-09-10 Thread Dennis
This combination would allow the power of SQLAlchemy but maintain compatibility with django auth -- a sweet combination! On Wednesday, September 11, 2013 1:30:12 AM UTC+8, אברהם סרור wrote: > > why? > > > On Tue, Sep 10, 2013 at 7:34 PM, Dennis >wrote: > >> Any ad

django user (using django ORM) + SQLAlchemy for other db tables

2013-09-10 Thread Dennis
Any advice (or potential problems) with using SQLAlchemy with the django framework but keeping the django user auth module? The django ORM would be used for the auth module (and its user table). SQLAlchemy ORM would be used for other tables and also to read (but not write) the django user table.

admin ordering for NULL fields

2011-05-27 Thread Dennis Schmidt
g to ASCENDING, then they do appear at the beginning but the rest of the order is, of course, not how I want it. So I couldn't find something in the documentation how I could achieve what I want. Any tips, hints? Cheers, Dennis -- You received this message because you are subscribed to the Goo

Re: Newbie question: can foreign key fields used as search fields on admin page?

2010-08-25 Thread Dennis Kaarsemaker
(assuming publisher has a name field. You use any field :)) -- Dennis K. They've gone to plaid! -- 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: uncomplete internationalization of 'auth' in admin panel

2010-07-29 Thread Dennis Kaarsemaker
hough I have no idea whether they can be used for standard django models. -- Dennis K. They've gone to plaid! -- 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: django_session not in "default" DB

2010-07-29 Thread Dennis Kaarsemaker
ting has all the details. your router would look like: class MyRouter(object): def db_for_read(model, **hints): if model == Session: return 'secondary' db_for_write = db_for_read -- Dennis K. They've gone to plaid! -- You received this message because you

Re: through/unique_together usage

2010-07-29 Thread Dennis Kaarsemaker
On do, 2010-07-29 at 05:35 -0700, Dave wrote: > In my application I want to enforce a each-image-can-only-be-assigned- > to-a-single-patient So why do you use a ManyToManyField instead of a ForeignKey? -- Dennis K. They've gone to plaid! -- You received this message beca

Re: MySQL error -1

2010-07-29 Thread Dennis Kaarsemaker
one that can be seen if the server runs out of diskspace for creating temporary tables. If you do 'select @@tmpdir', it'll probably say /tmp as that is the default. You can change this in /etc/my.cnf if you want. -- Dennis K. They've gone to plaid! -- You received this

Re: MySQL error -1

2010-07-28 Thread Dennis Kaarsemaker
On wo, 2010-07-28 at 00:18 -0700, shacker wrote: > On Jul 27, 2:49 pm, Dennis Kaarsemaker wrote: > > Are the tracebacks all the same? Can you share a traceback? > > Sure, here's one (search/replaced to make it generic): > > http://dpaste.com/222645/ > > It'

Re: django storage chinese failed to mysql!!

2010-07-28 Thread Dennis Kaarsemaker
| > | character_set_system | utf8 > | > | character_sets_dir | C:\Program Files\MySQL\MySQL Server 5.1 > \share\chars > ets\ | > +------+ > -+ > > > 2010/7/28 De

Re: django storage chinese failed to mysql!!

2010-07-27 Thread Dennis Kaarsemaker
ore is a latin1 or utf8 field. If it is latin1, it will not support chinese characters. -- Dennis K. They've gone to plaid! -- 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...@goog

Re: MySQL error -1

2010-07-27 Thread Dennis Kaarsemaker
On di, 2010-07-27 at 13:49 -0700, shacker wrote: > On Jul 27, 3:10 am, Dennis Kaarsemaker wrote: > > > > > Start with checking/repairing the table that causes this error to be > > thrown. > > All tables analyzed, optimized, and repaired. No errors found. But the &g

Re: MySQL error -1

2010-07-27 Thread Dennis Kaarsemaker
; I'm not sure where to begin with this one. Anyone seen similar? Start with checking/repairing the table that causes this error to be thrown. -- Dennis K. They've gone to plaid! -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: errors serving text files using templates and static files

2010-07-27 Thread Dennis Kaarsemaker
pResponseRedirect('/netboot/dynamicmenu.cfg') > > It works but it's a strange workaround. Serving it directly causes > gPXE to break. Any thoughts? > > On Mon, Jul 26, 2010 at 18:04, Dennis Kaarsemaker > wrote: > On ma, 2010-07-26 at 09:21 -0700,

Re: errors serving text files using templates and static files

2010-07-26 Thread Dennis Kaarsemaker
rved? The correct mimetype is text/plain. I don't know how strict gpxe checks that. -- Dennis K. They've gone to plaid! -- 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...@goog

Re: DatabaseError: subquery has too many columns

2010-07-25 Thread Dennis Kaarsemaker
On zo, 2010-07-25 at 03:16 -0700, gs794 wrote: > pks = Test.objects.none().values('pk').query > print Test.objects.exclude(pk__in=pks) You're not supposed to do that. Try without the .query, and without the .values('pk'). -- Dennis K. They've gone to p

Re: single point of entry to a webpage

2010-07-24 Thread Dennis Kaarsemaker
in the workflow of the framework? This sounds really weird to me as django already does this 'call an app depending on the url' for you. No need for a 'core' app. -- Dennis K. They've gone to plaid! -- You received this message because you are subscribed to the Google Grou

Re: What is the preferred method of returning to the results of a search

2010-07-24 Thread Dennis Kaarsemaker
me search so I can edit or delete more > items. What is preferred method of doing this? Thanks. Redirect to /your/edit/page/?prev=previos_page_urlencoded, use that value in the form on the editpage and extract it from that form when doing the form handling. -- Dennis K. They've gon

Re: Field Subclassing, or setter help needed.

2010-07-03 Thread Dennis Kaarsemaker
t Applicable") I don' want to allow it to be changed. You're doing it wrong™ Input validation should be done at the point where you handle input, that is in the forms you use for updating instances. -- Dennis K. They've gone to plaid! -- You received this message because

Re: Get an ordered queryset from a FK relation

2010-07-02 Thread Dennis Kaarsemaker
entry__count') See http://docs.djangoproject.com/en/dev/topics/db/aggregation/ -- Dennis K. They've gone to plaid! -- 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 unsubs

Re: Django for system administration apps

2010-07-02 Thread Dennis Kaarsemaker
On vr, 2010-07-02 at 07:08 -0700, PieterB wrote: > > On Jul 2, 3:57 pm, Dennis Kaarsemaker wrote: > > On vr, 2010-07-02 at 06:42 -0700, PieterB wrote: > > > puppet using django as well. > > Without going into detail, how have you made the coupling between the > t

Re: Django for system administration apps

2010-07-02 Thread Dennis Kaarsemaker
y a technical detail. Django is a very nive technical detail and made our life much easier :) > I also want to write an app querying an external db for reporting, but > I guess that's not a problem either? Depends on what you want, but probably not. -- Dennis K. They've gone to p

Re: Admin Search Engline

2010-07-01 Thread Dennis Kaarsemaker
t; sql COUNT() using google style prefixes in these cases. > >> Can somebody help me telling which class/method in the admin files is > >> responsible for the search engine so that I can extend it? > >> > >> thanks. > -- Dennis K. They've gone

Re: OR operator in django view

2010-06-18 Thread Dennis Kaarsemaker
type_description) > else: > office = [] > > > As is stands, it doesn't seem to be running through all of the OR > operators if candidate.office_type not in ("USREP", "USSEN", "DJ"): -- Dennis K. They've gone to p

Re: Emailing users with invalid local part email addresses

2010-06-16 Thread Dennis Kaarsemaker
rkaround for this sort of situation? Tell your subscriber to send valid addresses? -- Dennis K. They've gone to plaid! -- 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...@google

Re: Validation of dependent form fields

2010-06-14 Thread Dennis Kaarsemaker
ll the individual clean_* methods. -- Dennis K. They've gone to plaid! -- 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

Re: inclusion tag variable resolving

2010-05-24 Thread Dennis Kaarsemaker
c/url/with/bar/' {% make_button 'click me' '/specific/url/with/%s' foo %} -- Dennis K. They've gone to plaid! -- 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...@

Re: Line continuation in block tag?

2010-05-24 Thread Dennis Kaarsemaker
On ma, 2010-05-24 at 07:15 -0700, Thomas Allen wrote: > Thomas Allen wrote: > > Is that possible in a Django template? If my tag spans more than one > > line, it is rendered as plaintext. > > Is this not possible? Correct. Tags should be on one line. -- Dennis K.

Re: API with django

2010-05-24 Thread Dennis Kaarsemaker
d way of doing it. You should also look at piston, to make creating these interfaces much easier. -- Dennis K. They've gone to plaid! -- 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: include(admin.site.urls) mangles with the URL

2010-05-17 Thread Dennis Decker Jensen
On May 17, 1:30 pm, Russell Keith-Magee wrote: > On Mon, May 17, 2010 at 5:55 PM, Dennis Decker Jensen > > wrote: > > Hello! > > I use django straight from subversion trunk (with no significant > > trouble), and finally got around to change admin.site.root to >

include(admin.site.urls) mangles with the URL

2010-05-17 Thread Dennis Decker Jensen
m, and it seems they have no time for this sort of thing (which cannot be replicated). However this will become a showstopper really soon now (django v1.2), and I could really use some help on this one. Does anybody know what's going on? Kind regards, Dennis Decker Jensen -- You received thi

Re: Hi

2010-05-08 Thread Dennis Kaarsemaker
On za, 2010-05-08 at 16:04 +0530, Shyam chandran wrote: > How can we display manay to many field in list_display? > pls help. You can't. http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django.contrib.admin.ModelAdmin.list_display -- Dennis K. They've gone to plaid!

Re: Catching User's First Log in

2010-04-05 Thread Dennis Kaarsemaker
te of having a boolean field on a user table that becomes > un-checked after they log in? A userprofile with that boolean flag sounds like the best way forward. -- Dennis K. They've gone to plaid! -- You received this message because you are subscribed to the Google Groups "D

Re: Newbie Issue: Creating a new django project

2010-04-05 Thread Dennis Kaarsemaker
ashes in your projectname. It should be a valid python identifier.) -- Dennis K. They've gone to plaid! -- 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 unsubs

Re: Table in models.py not being created during syncdb

2010-04-03 Thread Dennis Kaarsemaker
table and doesn't through any errors. Can anyone shed any > light on way it might be being igored? Did you add the app to INSTALLED_APPS? -- Dennis K. They've gone to plaid! -- You received this message because you are subscribed to the Google Groups "Django users" gro

Re: Custom Admin Form for ManyToMany, missing Green Plus Sign?

2010-03-30 Thread Dennis Schmidt
how can I bring it back there? Thanks, Dennis On Feb 16, 2:18 pm, Matt Schinckel wrote: > On Feb 14, 3:49 pm, john wrote: > > > > > Yes, the Items model data can be accessed through another part of the > > Admin interface, but I think the purpose of the Green Plus Si

Re: dir not working in manage.py runserver

2010-03-27 Thread Dennis Kaarsemaker
gt; output? Why? I need something similat to php var_dump or pront_r (to > source page or console). What I do wrong? You forget "print". def view(...): p = Page() print dir(p) The python interactive shell automatically prints the result of a statement if it is not None and not a

Re: Default filter value for Admin?

2010-03-27 Thread Dennis Kaarsemaker
eryset(self, request): return super(StudentAdmin,self).queryset(request).filter(school__closed=False) -- Dennis K. The universe tends towards maximum irony. Don't push it. -- You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Re: passing more information with formsets

2010-03-17 Thread Dennis Kaarsemaker
On wo, 2010-03-17 at 09:34 +, Alastair Campbell wrote: > On Tue, Mar 16, 2010 at 7:46 PM, Dennis Kaarsemaker wrote: > > Each ModelForm has an instance attribute, so you can use > > {{ form.instance.whatever }} > > Hi Dennis, > > Unfortunately it is not a mode

  1   2   >