Re: Project together

2023-12-01 Thread Aubdur rob Anik
I'm interested. Add me please. Phone(WhatsApp): +8801685946475 On Friday, 1 December 2023 at 00:30:44 UTC+6 Talha Malik wrote: > I'm interested, add me too +923098109886 <+92%20309%208109886> > > On Mon, 27 Nov 2023, 9:20 pm Aminu Auwal, wrote: > >> I am interested add me +2438062282242 >> >> On

Re: Project together

2023-11-24 Thread Aubdur rob Anik
Please Add me, i am interest On Friday, 24 November 2023 at 20:26:22 UTC+6 anupam sharma wrote: > I am interested. Please let us know the details. > > On Fri, 24 Nov, 2023, 11:48 am Ogunlade Stephen Olayide, < > ogunlade...@gmail.com> wrote: > >> What is the project Stack? >> >> On Thu, Nov 23, 2

Re: Class Base View Foreign key

2021-02-27 Thread Rob Wilkinson
This is what my code looks like and it now works : see where it says "example of setting pk..." below: def dyn_menu_new(request): from .models import menu as menuX from .models import buttons if request.method == 'POST': if request.user.is_superuser: super_user

Re: Class Base View Foreign key

2021-02-27 Thread Rob Wilkinson
I had similar issues, I found this helpful: https://groups.google.com/g/django-users/c/PcSDKZhPVmc On Sat, Feb 27, 2021 at 9:19 AM Ryan Nowakowski wrote: > I think choices is causing the problem. Try limit_choices_to instead: > > > https://docs.djangoproject.com/en/dev/ref/models/fields/#djan

Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-12 Thread Rob Wilkinson
DEBUG=Yes in settings.py shows what you need even in Apache Don’t run like that in prod! On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. wrote: > Hi everyone, > I was wondering can anyone point me to a document describing how to setup > debugging using any IDE (VS Code, PyCharm, etc) or at least fr

Re: IS it possible to debug Django with Apache and mod_wsgi

2021-02-12 Thread Rob Wilkinson
Sorry meant DEBUG=True :) On Fri, Feb 12, 2021 at 10:39 AM Rob Wilkinson wrote: > > DEBUG=Yes in settings.py shows what you need even in Apache > > Don’t run like that in prod! > > > On Fri, Feb 12, 2021 at 10:36 AM Ognjen B. > wrote: > >> Hi everyone, >&

Re:

2021-01-19 Thread Rob Wilkinson
Check out my new Django site, wrk in progress.. https://MrRobby.ca I can send you my code if it helps Rob On Tue, Jan 19, 2021 at 8:39 AM Christ Ikonga wrote: > hi guys i have a question about django form.. how do i use a form i > created myself to allow users to register on m

Re: Django Uploaded images not displayed in production

2020-06-21 Thread Rob Riedlinger
Check out this video https://youtu.be/kBwhtEIXGII Denis talks about why this happens On Sunday, June 21, 2020 at 7:15:43 PM UTC+2, Anton Nyagolov wrote: > > Thanks I will check out the group too for future reference and etc. Those > images are uploaded to a database and are part of a model. I

Call for Comments from those who use mailing address models in Django

2020-04-09 Thread Rob
st don't have the right delivery. Rob -- 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 discuss

Re: Question about makemigrations

2019-06-21 Thread Rob W
"Migrate is basically the old syncdb but it takes into account all the migrations made by makemigrations. You should run the command -migrate- after adding a new app under the INSTALLED APPS section in the settings.py file in order to synchronize the database state with your current set of model

Djano rest api

2019-06-12 Thread Rob W
Hi all, I need to see a django rest api, with proper endpoint design - REST-ish by using paths, HTTP methods, response codes, JSONs, errors returned in JSON, Anyone have this already completed that I can take a look at? -- You received this message because you are subscribed to the Google Grou

Re: How to get object id from database?

2019-05-25 Thread Rob Gmail
Look at the new Boston.com he did a tutorial on exactly this issue Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 25, 2019, at 7:25 PM, Yoo wrote: > > Maybe try album__id (two underscores)? Or try album_title as defined in the > Album model. I als

Re: could not connect to server: Connection refused Is the server running on host "localhost" (::1) and accepting TCP/IP connections on port 5432?

2019-05-16 Thread Rob W
First, you should not share your password to your server to anyone….thats very dangerous. Now anyone can log in to your server with nefarious intentions. Be more careful. But it sounds like something on the server is blocking your connection. > On May 16, 2019, at 8:57 AM, omar ahmed wrote

Re: problems with mysql client

2019-05-12 Thread Rob W
I did, but believe it or not, that install fails too. > On May 11, 2019, at 12:12 PM, Jorge Gimeno wrote: > > Rob, > > On the off chance you haven't seen it, I found a Stack Overflow question on > this: > https://stackoverflow.com/questions/25459386/mac-os-x-env

Re: problems with mysql client

2019-05-11 Thread Rob Gmail
Mac OS Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 11, 2019, at 11:42 AM, Jorge Gimeno wrote: > > > >> On Sat, May 11, 2019 at 8:16 AM Rob W wrote: >> for my django project, we are using mysql. >> >> no matter how

problems with mysql client

2019-05-11 Thread Rob W
for my django project, we are using mysql. no matter how i try to install it, python-mysqldb, or just pip install mysqlclient, it fails. i've installed mysqlconnector, i've tried everything. any suggestions ? Collecting mysqlclient Downloading https://files.pythonhosted.org/packages/f4/f

reporting

2019-05-09 Thread Rob W
whats the best web reporting tool to use that easy and will easily integrate with django ? -- 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

Need help with project

2019-05-08 Thread Rob W
There are a few of us in a group slack who are trying to build a working production django ap for reporting. We are looking for someone who really knows Django to guide us through this project. We are all really hoping that someone will be kind enough to guide us and help us build this app. i

Re: Is it Possible to run django locally without internet connection

2019-05-07 Thread Rob Gmail
Yes you can. I do it for an IOT device that we have using Django/python, many times it does not have an Internet connection but runs fine. Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 7, 2019, at 11:38 AM, Idris Adegbite wrote: > > Good day guy

Re: django project

2019-05-06 Thread Rob W
nd me the details.. > > On Mon 6 May, 2019, 8:04 PM Rob W, <mailto:randmwhee...@gmail.com>> wrote: > Yes, I’m a beginner too, but need to get it completed. The first piece > should not be too difficult. > > > >> On May 6, 2019, at 10:32 AM, fazal rehm

Re: django project

2019-05-06 Thread Rob W
Yes, I’m a beginner too, but need to get it completed. The first piece should not be too difficult. > On May 6, 2019, at 10:32 AM, fazal rehman wrote: > > Is it for beginners ? > > On Mon 6 May, 2019, 8:01 PM , > wrote: > I am looking for 2 people to work wit

Re: Projects to work on

2019-05-05 Thread Rob Gmail
Go ahead and email me if you could you’ll find my email in the group Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 2:51 PM, Emmanuel klutse wrote: > > Hello Rob, > Let me know what role I can play. Thx > > Emmanuel Klutse >

Re: Projects to work on

2019-05-05 Thread Rob Gmail
Maybe the three of us could work on the same project? Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 1:52 PM, Emmanuel klutse wrote: > > Hello team, > I also started two months ago. Working on a really problem will be of great

Re: Projects to work on

2019-05-05 Thread Rob Gmail
Yes but let’s talk about it privately via our own emails Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 1:43 PM, salimon jamiu olashile > wrote: > > Can you give me more details on it? To understand what you’re talking about. > &

Re: Projects to work on

2019-05-05 Thread Rob Gmail
I have a reports project that you might be interested in working on Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On May 5, 2019, at 12:56 PM, Jamiu Olashile Salimon > wrote: > > Hello guys, > > I've been learning Django for about 6 months

Re: help with URLS.PY

2019-05-03 Thread Rob W
Sure. Here is my urls.py from django.conf.urls import url from django.contrib import admin from django.urls import path from vr_reporting_app.views import HomeView from vr_reporting_app.views import Local from vr_reporting_app.views import User from vr_reporting_app.views import School urlpatt

Re: help with URLS.PY

2019-05-03 Thread Rob W
It does not, I changed the name, stil the same error > On May 2, 2019, at 8:23 PM, Abishek Goda wrote: > > > Hi, > >> >> As I said, the dashboard.html works, i just want another menu option to load >> the other html file. i have commented this out as it causes my app to break. > So the iss

Re: Unable to create the django_migrations table (ORA-00907: missing right parenthesis)

2019-04-27 Thread Rob W
Can you send a copy of your models.py or a copy/paste of the class that shows the error? > On Apr 27, 2019, at 4:41 PM, tossouwisdom wrote: > > django.db.migrations.exceptions.MigrationSchemaMissing: Unable to create the > django_migrations table (ORA-00907: missing right parenthesis) > > L

Re: problems with url and views - new to django

2019-04-23 Thread Rob Gmail
Yes I did Rob 203-671-6514 Sent from my mobile device, please excuse the typos. > On Apr 23, 2019, at 11:05 AM, Victor H. Velasquez Rizo > wrote: > > But. Did you get it to work? > >> On Mon, Apr 22, 2019, 11:38 AM Robert Wahoo wrote: >> Actually, I found why I

problems with url and views - new to django

2019-04-21 Thread Rob W
setting up a new project. all good, loaded up the project on localhost. however, when creating a view then setting the url, it doesn't work. *urls.py* from django.contrib import admin from django.urls import path urlpatterns = [ path('admin/', admin.site.urls), path('hello/', lct_app.s

Re: How to properly use MySQL Generated Fields in Django

2019-04-15 Thread Rob Schneider
Thanks! I’ll give this a try. I did have “alpha” as a function in the model, but found I could not easily include that in queries as easily as a field in the db. so into the db it went. I’ll try this, and see if I can get the data out as wanted. thanks! —rms > On 15 Apr 2019, at 17:08, Matth

Re: Smiley in url triggers 500 error

2019-02-22 Thread Rob
Ok solution was simple. I had to add this in settings.py in the database section: ’OPTIONS’: {’charset’: ’utf8mb4’}, -- 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

Smiley in url triggers 500 error

2019-02-21 Thread Rob
Somebody linked our site with a smiley in the url. The url looks like this: myurl/nummer-333😊🤓/ This results in a 500 error. Because this page does not exist I expected a 404 error. The 500 error shows: (1267, "Illegal mix of collations (latin1_swedish_ci,IMPLICIT) and (utf8_general_ci,COERCIBLE

Re: model permission assignment via groups requires further config at model level?

2018-04-30 Thread Rob B
Thanks George - I understand now. I never thought it would only apply to the admin interface but should have. Kind regards, Rob On Sun, Apr 29, 2018, 10:05 PM George Lubaretsi, wrote: > Django permissions are only enforced in Admin interface by default. You > have to enforce them i

Re: How to get Foreign Key Objects programmatically?

2018-02-27 Thread Rob Schneider
Still a mystery to me. --rms > On 28 Feb 2018, at 03:22, Malik Rumi wrote: > > Did you ever find an answer? If so, do you mind sharing it? Thanks. > >> On Sunday, October 29, 2017 at 9:33:10 AM UTC-7, rmschne wrote: >> I'm using Django as front end to a MySQL database. User interface is a >

Django formset security and injecting PKs in formset hidden id fields

2016-05-03 Thread Rob Ladd
I've noticed something troubling in Django formsets: Each formset.form has a hidden field with the id of the model being edited. All one would need to do is change this id and submit, and the default formset clean() or save() methods don't bat an eye. I would think that it wouldn't be too c

Re: Django formset hidden id field

2016-05-03 Thread Rob Ladd
Carl Meyer said: "Whatever queryset you pass to the model formset limits the available rows for editing. The end user can edit the PK to refer to any item in that queryset, but not any item in the table. " That's not true, based on my observation. As long as the PK refers to any object of that

Re: Does anyone use Django on bluehost? "Cant find fcgi module" error on line 9 .

2016-04-09 Thread Rob Groves
I am using Django on bluehost. I suspect that the issue you are seeing is that Django1.9 has stopped supporting fcgi. I found that out when I tried to upgrade from 1.8 a while back. I think you can probably copy over the fcgi module from the Django 1.8 release, but I haven't tried that. I ju

Re: Django error report not being sent through email

2015-09-20 Thread Rob Groves
I'm not sure if it is a typo... but your have: * EMAIL_HOST = 'stmp.comp.nus.edu.sg '*Should that be: * EMAIL_HOST = 'smtp.comp.nus.edu.sg '* On Saturday, September 19, 2015 at 7:49:56 AM UTC-4, Xin Ji wrote: > > I'm using apache + djan

Re: Binding model data to a formset without POST

2015-01-23 Thread Rob Groves
#x27;re just doing basic fields, that should work. If you're doing > anything more complicated, it might make sense to run the validation more > by hand. If you could call field.clean() on the less raw data you could > skip widgets and prefixes all together. > > Collin >

Binding model data to a formset without POST

2015-01-20 Thread Rob Groves
Hi All, I am new to Django and am enjoying it very much. Excellent documentation, tutorials, and general environment to work in. Good job Django developers! I have a question on binding data to a ModelFormset. I have looked extensively and not seen this particular issue covered before. I hav

Re: ANN: Django website redesign launched

2014-12-17 Thread Rob
On Wednesday, December 17, 2014 8:39:21 AM UTC-5, Daniele Procida wrote: > > > We'd hate you to be "that guy" too. However, so far you are "that guy", > since merely announcing that you have identified numerous accessibility > issues is useless. > Ok. Tell the designer to google "chrome acce

Re: ANN: Django website redesign launched

2014-12-17 Thread Rob
On Tuesday, December 16, 2014 5:58:00 PM UTC-5, Christian Schmitt wrote: > > Somehow I hate it. The website is the worst website I've seen since a long > time. > The contrast is really aweful. > The issue Tracker got unusable due to the colors that aren't focused on > readability. > Clearly. My

Re: Django setup with elsatic beanstalk

2014-07-11 Thread Rob
gmail.com> writes: > > > I'm having a similar problem - I don't see errors from the EB console - but django is not loaded I still get the standard AWS EB page.I have tried editing settings.py and app.config according to this tutorial:http://docs.aws.amazon.com/elasticbeanstalk /latest/dg/c

Re: Tutorial to deploy (with install instructions) = django+gunicorn+nginx

2014-05-23 Thread Rob Skidmore
Glad I could help. On Fri, May 23, 2014 at 3:49 PM, Jonathan Querubina wrote: > I have tryied a lot of them, and this one was the salvation > > > http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ > > Thanks Rob! > > On May 23, 2

Re: Tutorial to deploy (with install instructions) = django+gunicorn+nginx

2014-05-23 Thread Rob Skidmore
Found this after a digging for a bit. Might help. http://michal.karzynski.pl/blog/2013/06/09/django-nginx-gunicorn-virtualenv-supervisor/ On Friday, May 23, 2014 4:36:23 AM UTC-6, Jonathan Querubina wrote: > > Hi guys, i am on my first deploy and loosing my hair over this. > > Could anyone send

How do I start with this project with django

2014-03-14 Thread Rob L
ent user from uploading malicious stuff to backend... Any suggestions, ideas would be appreciated. Thanks! Thanks Rob L -- 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: problem with deploying django using mod wsgi

2013-08-12 Thread Rob Ladd
It may be looking in html because it isn't getting the definition from the view method or class, so it's going with the default. Try importing everything in views: from webapp import views * On Saturday, August 10, 2013 3:46:19 AM UTC-4, WongoBongo wrote: > > Is your form (on page /mice/search_mi

How to update a form in formwizard

2013-03-07 Thread Rob
l'] == '5': filter3 = 'Middag + Avond' elif y['Dagdeel'] == '6': filter3 = 'Dag + Avond' form.fields['Activiteit'].queryset = Activiteit.objects.filter(Soort__Groep = filter1).filter(Gro

Re: get_form in formwizard gives validation error

2013-03-07 Thread Rob
I am a bit further now. When I use the default widget in forms.py the validation error disappears. BoekForm3 becomes: Activiteit = forms.ModelChoiceField(queryset=Activiteit.objects.all(), empty_label="(Nothing)") I ran into another issue however (below is my complete view): I use get_form to ma

get_form in formwizard gives validation error

2013-03-05 Thread Rob
y: class BoekForm3(forms.Form): Activiteit = forms.ModelChoiceField(queryset=Activiteit.objects.none(), widget=forms.RadioSelect, empty_label=None) Anybody an idea about this? Rob -- You received this message because you are subscribed to the Google Groups "Django users" group.

Re: Q about wizard.form.forms

2013-02-24 Thread Rob Slotboom
Babatunde wrote: It is satisfied when the step contains a formset -- 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. T

Q about wizard.form.forms

2013-02-22 Thread Rob Slotboom
Hi, Django’s documentation shows a sample form wizard template. In that template there is a conditional tag: {% if wizard.form.forms %}{% else %} I can’t figure out when this condition will ever by met. Does sombody have a clue? Cheers and happy coding, Rob -- You received this message

Re: Custum save on Foreignkey in Admin

2013-02-04 Thread Rob van Dam | Camping het Wieskamp
assignment" What is the correct way to deal with this? I don't need this for my current project, so if you don't answer it, it is no problem at all. Regards, Rob On 04-02-13 18:50, Pankaj Singh wrote: Yes, save_formset() has only those instances whose fields were changed. Sin

Re: Custum save on Foreignkey in Admin

2013-02-04 Thread Rob van Dam
.. Regards, Rob On 04-02-13 17:26, Pankaj Singh wrote: Hey Rob, I tested following code and it works. models.py from django.db import models # Create your models here. class Ticket(models.Model): ticketnumber = models.IntegerField() total_amount = models.DecimalField(max_digits=7

Re: Custum save on Foreignkey in Admin

2013-02-04 Thread Rob van Dam | Camping het Wieskamp
the value 100 to be saved in the databasebut nothing works. Rob On 02-02-13 21:04, Pankaj Singh wrote: http://stackoverflow.com/questions/8294889/override-save-on-django-inlinemodeladmin Sincerely, Pankaj Singh http://about.me/psjinx On Sun, Feb 3, 2013 at 1:34 AM, Pankaj Singh wrote

Re: Custum save on Foreignkey in Admin

2013-02-02 Thread Rob
Thank you for the reply! I was working on a custom save in models.py, never thought about working on the formset in admin.py Rob -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emai

Custum save on Foreignkey in Admin

2013-02-02 Thread Rob
I have two models: class Tickets(models.Model): ticketnumber = models.IntegerField() total_amount = models.DecimalField() class TicketItems(models.Model): name = models.Charfield(max_length=30) ticket = models.ForeignKey(Tickets) price = models.DecimalField() amount = models.In

Re: Button with save and custom action in Admin

2012-12-10 Thread Rob
I found a snippet which does everything I want (in case anybody runs into the same problem): http://djangosnippets.org/snippets/2005/ -- 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.googl

Button with save and custom action in Admin

2012-12-10 Thread Rob
In Django 1.4 I am working on a small mailing app, and in the admin change page I would like to add a button called "send mailing". When the user presses the button the model should be saved first, en then redirected to a custom page to view and confirm the mailing before send. I saw lots of sn

Re: Difficulties using generic views (Tutorial 4, Django 1.4)

2012-07-24 Thread Rob
Sometimes the browser cache is making trouble too. Especially with Firefox I occasionally have this kind of problems. Clear the browser cache, or test with a different browser mostly helps. -- You received this message because you are subscribed to the Google Groups "Django users" group. To vi

Re: Validation error with formwizard and formset

2012-07-21 Thread Rob
The validation error i got was due to a custom view i wrote, and had nothing todo my my template etc etc. I switched back to the default example view provided by the Django site, and everything works. -- You received this message because you are subscribed to the Google Groups "Django users" g

Validation error with formwizard and formset

2012-07-21 Thread Rob
I have a basic formwizard example from the Django 1.4 documentation: https://docs.djangoproject.com/en/1.4/ref/contrib/formtools/form-wizard/ When I replace the forms with a modelform and a formset i keep getting validation errors: (ManagementForm data is missing or has been tampered with) The

Redirect form after post, and download pdf

2012-06-07 Thread Rob
doesn't work at all (because the view "stops" after the return). Any idea? Rob -- 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

Re: filter cache output

2011-07-15 Thread Rob
On Jul 15, 8:57 pm, Nan wrote: > Well, you can use one of the methods from [2] to force the queryset to > evaluate before caching it.  But you'll still run a new query in order > to filter, unless you aftually filter the data in your Python code. Very clear, thanks! -- You received this message

Re: filter cache output

2011-07-15 Thread Rob
On Jul 15, 8:34 pm, Nan wrote: > Querysets are evaluated lazily.[1][2]  You may have better success > using template fragment caching[3] to cache the menu output. > Thanks for the reply. I read the part about the "lazy" querysets and therefore I suspected the database not to be hit. This also do

filter cache output

2011-07-15 Thread Rob
database (which makes the caching useless). I found out about this because changes in the menu are applied immediately on the webpage. Is this normal behaviour, and should I make multiple entries into the cache for the left- and topmenu, or is there a way to get this working? Rob -- You received

Re: Seeking a Django 1.3 and syslog configuration example

2011-06-03 Thread Rob
7;: { >          'syslog': { >              '()': logging.handlers.SysLogHandler, >              'facility': logging.handlers.SysLogHandler.LOG_LOCAL7, >              'formatter': 'prod', >          }, >      } > > It depends on the commonware, but I gue

Re: Seeking a Django 1.3 and syslog configuration example

2011-06-03 Thread Rob
og facility (eg. LOG_USER or LOG_LOCAL0). How do I configure those options? Rob. On Jun 1, 12:41 pm, Shawn Milochik wrote: > This should help out. It's for a file, not SysLogHandler, but the idea > is the same. > > Just take any arguments you would normally pass to the h

Re: Our new startup site build on Django and GAE is now live!

2011-06-03 Thread Rob
info about me; if I like it I will sign up. I'd like to provide feedback but the first thing you want me to do, before even looking at the site, is give you my facebook info? Ummm ... no. So the only feedback I have is get rid of that "*we're* social so *you* have to share"

Seeking a Django 1.3 and syslog configuration example

2011-06-01 Thread Rob
I'm having no luck finding any information on setting up syslog logging with Django 1.3 dictionary configuration. The Django documents don't cover syslog and the python documentation is less than clear and doesn’t cover dictionary config at all. I've started with the following but I'm stuck on how

Re: Example uses of Celery

2011-05-24 Thread Rob
I use celery for the following: 1. Expensive tasks that you don't want the user waiting on. For example: sending messages; we have triggers for SMS, Email and iPhone APN messages. I don't want the request/response waiting around while I do all of that. 2. Tasks that could fail and need to

HTML size confusion.

2011-03-04 Thread Rob
hat am I doing wrong here?) I'm using django 1.2.1. Cheers! Rob -- 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: Django cache created in one function not available to another?

2011-01-29 Thread Rob Hudson
This sounds similar to this bug : http://code.djangoproject.com/ticket/15149 On Jan 28, 8:02 am, Lance Vick wrote: > So I have a function that sets cache (and successfully outputs it): > > def push_cache: >     cache.set('foo_cache', 'FUBAR!!!') >     foodata = cache.get('foo_cache') >     print(

Re: File Uploads Form Field "title" Questions

2011-01-27 Thread Rob McQueen
anging the filename of the file object to the "title" string you stored in the request. This would be done in a view method. -Rob On Thu, Jan 27, 2011 at 10:53 AM, hank23 wrote: > I'm trying to code and implement a file upload screen. I've looked at > the documentation at:

Re: what am I doing wrong?

2011-01-25 Thread Rob McQueen
Is there a reason why you inherit from forms.Form, but not forms.ModelForm ? Is it successfully finding ModelForm without the reference to forms? -Rob On Tue, Jan 25, 2011 at 12:41 PM, MikeKJ wrote: > > class CertForm(forms.Form): >agree = forms.BooleanField(required=True, label=&

Re: main categories in menu

2010-12-04 Thread Rob
the database --> render a menu of all pages which are linked to main1 --> show page1 Rob > r'^main1/\w+/$' > > which will pass all characters matching the regex (here, alphanumeric > chars) to the view you specify as a positional arg.  You can also pass > them as a k

main categories in menu

2010-12-03 Thread Rob
the view? (r'^(.*)$', view), A consideration I have that I will end up having double content (which is bad for Google). Is it also an option to remember the choice made in a session, and render the menu on page load (through middleware)? Rob -- You received this message because you

Re: inheriting User class

2010-10-24 Thread Rob
Probably most of us are using the separate profile model, as recommended. I actually have multiple models associated with users on one project: User (from auth) UserInfo (things rarely accessed such as address, emergency contact info, etc.) UserProfile (my application specific profile) I'm going

form model def save question

2010-09-06 Thread Rob B (uk)
Been struggling over at http://stackoverflow.com/questions/3652585/simple-django-form-model-save-question to get a solution. I want the inuse field to update to to True when LocationForm is saved. For example there would be a list of locations added by the admin (London, New York and Paris) all

Re: www.djangoproject.com

2010-07-01 Thread Rob Broadhead
Groups "Django users" group. To post to this group, send email to django-us...@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com . For more options, visit this group at http://groups.google.com/group/django-users?hl=en . Ro

Re: Error in form validation with choices

2010-06-13 Thread Rob
Thanks for starting this thread ... just hit this myself porting to 1.2.1 from 1.1.1 ... On May 18, 4:38 pm, Jori wrote: > Thanks, you're correct. I don't know how I didn't notice but then > again it worked just fine with 1.1.1. > > -Jori -- You received this message because you are subscribed

Best intranet solution for a small digital agency?

2010-06-07 Thread Rob B (uk)
I work for a small digital agency (10-15 employees). We design and build websites (using php and Django). Are we better off building our own intranet using django or going for a pre built (free or paid for) solution? Key features needed: - Project management (basecamp clone) - Time reporting

override a form field, to allow usernames with '@'

2010-05-02 Thread Rob
ite.unregister(User) UserAdmin.form = OurUserChangeForm UserAdmin.add_form = OurUserCreationForm admin.site.register(User, UserAdmin) But it doesn't work. The user form is still validating with the 'username' from the superclass, which is a RegexField. Is this working as designed? Are

Re: OS X install, not in home directory?

2010-04-28 Thread Rob
overriding the normal setup.py behavior. Rob -- 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 django-users+unsubscr...@g

Re: Getting a Blog included in the Django community aggregator

2010-04-27 Thread Rob
feed for Django is http://www.robgolding.com/blog/feed/?tag=django. It would be really great if my content could be included :). Thanks, Rob Golding On Apr 21, 9:32 am, Russell Keith-Magee wrote: > On Wed, Apr 21, 2010 at 4:28 PM, Daniel Roseman wrote: > > On Apr 20, 3:36 pm, Russell Ke

Re: OS X install, not in home directory?

2010-04-27 Thread Rob
ry/Frameworks/Python.framework/Versions/2.6 running install ... Removing /Users/rob/Library/Python/2.6/site-packages/Django-1.1.1- py2.6.egg-info Writing /Users/rob/Library/Python/2.6/site-packages/Django-1.1.1- py2.6.egg-info So it put in my home dir. Same with --prefix=/Library/Python/2.6. Using --

OS X install, not in home directory?

2010-04-24 Thread Rob
27;ll hand copy the files, but there must be a way with setup.py. ? thanks, Rob -- 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 em

Re: Template translation

2010-04-15 Thread Rob Charlwood
If anyone is curious, We some mega help from the man in the know (Dan Hilton) I have managed to write a snippet to handle this functionality. You can find it here! http://www.djangosnippets.org/snippets/1985/ On Apr 14, 9:18 am, Rob Charlwood wrote: > Hello all, > > I'm a little

Template translation

2010-04-14 Thread Rob Charlwood
ate tags not to translate? Something like {{doc.download|filesizeformat|no_trans}} If not is there any other way to force certain template tags not to translate? Many thanks in advance. Rob -- You received this message because you are subscribed to the Google Groups "Django users" group

Count number of objects with no ManyToMany connections

2010-03-06 Thread Rob Carlson
if there was a better way to express this: print "No widgets", Resource.objects.exclude(widgets__in=Widget.objects.all()).count() Thanks! -- Rob Carlson r...@vees.net http://vees.net/ -- You received this message because you are subscribed to the Google Groups "Django users&

Re: Check if django is getting a page from memcache

2010-02-13 Thread Rob Hudson
2 misses. Then all subsequent page loads you should see the hits counter increase. -Rob On Feb 13, 2:41 am, Alessandro Ronchi wrote: > I am not sure django is getting a page from memcached. Is there a way to > check it? > > Thanks in advance, > > -- > Alessandro Ronchi &g

Re: django-debug-toolbar and 404's

2010-02-12 Thread Rob Hudson
e settings you refer to are optional. Thanks, Rob On Feb 11, 10:57 pm, Rishabh Manocha wrote: > Mike, > > Thanks for replying. Reading through the django-debug-toolbar docs, those > settings are all optional, so I just figured I don't need to set them for > the default debug-to

Re: django-debug-toolbar with runserver not running on localhost

2010-02-05 Thread Rob Hudson
user def custom_show_toolbar(request): if request.user.is_superuser: return True return False DEBUG_TOOLBAR_CONFIG = { 'SHOW_TOOLBAR_CALLBACK': custom_show_toolbar, } -Rob On Feb 5, 1:23 am, chefsmart wrote: > If you use dcamer's forkhttp://github.com/dcram

Django or CMS.

2010-02-05 Thread Rob B (uk)
The design agency I work for are looking into CMS options. Being a Django man myself I'm hoping to convince them to build one using Django. Requirements are roughly: Page control (creation/drafts/published/withdrawn/deletion) Page revisions View draft pages on site for testing In-place editing f

problems getting the development version running on Leopard

2010-01-19 Thread Rob Slotboom
python shell >>>> No module named django.core I can see the symbolic links in finder and the show the content the should give. Some time ago I used exactly the same procedure on FreeBSD and all went fine. Do I have to something special to get this running on Leopard? Cheers, R

Re: Django, Apache, mod_wsgi, GET works, POST doesn't

2010-01-06 Thread Rob
Have you managed to figure this out - I'm having a similar (I believe the same) issue. On Jan 5, 6:27 am, Patrick May wrote: > Can you make it fail in the development server, with DEBUG turned on? > > If so, you can get more helpful error display and/or do pdb.set_trace() and > poke around. > > I

Re: django-tagging is not multi-db safe

2009-12-26 Thread Rob Hudson
> Django-tagging have a lot of users though. Maybe the pinax-people will > arrange for a version that is 1.2-safe. Check out django-taggit: http://github.com/alex/django-taggit -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this gro

Re: debug toolbar problem

2009-11-02 Thread Rob Hudson
27;t track SQL queries. -Rob On Nov 2, 5:38 am, "bax...@gretschpages.com" wrote: > > Are you caching your pages? > > Yes, but only for anonymous users > > > Are you using Django ORM? > > Yes > > > Have you added the DebugToolbarMiddleware to your MID

models.Manager error

2009-09-21 Thread Rob B (uk)
Model: http://dpaste.com/96349/ View: def game_list(request): return render_to_response('games/game_list.html', { 'object_list': GameList.objects.published.all().order_by('position')}) Template error: AttributeError at /games/ 'Manager' object has n

  1   2   3   4   5   6   7   >