Custom Manipulator SelectField "blank" option

2006-07-19 Thread Paul Childs
expected this since it does this in the admin and I have also made is_required=False. Never assume anything I guess. Am I missing something? I looked at the Django source and I didn't see anyway to include the "blank" option other than to add ('','-

Re: Custom Manipulator SelectField "blank" option

2006-07-19 Thread Paul Childs
I wonder if this would be worth pursuing as a new feature for the SelectField widget. It makes sense to me that if one sets is_required=False then the widget should add the "blank" option. --~--~-~--~~~---~--~~ You received this message because you are subscribed

Re: CGI Setup

2006-08-01 Thread Paul Sargent
le early for me (i.e. no apache set-up just yet). Does this seem about right to people, in particular lines 66-68? At the moment I've popped this in my django/bin directory for future testing. Paul --~--~-~--~~~---~--~~ You received this message because you ar

Re: Django model -> DOT converter

2006-08-06 Thread Paul Sargent
ible. How about, either, adding the model to the ForeignKey line in the record?, or labelling the arrow with the attribute name (in which case it become debatable if the ForeignKey should be in the record)? I think I'd prefer the latter, but either would do (

Re: Off Topic: Mac software for database design?

2006-08-06 Thread Paul Smith
On Aug 5, 2006, at 9:26 PM, Rob Hudson wrote: > > Thanks everyone for the replies. I tried CocoaMySQL but will have to > try the others. MySQL Workbench looks promising since it can give you > a diagram of your schema. I'll have to play with some of the > diagraming tools mentioned. Apprecia

Partly OT: Authenticating a Script

2006-08-09 Thread Paul Sargent
This isn't really a django problem as such, but maybe someone has done something similar. I'm thinking that I'd like to have a way of creating blog entries via some kind of e-mail to blog gateway. In essence I don't think this is a hard thing, but I've got a hole in my thinking that I could do wi

Re: Partly OT: Authenticating a Script

2006-08-09 Thread Paul Sargent
Waylan Limberg wrote: > Hmm, I guess I would create a separate "view" which does not have any > url mapped to it. As it is not available publicly (over http), do you > really need any other authentication than the systems file > permissions? Of course, you may need to write a little more code to

Re: Function kills page?

2006-08-10 Thread Paul Sargent
Malcolm Tredinnick wrote: > On Wed, 2006-08-09 at 14:58 -0700, [EMAIL PROTECTED] wrote: > > I'm still a little concerned about efficiency, particularly importing > > Serial Number for every year. When I moved it to the top of the model > > it failed "cannot import name Year" maybe because of the

Re: mod_python Segmentation fault importing django.utils.feedgenerator.py - with fix

2006-02-16 Thread Paul Smith
te Apache instances running side-by-side to get around the mod_php problem. Does anybody know of a better solution than that, short of re-compiling PHP? Or which versions, distros, etc., this issue pops up in? Thanks, --P Paul Smith [EMAIL PROTECTED] --~--~-~--~~

Database API

2006-03-01 Thread Paul Smith
different apps. --P Paul Smith [EMAIL PROTECTED] --~--~-~--~~~---~--~~ 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 unsubsc

Re: DB connections never go away?

2006-05-03 Thread Paul Eden
s far as performance goes ofcourse. I turned off DEBUG, but that didn't help. Any ideas?p.s. kudos & thanks to the magic-removal team on the trunk merge. very exciting!-- Best Regards,Paul EdenDirector of Information SystemsAmerican Physicians, Inc.[EMAIL PROTECTED]602-595-8000 --~--~-~

tutorial 1 problems from djangoproject website - not working, do not exactly understand

2022-03-22 Thread Paul Kagan
root@videotron:~ # django-admin startproject mysite root@videotron:~ # python manage.py runserver python: can't open file 'manage.py': [Errno 2] No such file or directory root@videotron:~ # ls .Xauthority .elinks .nn .viminfogit .cache .emacs.d.npm

Using activate() to set the timezone in Model Admin

2022-07-13 Thread Paul Tiplady
I'd like to have my Admin site use a different default timezone than the rest of my django app. I prefer the backend and API to operate in UTC, because this is a general good practice for geographically distributed teams. However admin users (based in a specific timezone) find this confusing, a

Re: Static Code analysis and Security Scanning tools for Django Web Applications

2022-07-13 Thread Paul Tiplady
I also use safety to scan for package vulnerabilities in the pipeline. This is similar to a repo-scanning app like Dependabot or Snyk. Prospector is decent, although I found it preferable to use pre-commit to wire up individual tools

Re: Why do we need Django rest framework when our conventional django do what we want?

2022-08-26 Thread Paul serubombwe
Its a requirement if your application is using 1. a fronted framework, 2. If your going to integrate APIs for instance payment APIs etc. And its also good in authentication. On Aug 26, 2022 6:19 AM, "Ryan Nowakowski" wrote: > On Sun, Jul 31, 2022 at 12:55:46AM -0700, Joseph Bashorun wrote: > > I

Re: Guys i have issue while loading sub module in django app

2022-08-28 Thread Paul serubombwe
Elaborate more bro, what do you mean by sub model On Sat, Aug 27, 2022, 23:56 देव Hingu wrote: > Please check here for my problem > > https://stackoverflow.com/questions/73499743/cant-find-load-sub-module-inside-django-appmodule-dynamically > > -- > You received this message because you are subs

Re: What do you do with large project and forms?

2022-08-30 Thread Paul serubombwe
You need to work with model forms, but not forms, in your templates implement crispy forms to avoid over coding On Wed, Aug 31, 2022, 03:03 Mike Dewhirst wrote: > 1. Create a forms directory > 2. Create ../forms/__init__.py > 3. Move your forms.py into the forms directory > 4. In ./__init__.py

Why I love Django

2022-09-10 Thread Paul Onteri
Choosing a web framework is hard. Especially now when there are a lot of frameworks on the market, each designed to address different project needs. Here is why I think that when building a large database-driven application, I would honestly pay to use Django. https://paulonteri.com/thoughts/lo

Re: Why I love Django

2022-09-11 Thread Paul Onteri
Thanks! On Sunday, 11 September 2022 at 05:06:58 UTC+3 robbi...@gmail.com wrote: > Hello Paul > > On 10/9/2022 9:15 pm, Paul Onteri wrote: > > Choosing a web framework is hard. Especially now when there are a lot of > > frameworks on the market, each designed to addr

Re: Django call_command from Admin

2022-10-24 Thread Paul Kudla
s else : send_subject = 'Email Account Updated : %s' %(self.username) #Send update email send_from = 'moni...@scom.ca' send_file

Re: Django call_command from Admin

2022-10-24 Thread Paul Kudla
the current object then set new & date obj.new_invoice = False obj.save() copy = True Happy Monday !!! Thanks - paul Paul Kudla Scom.ca Internet Services <http://www.scom.ca> 004-

Re: how can i create databases, routers and install apps in runtime?

2022-10-31 Thread Paul Kudla
just add them using a text editor (vi etc) when you need to access them an import settings (already shoud be done) will present them python 101 stuff more then django fyi Happy Monday !!! Thanks - paul Paul Kudla Scom.ca Internet Services <http://www.scom.ca> 004-1009 Byron

Re: Django Admin

2023-03-13 Thread Paul Kudla
_path /www/admin.scom.ca/tmp/ php_admin_value soap.wsdl_cache_dir /www/admin.scom.ca/tmp/ php_admin_value upload_tmp_dir /www/admin.scom.ca/tmp AllowOverride All php_value session.save_path "/www/admin.scom.ca/" Happy Monday !!! Thanks - paul Paul Kudla Scom.ca Int

Django dpahne prod

2023-06-05 Thread Paul Haguet
Hello everyone, I'am looking to deploy Django ASGI project in production. This is the actual setup. Because Daphne is installed into the project python manage.py runserver use the asgi.py file instead of wsgi. Si with this config the project run with asgi on port 8000 and wsgi on port 5000. Is

Re: uwsgi

2023-06-05 Thread Paul Haguet
I like uwsgi because it run natively for example: "service uwsgi start" on Debian Then I don't like how supervisor manage the environement vars. Notice if you want to use supervisor I suggest you to use dotenv library: https://pypi.org/project/python-dotenv/ Le dimanche 4 juin 2023 à 22:14:31 U

Re: got url error in app/urls.py file

2023-06-06 Thread Paul Haguet
It's extremely basic error... File urls.py line 3 the import is invalid as it say into the trace. cretae??? Where is this function? I think "create" is the good function name: canno't import name crétin from 'audio_api.views... Le mardi 6 juin 2023 à 14:15:25 UTC+2, AKHIL KORE a écrit : > I'm

Re: Suggestions for Reducing Spam

2023-06-18 Thread Paul Kudla
Happy Sunday !!! Thanks - paul Paul Kudla Scom.ca Internet Services <http://www.scom.ca> 004-1009 Byron Street South Whitby, Ontario - Canada L1N 4S3 Toronto 416.642.7266 Main 1.866.411.7266 Fax 1.888.892.7266 Email p...@scom.ca On 6/18/2023 12:04 PM, Abhishek Choudhury wrote: Hi Django

using django templates to generate and replace a file

2012-02-29 Thread Paul Bunker
Hi Django Users, I'd like to use the django template system to generate a file 'users.cfg' that gets read some dispatching software. Is it possible to get django to generate this file and replace the existing one? Thanks -Paul -- You received this message because you are su

Re: using django templates to generate and replace a file

2012-03-01 Thread Paul Bunker
Thanks Kurtis, It seems so obvious now! :-) I can do ... t = Template(open('users.template').read()) c = Context([get the users from db]) open('users.cfg','w').write(t.render(c)) Thanks for your speedy response! It seems I couldn't see the wood for the tree

Re: django forms - overriding constructor for changing field type depending by input

2012-05-20 Thread Paul Prior
I think you need self.fields[field_name] = your new field. Paul On May 20, 2012, at 7:49 AM, luke lukes wrote: > Hi. already tried this way --> fields are instantiated > () but are not > rendered in the template... > > Il giorno domenica 20 maggio 2012 03:25:36 UTC+2,

Testing with LiveServerTestCase and Selenium

2012-06-28 Thread Paul Childs
Ran 1 test in 22.546s FAILED (errors=1) Destroying test database for alias 'default'... It seems obvious that the browser is not navigating to the URL I want so the code is trying to get a reference to an non-existent body tag. Can anyone see what I am doing wr

Re: Testing with LiveServerTestCase and Selenium

2012-07-04 Thread Paul Childs
string The the same thing is happening with just the webdriver alone. The company I work for has McAffee installed on my machine. Could it be blocking automated browser activity? On Saturday, June 30, 2012 8:39:54 AM UTC-3, Rafael Durán Castañeda wrote: > > El 28/06/12 15:45, Paul Childs escrib

Tutorial Issues

2012-07-09 Thread Paul Givens
I am new to django and was running throught the tutorial when I ran into a problem in part 3. In the template loading section I was given an error after I set the template to the correct path: KeyError at /polls/ user Request Method:GETRequest URL:http://127.0.0.1:8000/polls/Django Version

Resubmit on error middleware

2012-08-03 Thread Paul Pietkiewicz
Hello All, Is it possible to have a process_exception on handling an exception resubmit the request, instead of either returning a HttpResponse or None back to the user? Is there a clean way to redirect the response back to the view? Thanks, Paul -- You received this message because you are

Re: [] Resubmit on error middleware

2012-08-03 Thread Paul Pietkiewicz
ntire request and return the result to the user without notifying the user of the retry. Is that possible? Regards, Paul -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.c

Django app to update site through email

2012-08-10 Thread Paul Backhouse
e various model instances. Has this already been done? Does my google-fu escape me? If it hasn't already been done, why not? And are there any modules out there that can be dropped in to speed development? Any tips on developing this app? Thanks, Paul -- You received this message because you a

Re: Django app to update site through email

2012-08-13 Thread Paul Backhouse
ecurity issues around spoof mails described by Melvyn Sopacua are not resolved. I like the idea of "secret email addresses". I think this is what spamcop.net does. Paul -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: Django app to update site through email

2012-08-13 Thread Paul Backhouse
reading a comment that it was experimental... http://askbot.org/doc/sending-email-to-askbot.html Maybe that could be spun out into it's own app. Paul -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, s

Comparing packages django-groups and django-organizations

2012-08-13 Thread Paul Backhouse
r/django-groups) and django-organizations (https://github.com/bennylope/django-organizations/). Does anyone have any experience with them or can anyone offer any advice about which one matches the requirements best? Neither seem to be listed on django-packages. Cheers, Paul -- You received this mes

Re: How well does South work in a team?

2012-08-16 Thread Paul Backhouse
On Thu, 2012-08-16 at 10:39 -0300, Tomas Neme wrote: > Well, if you push without pulling, this might happen, *Implicit git usage* :D I'd expect git to squeal about it being a non-fast-forward commit. -- You received this message because you are subscribed to the Google Groups "Django users" gr

Re: Django + FAPWS doesnt show the templates/view correct

2012-08-17 Thread Paul Backhouse
Are you sure it's a views/templates issue? You're getting content that looks correct in structure so I'd say the views + templates are fine. Looks like a CSS issue to me. If you're using firefox then install firebug and check the NET tab for 404s to your CSS files. Paul On F

Re: deprecation warning from HttpResponseRedirect(reverse(...))

2012-08-20 Thread Paul Backhouse
-0700, Mike wrote: > > > On Saturday, August 18, 2012 1:31:42 PM UTC+2, Paul Backhouse wrote: > > I seem to be getting a DeprecationWarning when my view hits > this line of > > code: > > > > return HttpRespons

Re: From Django 1.1 to Django 1.3.1 - Goes Very Slow

2012-08-21 Thread Paul Backhouse
On Tue, 2012-08-21 at 07:30 -0700, ydjango wrote: > > I have typical LAMP stack application. I use ORM very heavily. I > recently migrated from django 1.1 to django 1.3.1. > Application has become very slow even though I have doubled the > hardware. > > Two major changes have been: > 1) I have m

Re: Can somebody help me on how to handle this scenario?

2012-08-22 Thread Paul Backhouse
You shouldn't need to define "People" or "User", that already comes in django.contrib.auth.models. Just import User and make that your foreign key where needed. A smart way would be to use django.contrib.comments. https://docs.djangoproject.com/en/dev/ref/contrib/comments/ For more complex comm

Re: Id error

2012-08-31 Thread Paul Backhouse
In your CountryForm, calling super(self.__class__)... might not be a good idea. You should name the class, ie. super(CountryForm, self).save(*args, **kwargs) I'd also be wary of defining a class called 'Object', since python already has 'object' as part of its "

Re: Choosing a JS framework to go together with Django

2012-09-04 Thread Paul Menzel
pecial signs are not displayed correctly in a browser using UTF-8 by default. And last but not least, though not so important on this list, plain text messages are preferred on mailing lists [1]. ;-) Thanks, Paul [1] http://en.opensuse.org/openSUSE:Mailing_list_netiquette signature.asc Descr

Re: Choosing a JS framework to go together with Django

2012-09-04 Thread Paul Menzel
Am Dienstag, den 04.09.2012, 12:08 -0300 schrieb Rafael E. Ferrero: > Sorry paul... my bad... "without any problem" i mean. > > extract of index.html: > > "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd&quo

Re: Choosing a JS framework to go together with Django

2012-09-04 Thread Paul Menzel
Am Dienstag, den 04.09.2012, 17:37 +0100 schrieb Tom Evans: > On Tue, Sep 4, 2012 at 4:48 PM, Paul Menzel wrote: > > Am Dienstag, den 04.09.2012, 12:08 -0300 schrieb Rafael E. Ferrero: > >> Sorry paul... my bad... "without any problem" i mean. > >> > >&

Re: Django newbie with issues

2012-09-12 Thread Paul Backhouse
On Wed, 2012-09-12 at 02:46 -0700, Morrti wrote: > moving to 1.4 isn't a quick option for me/us so I'm stuck on 1.1 for a > while. Why is this? If you're new to Django you should dive in at the latest version. If your company has existing projects that are dependent on 1.1, then why not create a

Re: Setting an unusable password on an existing user

2012-09-21 Thread Paul Backhouse
Works for me... >>> from django.contrib.auth.models import User >>> user = User.objects.latest('id') >>> user.has_usable_password() True >>> user.set_unusable_password() >>> user.has_usable_password() False On Thu, 2012-09-20 at 23:16 -0700, nav wrote: > Hi, > > Is there any way to set the pass

Re: content management in django

2012-09-24 Thread Paul Backhouse
I'm not sure that I fully understand your question, but, for the static content, django flatpages (https://docs.djangoproject.com/en/dev/ref/contrib/flatpages/) may be what you are looking for. News editing would have to be handled by your news editing app! django-cms (https://www.django-cms.org/)

Re: why Eclipse showed "Undefined Variable"

2012-09-25 Thread Paul Backhouse
On Tue, 2012-09-25 at 08:10 -0700, Maysxuan wrote: > I am new to Python & Django ,and I created a test project for Django > in Eclipse ,then got a "Undefined Variable". > > And who would tell me what happened? > > (Attachment is the screenshot) > You've imported "hello" from "zxcfa.views". S

Re: content management in django

2012-09-25 Thread Paul Backhouse
On Tue, 2012-09-25 at 06:35 -0700, eclypcix wrote: > What I should have asked, is it okay to store all the site's html > content in a database? Is it usually done that way? > I'm not sure what you mean by "all the site's html". You wouldn't have _all_ the sites html in the database, django genera

formfield_overrides causes all fields in admin to use the last marx_length in a model definition.

2012-10-01 Thread Paul Kenjora
I noticed this on several of my sites after adding formfield_overrides for Text fields in my admin. I set the size of all the admin fields. This caused all my fields to have the same length. Coincidentally the length is always the max_length for the last field defined for that model in my mod

Python /Django Developer Role, London, UK

2012-10-03 Thread Paul Canal
We are hiring Python / Django Developers for our Education Business in East London. Interesting role in friendly SME developing / extending existing Python application. paul.ca...@gmail.com www.idxtra.com -- You received this message because you are subscribed to the Google Groups "Django

Re: syntax highlighting for template files and file suffix

2011-08-23 Thread Paul Schewietzek
With vim, you can ':setfiletype htmldjango' for django templates (on Debian 6 at least). Hope that helps. 2011/8/23 Herman Schistad > On Tue, Aug 23, 2011 at 13:09, Gelonida N wrote: > > I'm rather new to Django and just start working with a little more with > > templates. > > > > I wondered

Class-based FormView Contact Form

2011-09-01 Thread Paul Walsh
I want to make a contact form using the class-based FormView. How do I pass the recipient email? Let's say I want a pre-defined recipient, and also the option for the sender of the form to receive a copy. I can do this with a function view but I'd like to use the new class-based generic views

Re: Class-based FormView Contact Form

2011-09-05 Thread Paul Walsh
Anyone? I really want to use class-based views, but it is hard with so much missing in terms of examples/tutorials. thx. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg

Re: Class-based FormView Contact Form

2011-09-12 Thread Paul Walsh
Hi Russ, Thanks for the input. I am actually looking to use FormView as opposed to UpdateView or CreateView because I am not working with model data at all: I want to create a simple contact form, and send the data of the form to a recipient via email - I don't want to write anything to the db

Re: How to place a form in all subsites and process i on 1 url?

2011-10-13 Thread Paul Schewietzek
Look at template inheritance: https://docs.djangoproject.com/en/1.3/topics/templates/#template-inheritance 2011/10/13 galgal : > I need to place a form in all my subsites and home page. It's placed on > right column. It's action is "/". If there are some errors I must display > them. > I made Fo

Re: Getting into professional django development

2011-10-18 Thread Paul Menzel
read the message you are referring to again. Kenneth corrected the post [2] (although the `sed`-command should be `s/1.3/1.2/`. »The latest official version is 1.3.1.« [1], so Kenneth suggested to use the current stable release. > I know - I'm a dinosaur. That has nothing to do with th

Re: Getting into professional django development

2011-10-18 Thread Paul Menzel
Am Dienstag, den 18.10.2011, 16:00 +0100 schrieb Tom Evans: > On Tue, Oct 18, 2011 at 3:47 PM, Paul Menzel wrote: > > Dear Dan, > > > > > > [Reordering the message so that it is easier to see the connection.] > > > > Am Dienstag, den 18.10.2011, 06:46 -0700

Re: Getting into professional django development

2011-10-18 Thread Paul Menzel
Am Mittwoch, den 19.10.2011, 07:54 +0530 schrieb kenneth gonsalves: > On Tue, 2011-10-18 at 16:47 +0200, Paul Menzel wrote: > > > > > 1.3 belongs to the stone age - since you are learning, it would be a > > > > > good idea to work with the current svn trunk, up

Re: Yup!

2011-11-10 Thread Paul Msegeya
oh hell yeah...thanx On Thu, Aug 25, 2011 at 3:12 PM, Firian wrote: > Definitely in! > > -- > 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: Django dev/deploy environment for distributed agile teams

2011-12-31 Thread Paul Msegeya
sounds good...Happy new year too. On Sat, Dec 31, 2011 at 10:25 PM, Ashkan Roshanayi < ashkan.roshan...@gmail.com> wrote: > Hi everybody, we are working in a geographically distributed agile team. I > am trying to design and configure our development environment and > deployment procedures and ne

Symposion as an event directory (meetup.com/eventbrite style)

2012-01-27 Thread Paul Schlacter
I am considering extending Symposion into an event-directory alike to meetup.com or eventbrite. Has this been done before, if not, would anyone be interested in helping me do this? Best regards, Paul Schlacter -- You received this message because you are subscribed to the Google Groups

Multi-conference, multi-user version of Symposion? (Meetup.com/EventBrite style)

2012-01-27 Thread Paul Schlacter
as other expected features such as email attendees and follow events made by a certain organizer or group. Would anyone be interested in working with me on this? Thanks for considering, Paul Schlacter -- You received this message because you are subscribed to the Google Groups "Django

Re: Installing forum on django 1.4

2012-11-29 Thread Paul Backhouse
On Wed, 2012-11-28 at 03:15 -0800, Yogev Metzuyanim wrote: > Hi, > Did someone here managed to install a working forum on django 1.4, I > tried all these and I got all kinds of errors: > PyBB > django-forum > django-forumbr > askbot > snapboard > and more... I suspect your question is too general

Re: how to use named urls from apps

2012-11-29 Thread Paul Backhouse
Try {% url 'auth_login' %} That works for me in Django 1.4 On Thu, 2012-11-29 at 06:32 -0800, Mike wrote: > I'm trying to use the url template tag to call the login view from > contrib.auth. I've tried the following but none work: > > > {% url login %} > {% url auth:login %} > {% url auth.log

Re: Internal Error after chaning SITE domain name and modifying html file...?

2012-12-07 Thread Paul Backhouse
Is it a Site cache issue? https://docs.djangoproject.com/en/1.4/ref/contrib/sites/#caching-the-current-site-object Maybe try Site.objects.clear_cache() On Fri, 2012-12-07 at 00:03 -0800, easypie wrote: > I'm getting an 500 internal error. I did two things before this > happened. (1) I modified a

Building a form to activate/deactivate m2m relationships, rather than add/delete.

2012-12-28 Thread Paul Caritj
y how to do this. I also want to make sure I'm not making this harder than it needs to be. (Django being Django, I sometimes imagine that there could simply a parameter that I could pass to the inlineformset_factory that would do all this for me. Such a thing certainly seems possible.)

Generating HTML code

2013-01-12 Thread Paul Lanza
As I am in the process of learning Django (I've programmed with python for years, and know HTML very well, too), do most programmers develop their HTML by hand, or do you use a 3rd party software to generate HTML and use that as a starting point for the page you are creating. If you are using

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Paul Walsh
James Bennet says above that it is compatible, but the latest django-registration code is not compatible with custom user models. RegistrationProfile, for example, still refers directly to User, whereas the new custom user implementation in Django 1.5 require this to be changed in order to work

Re: Django-Registration/Custom Authentication Issue

2013-04-19 Thread Paul Walsh
These are the changes you'll have to make to django-registration, if you are using AUTH_USER_MODEL in django 1.5 and inheriting from AbstractUser: https://bitbucket.org/prjts/django-registration/commits/ba31fc3053bfca7eb7a19d912882e50e295adc55 On Friday, 19 April 2013 11:52:55 UTC+3,

Repository files

2013-06-22 Thread paul kenyon
Hi all, I'm new to django so please excuse my lack of knowledge I'm still learning! :-) I recently hired a freelancer to create a django powered website for me from my html files that i had originally created, which he completed and I'm happy with. He has sent me all of the python files from h

Advice on creating an SFTP frontend in Django

2013-07-03 Thread Paul Hudson
access to SFTP via Django, I should focus on a simple way to post the original files to both places???) 3. Are they any Django Projects/Plugins/Components for File Explorer/FTP Client type GUIs that you would recommend using or referencing? Thanks for any and all input! -Paul -- Yo

Looking for the right way to specialize the User model

2013-07-31 Thread Paul Whipp
I'm using Django 1.5 and I needed an api to control the addition of users and the management of users on those groups. Django's rest framework proved a good starting point but I hit issues with the ManyToMany relation groups which means that there is no model for the user_group which in turn

Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
e() The interesting thing about this is that it only happens in the one view. I have tried to fix it by restarting MySQL but it didn't help. I checked the error log and there was nothing in there to indicate a problem occurred. I'm at a loss as what to do next. If anyone can make

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
I went as far as to reboot my machine. I tried the view and it worked but then my other view started exhibiting the same error message. On Tuesday, September 10, 2013 11:01:42 AM UTC-3, Paul Childs wrote: > > Environment: Django 1.4, MySQL 5.5.33 > > In one of my views I am consiste

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
rsion for a while now and I may resort to bumping up to 1.5 or even 1.6 to see if that fixes things. Cheers, /Paul -- 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, se

Re: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-10 Thread Paul Childs
I ran my test suite and the error didn't crop up there. All tests that run my views passed. -- 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: Middleware Causing OperationalError: (2006, 'MySQL server has gone away')

2013-09-18 Thread Paul Childs
f the packet, which I am told is only 1MB by default for windows. On Tuesday, September 10, 2013 11:01:42 AM UTC-3, Paul Childs wrote: > > Environment: Django 1.4, MySQL 5.5.33 > > In one of my views I am consistently getting a MySQL > error: OperationalError: (2006, 'M

Re: forum and blog for developers

2011-05-22 Thread Paul Menzel
releases, > conferences, and so on). I guess there are already Django developers with blogs and Django related posts. Just aggregate those into a planet (blog aggregation) planet.djangoproject.com like a lot of projects, for example Debian [1], Gentoo [2] or Fedora [3] have. […

Re: forum and blog for developers

2011-05-22 Thread Paul Menzel
Am Sonntag, den 22.05.2011, 11:53 -0500 schrieb Jacob Kaplan-Moss: > I think you're looking for http://www.djangoproject.com/community/. Perfect. I did not know about this. I am sorry for the noise. Thanks, Paul signature.asc Description: This is a digitally signed message part

Re: bounces

2011-06-06 Thread Paul Schewietzek
When you reply to a mail that pers...@example.com posted via the mailing list, do you send your reply to personX@example or to django-users@googlegroups.com? Paul 2011/6/6 Kenneth Gonsalves > On Sun, 2011-06-05 at 08:26 -0700, creecode wrote: > > I'm assuming you mean the boun

Re: bounces

2011-06-06 Thread Paul Schewietzek
Maybe your email address or the whole domain was being blacklisted for some reason I don't really know about SMTP and stuff, but aren't there grey-/blacklisting services out there that any mailserver can access? Paul 2011/6/6 Kenneth Gonsalves > On Mon, 2011-06-06 at 13:2

Re: bounces

2011-06-06 Thread Paul Schewietzek
If at all, shouldn't they block domains instead of IP's?? Dunno. But I'm getting too far off topic with this I guess. Have a nice day =) Paul 2011/6/6 Kenneth Gonsalves > On Mon, 2011-06-06 at 13:57 +0200, Paul Schewietzek wrote: > > Maybe your email address or th

Class-Based Generic Views (CreateView) - field exclusions and defaults

2011-07-15 Thread Paul Walsh
I am pretty new to Django - new enough to be developing my first Django app on 1.3. So, I am basing all my work on class-based generic views, and have never used the older generic view functions. A problem I have is the lack of examples and documentation on the new class-based generic views. M

Re: Class-Based Generic Views (CreateView) - field exclusions and defaults

2011-07-16 Thread Paul Walsh
Hi Russ, Wow - your response is *exactly* what I needed - thanks a great deal :) As you mention in there, *because* CreateView gets me so far without the Form class (it builds me a form based on the model I declare), I was exactly looking to do other "ModelForm" stuff at the CreateView level.

creating dynamic forms with django

2011-07-20 Thread ken paul
hey can anyone get a way of writing dynamic form classes with django. I have tried but putting the attributes became a bit hard. Kenneth -- 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@googlegrou

Re: creating dynamic forms with django

2011-07-20 Thread ken paul
isa.balakrish...@gmail.com> wrote: > may be dis link helps u: > > http://uswaretech.com/blog/2008/10/dynamic-forms-with-django/ > > On Wed, Jul 20, 2011 at 12:46 PM, ken paul wrote: > >> hey can anyone get a way of writing dynamic form classes with django. I >> have

Re: creating dynamic forms with django

2011-07-20 Thread ken paul
Hey you know the link actually has what I want thanks Kenneth On Wed, Jul 20, 2011 at 3:27 PM, ken paul wrote: > Thank man but what I mean is like you create a dynamic class > ||new_class=type('myform',(forms.Form),{attrib})|| but the dict with attribs > is a bit c

Re: Web development newbie

2011-07-23 Thread Paul Schewietzek
Some python knowledge is helpful, if not required. Since you should know general programming architectures from java, I recommend "Dive into Python" to learn python. http://diveintopython.org/ 2011/7/23 Riefers > I've spent the 10+ years developing serverside apps in java. I've > never done

Django 1.3 CreateView/ModelForm and dynamic filtering of fields

2011-07-31 Thread Paul Walsh
I am trying to filter a field on a ModelForm. I am subclassing the generic CreateView for my view. I found many references to my problem on the web, but the solutions do not seem to work (for me at least) with Django 1.3's class-based views. Specifically, my users need to add Subscribers, and

Re: Django 1.3 CreateView/ModelForm and dynamic filtering of fields

2011-08-02 Thread Paul Walsh
can anyone help with this? thx. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/oB-B4Y8NHVQJ. To post to this group, send email to django-users@googlegroup

Re: Django 1.3 CreateView/ModelForm and dynamic filtering of fields

2011-08-06 Thread Paul Walsh
hmm. Still stuck on this. I have tried a range of solutions, but none work for me with 1.3 class-based views. Can anyone help? thx, paul. -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web vi

Re: Bringing down a website

2010-12-13 Thread Paul Winkler
On Dec 13, 10:20 am, Shamail Tayyab wrote: > What could be the simplest way to do it without altering any of my > current views or anything? Write a view for /shutdown which sets some global flag eg. in the database, then write some middleware to do the rest: http://docs.djangoproject.com/en/dev/

Strange Admin CSS Behaviour

2010-12-15 Thread Paul Childs
er. If anyone has an idea how to fix this or can point me in the right direction to troubleshoot this, I would appreciate it. /Paul Here are the media settings in my settings.py # Absolute path to the directory that holds media. # Example: "/home/media/media.lawrence.com/" MEDIA

Re: upload files via ajax

2010-12-23 Thread Paul Osman
7;m using django 1.1. > The ajax request has the content type header set as mulitpart/form- > data > This was recently posted to the Mozilla Webdev blog. Might help you: http://blog.mozilla.com/webdev/2010/09/17/django-and-ajax-image-uploads/ -Paul -- You received this message becaus

How to properly implement counter?

2011-02-10 Thread Paul Bagwell
I got models: - Post (id, thread_id, text, pid) - Thread (id, name, last_pid) PID is the number of post in thread. So it needs to be unique to each thread. Like: Thread 1 : [1, 2, 3, 4, 5] Thread 2 : [1, 2, 3, 4, 5, 6, 7] And the "last_pid" field of thread is cache of pid of last post in post_se

<    1   2   3   4   5   6   >