Re: urlconf problem

2014-08-06 Thread Joel Goldstick
things, and I had bad code in the view that never ran, so my blog_app stuff worked, but when admin inspects the modules, it apparently couldn't resolve something. I fixed my view code, then admin stuff worked. thanks all. Put into git ;) -- Joel Goldstick http://joelgoldstick.com -- You

Re: urlconf problem

2014-08-05 Thread Joel Goldstick
> points to the wrong settings file. Usually when I'm swapping between > envs "settings.dev" "settings.prod" > > L. > > On 6 August 2014 09:44, Joel Goldstick <joel.goldst...@gmail.com> wrote: >> On Tue, Aug 5, 2014 at 7:15 PM, Lachlan Musicman <d

Re: urlconf problem

2014-08-05 Thread Joel Goldstick
tenttypes', 'django.contrib.sessions', 'django.contrib.messages', 'django.contrib.staticfiles', 'blog_app', ) I'm thinking its a typo. It actually worked before some unknown small change... > > On 6 August 2014 09:00, Joel Goldstick <joel.goldst...@gmail.com> wrote: >> I have this:

urlconf problem

2014-08-05 Thread Joel Goldstick
it. -- Joel Goldstick http://joelgoldstick.com -- 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 post to

Re: Python shell displays Segmentation Fault: 11 after upgrade to Mavericks OS

2013-10-26 Thread joel spencer
s/irking/working/ :) On Saturday, October 26, 2013 4:49:37 PM UTC+11, joel spencer wrote: > > i had this same problem after i upgraded my MBA to Mavericks. The > solution contained here works beautifully! > > The other thing that happened is that Mavericks completely wiped out a

Re: Python shell displays Segmentation Fault: 11 after upgrade to Mavericks OS

2013-10-26 Thread joel spencer
have a use a lot of libraries such as pymssql, ip-tools, cherrypy, json etc. Thanks for documenting this fix!!! -- Joel. On Friday, October 25, 2013 10:57:25 AM UTC+11, donarb wrote: > > > > On Thursday, October 24, 2013 2:34:13 PM UTC-7, Don Fox wrote: >> >> >>

Re: Django 1.5 & Python 2.7.3 - Not able to view pages

2013-03-19 Thread Joel Goldstick
@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Joel Goldstick http://joelgoldstick.com -- You received this message because you are subscribed to the Google Groups &qu

Re: url pattern correct but not working

2013-02-21 Thread Joel Goldstick
om. > To post to this group, send email to django-users@googlegroups.com. > Visit this group at http://groups.google.com/group/django-users?hl=en. > For more options, visit https://groups.google.com/groups/opt_out. > > > -- Joel Goldstick http://joelgoldstick.com -- You received this

Re: My page cound not load image, help!

2012-10-22 Thread Joel Goldstick
d not be loaded. Please help~ > Thank you~ > Because your image is not in the directory that your html file shows. Go to the django documentation and try to understand static files. > > Dae James -- Joel Goldstick -- You received this message bec

Re: Sub-arguments to arguments in management commands

2012-10-14 Thread Joel Goldstick
sers@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. > -- Joel Goldstick -- You received this message because you are sub

Re: Is there any small and easy website example available for Django?

2012-10-09 Thread Joel Goldstick
nd this or that aspect of how django works. Its well written. Just find newer articles on the web, and refer to djangodocs latest documentation as your bible for how things work now. -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "

Re: A simple LinkedIn site with django

2012-10-09 Thread Joel Goldstick
t to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- Joel Goldstick -- You received

Re: Why can't I activate the admin site?

2012-10-06 Thread Joel Goldstick
I visit http://127.0.0.1:8000/admin/ , welcome site >> > displayed instead of the admin site. >> > What's the matter, please ? I'm a new hand to django. >> > >> >> Can you show your urls? I expect the one for 'welcome site' matches >> the url for

Re: Bug with collapse fieldsets?

2012-10-05 Thread Joel Goldstick
t; > for subgroup of fields - http://i50.tinypic.com/140lvg5.png . As you can see > subgroup with 'None' and collapse turned on can't unhide cause there is just > line with no button :( Sorry for my poor language. > Can you use instead of None? -- Joel Goldstick -- You received this mes

Re: Newbie Looking for Starter Plugin

2012-10-05 Thread Joel Goldstick
(although its great for the developer), but for trusted staff so you don't have to re-invent all the stuff it does (CRUD) -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to djang

Re: How to separate data having the same model but belonging to different users?

2012-09-28 Thread Joel Goldstick
tions, visit this group at > http://groups.google.com/group/django-users?hl=en. I just came across the Section on Managers in the Django book (p 197 in the second edition) here online: http://www.djangobook.com/en/2.0/chapter10.html Search for the section on Managers. This would be an excel

Re: Regarding Template rendering

2012-09-27 Thread Joel Goldstick
a directory where you put your static files. From my settings file: (this is django 1.4) STATIC_ROOT = os.path.join(SITE_ROOT, 'static') # URL prefix for static files. # Example: "http://media.lawrence.com/static/; STATIC_URL = '/static/' # Additional locations of static files STATI

Re: save() got an unexpected keyword argument 'force_insert'

2012-09-24 Thread Joel Goldstick
t > http://groups.google.com/group/django-users?hl=en. This is the first google entry for your error message: https://code.djangoproject.com/ticket/8662 It looks like the docs were wrong, but they have been fixed. -- Joel Goldstick -- You received this message because you are subscribed to the Goog

Re: How to separate data having the same model but belonging to different users?

2012-09-21 Thread Joel Goldstick
y "userid" since one place we forget the >> filter in the code and there is an unauthorized data access. >> >> I will look into dynamic models though I am not sure if it is well >> supported. >> What about routing to different databases based on user id? >> &g

Re: How to separate data having the same model but belonging to different users?

2012-09-21 Thread Joel Goldstick
in user, I want to use the relevant table. What is >>> the cleanest way to achieve this with Django? >>> >>> If it is not possible to do this with tables I can think about different >>> databases one for each user with the same set of tables. Is it possible to

Re: django-admin.py startproject mysite... this command does nothing for me

2012-07-23 Thread Joel Goldstick
il to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post

Re: 404 message

2012-05-31 Thread Joel Goldstick
his 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. > -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" gr

Re: Django AJAX forms and views

2012-05-16 Thread Joel Khan
ole to see what the actual > response is that you're getting from the server when you perform the AJAX > request. > > Give those a shot and us know if you still need any help. Good luck! > > On Tue, May 15, 2012 at 7:00 PM, Joel Khan <us1...@gmail.com> wrote: > >> I h

Django AJAX forms and views

2012-05-15 Thread Joel Khan
I have a form that is used to add an item where 2 dropdowns are populated using different database than the database where the form will be submitted. I would like to add AJAX to the drop downs where selecting one item in the first drop down will auto populate data in the 2nd drop down using AJAX.

Re: Problemas con syncdb

2012-05-03 Thread Joel Goldstick
:/homes/user/mysite/sqlite3.db). So you should have a full path to the file, not just its name -- Joel Goldstick -- 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

Re: Short I hope explanation

2012-05-02 Thread Joel Goldstick
t cover Class based generic views. But it does walk you thru the individual pieces before it puts them together and then rolls into the shortcuts -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to thi

Re: Hello, everyone.I come from China.I like python,

2012-05-02 Thread Joel Goldstick
s group at >> http://groups.google.com/group/django-users?hl=en. > > > > > -- > > Gerald Klein DBA > > contac...@geraldklein.com > > www.geraldklein.com > > j...@zognet.com > > 708-599-0352 > > > Linux registered user #548580 > > &

Re: Import from local ftp server

2012-04-30 Thread Joel Goldstick
process-module You can just enter your ftp command as arguments subprocess.call(["ftp://username:password@hostname/path/to/files/*;]) I haven't tried it before, but give it a try -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django u

Re: restarting a django development server

2012-04-23 Thread Joel Goldstick
On Mon, Apr 23, 2012 at 9:16 AM, Joel Goldstick <joel.goldst...@gmail.com> wrote: > On Mon, Apr 23, 2012 at 6:10 AM, dummyman dummyman <tempo...@gmail.com> wrote: >> how to restart a django development server programmatically in python ? >> >> -- >>

Re: restarting a django development server

2012-04-23 Thread Joel Goldstick
To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. python manage.py runserver --

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Joel Goldstick
nsubscr...@googlegroups.com. >> For more options, visit this group at >> http://groups.google.com/group/django-users?hl=en. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this gro

Re: Developing first Django Site -- any advice on co-developing effectively with a professional?

2012-04-20 Thread Joel Goldstick
e you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at &g

Re: external css and javascript files

2012-04-17 Thread Joel Goldstick
On Tue, Apr 17, 2012 at 12:50 PM, dummyman dummyman <tempo...@gmail.com> wrote: > > Hi > > attached is the settings.py and i ve placed my css files in static directory > of the app and in templates i ve given the path > > {{ STATIC_URL }} path > > On Tue, Apr 17,

Re: external css and javascript files

2012-04-17 Thread Joel Goldstick
subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.g

Re: Can't display DateField on form with auto_now = True

2012-04-05 Thread Joel Goldstick
On Thu, Apr 5, 2012 at 1:27 PM, Joel Goldstick <joel.goldst...@gmail.com> wrote: > I have a model with auto_now, and auto_now_add set for Update and Create > fields: > class HotelProfiles(models.Model): >    fe_result_id = models.AutoField(primary_key=True) &g

Re: Where to load global static data?

2012-04-05 Thread Joel Goldstick
ooglegroups.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. > Why do you want it to be global? You can create an app or just put your data

Can't display DateField on form with auto_now = True

2012-04-05 Thread Joel Goldstick
= models.DateTimeField(verbose_name='Updated', blank=True, auto_now=True) In the Admin it displays both fields but leaves them uneditable. They don't seem to be passed to my form to be rendered. I don't want them to be editable, but I would like to display at the top of my form. How can I do this? -- Joel

Re: How to add audio to a Django based webpage?

2012-04-04 Thread Joel Goldstick
On Wed, Apr 4, 2012 at 3:50 PM, Homer wrote: > I tried to use command in my templates directly, but it seems it is > not working... Here is my code: > {% for item in ShowAudio %} >

Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Joel Goldstick
m trying to > do, let alone Django. > > On Mar 30, 12:32 am, Joel Goldstick <joel.goldst...@gmail.com> wrote: >> On Thu, Mar 29, 2012 at 7:13 AM, Hemebond <hemeb...@gmail.com> wrote: >> > What can I pass back to the edit form view that already contains the >

Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Joel Goldstick
On Thu, Mar 29, 2012 at 7:13 AM, Hemebond <hemeb...@gmail.com> wrote: > What can I pass back to the edit form view that already contains the > values and errors and how? Posting to the edit form view would work > but that would re-process the form. > > On Mar 30, 12:

Re: Can I POST edit form to detail view, and redirect back if invalid?

2012-03-29 Thread Joel Goldstick
; django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this

Re: sql for Many To Many Field in existing django model

2012-03-22 Thread Joel Goldstick
go-users@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. You can't add the many to many relationship after you already have th

Re: calculated form field

2012-03-19 Thread Joel Goldstick
) > return render_to_response('focus_areas.html', {'form' : form}) > > > html in template: >    >   >   {{ form.as_table }} >   >   >   > > > Any help ios much appreciated. What does your urls.py file look lik

Re: Django/Python version compatibility

2012-03-19 Thread Joel Goldstick
sion's way of setting up directories, so beware that third party tutorials will have to be tweeked with to get going in 1.4 -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to

Re: starting django

2012-03-19 Thread Joel Goldstick
then type help(django0) and look down through the information it shows. the version is near the bottom -- Joel Goldstick -- 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.co

Re: Djano if statement help

2012-03-16 Thread Joel Goldstick
ps.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. on top you check if EnableLogUpload = '1' Later on you check if it = 'Enabled' -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Dj

Re: Djano if statement help

2012-03-16 Thread Joel Goldstick
are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http:

Re: Add customize app filed to add user page

2012-03-16 Thread Joel Goldstick
go has a way to extend user information with User Profiles. Here is one of the first items that pops up on google: http://www.turnkeylinux.org/blog/django-profile If you are using v1.3 here is the section in the docs: https://docs.djangoproject.com/en/1.3/topics/auth/#storing-additional-information-ab

Re: Satchmo store as an app of a django project

2012-03-15 Thread Joel Goldstick
On Thu, Mar 15, 2012 at 4:59 PM, kooliah <kool...@djeve.sites.djangohosting.ch> wrote: > On 03/15/2012 09:22 PM, Joel Goldstick wrote: >> >> I had problems similar to you with my static files. First, I am >> assuming you are using v1.3 of Django?  V1.0 did this different

Re: Satchmo store as an app of a django project

2012-03-15 Thread Joel Goldstick
/admin/' # Additional locations of static files STATICFILES_DIRS = ( # Put strings here, like "/home/html/static" or "C:/www/django/static". # Always use forward slashes, even on Windows. # Don't forget to use absolute paths, not relative paths. os.path.join(PROJE

Re: extends base.html error

2012-03-15 Thread Joel Goldstick
nt out the {% TAG %}s? > > > On Mar 15, 2012, at 11:31 AM, Joel Goldstick wrote: > >> On Thu, Mar 15, 2012 at 10:39 AM, dpbklyn <dpbk...@gmail.com> wrote: >>> Hello and thank you in advance... >>> >>> In Django I have a child template that updates a base.h

Re: django admin login

2012-03-15 Thread Joel Goldstick
please notify the sender immediately by return e-mail, delete >>>>>>> this communication and destroy all copies. >>>>>>> >>>>>>> -- >>>>>>> You received this message because you are subscribed to the Google >&g

Re: extends base.html error

2012-03-15 Thread Joel Goldstick
, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > Can you post the exact first several lines of your templat

Re: coping source code templates

2012-03-15 Thread Joel Goldstick
jango-users@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. > The Django site tutorial shows how to do this: https://docs.djan

Re: mysql tables - primary key

2012-03-14 Thread Joel Goldstick
be 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. > I'm not sure I understand exactly what you are saying. You have a legacy table with no primary key? Did you create your

Re: Django making box

2012-03-13 Thread Joel Goldstick
worth the effort to get a handle on how the pieces of Django fit together. But the task you mentioned in your post sounds like a javascript project rather than something you would do on the server. If you are also new to programming in python and want to learn more about the language try the python-tutor

Re: problem with south and UTC

2012-03-12 Thread Joel Goldstick
(code, app, extra_imports) >   File "/usr/local/lib/python2.6/dist-packages/south/orm.py", line 236, in > eval_in_context >     return eval(code, globals(), fake_locals) >   File "", line 1 >     SouthFieldClass(default=datetime.datetime(2012, 3, 12, 3, 41, 14,

Re: output form html

2012-03-12 Thread Joel Goldstick
gt; To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > If you think you have fol

Re: built-in-views trouble

2012-03-12 Thread Joel Goldstick
be 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. Did you remember to put those login apps in your settings file under INSTALLED_APPS ? -- Joel Goldstick -- You

Re: overlay feature in django

2012-03-12 Thread Joel Goldstick
rom 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. > Try reading this: https://docs.djangoproject.com/en/dev/ref/templates/ There is a lot of information on template

Re: many2many error

2012-03-09 Thread Joel Goldstick
On Thu, Mar 8, 2012 at 3:42 PM, Joel Goldstick <joel.goldst...@gmail.com> wrote: > I got no answer from stack exchange.  Maybe someone here knows: > > Django v1.3 > > I have a CruiseOffer model related to a model called SpecialInterest. > I now realize that I have th

Re: output form html

2012-03-08 Thread Joel Goldstick
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. > Are you certain that you are using the right template? -- Joel Goldstick -- You re

many2many error

2012-03-08 Thread Joel Goldstick
lowercase. supplier = models.ForeignKey('CruiseSupplier') special_interest = models.ManyToManyField('SpecialInterest') def __unicode__(self): return "%6d %s" % (self.id, self.name,) -- Joel Goldstick -- You received this message because you are subscribed to the Goo

Re: Problem creating foreign key on a model created by inspectdb

2012-02-28 Thread Joel Goldstick
On Tue, Feb 28, 2012 at 3:24 PM, Joel Goldstick <joel.goldst...@gmail.com> wrote: > I have a legacy database from which I created a model called 'LandSupplier' > >    class LandSupplier(models.Model): >        landsupplierid = models.AutoField(primary_key=True, > db_c

Problem creating foreign key on a model created by inspectdb

2012-02-28 Thread Joel Goldstick
st'") It seems to take my fieldname, but not my table name. I'm wondering how to fix this. I could rename the table to 'land_landoffer' but that would mess up a lot of other code, and I would rather learn what I am doing wrong here -- Joel Goldstick -- You received this message becaus

Re: Foreign Key + Primary key

2012-02-08 Thread Joel Goldstick
elationship: https://docs.djangoproject.com/en/dev/topics/db/models/#one-to-one-relationships -- Joel Goldstick -- 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 un

Re: template error in html forms

2012-02-01 Thread Joel Goldstick
oogle >>> Groups "Django users" group. >>> To post to this group, send email to django-users@googlegroups.com. >>> To unsubscribe from this group, send email to >>> django-users+unsubscr...@googlegroups.com. >>> For more options, visit this group at >

Re: Django Admin completely empty

2012-02-01 Thread Joel Goldstick
gt; > Any more suggestions? This is really perplexing me. > > Sam > > On Jan 31, 2:42 pm, Joel Goldstick <joel.goldst...@gmail.com> wrote: >> On Jan 30, 5:14 pm, darwin_tech <cronnelocto...@gmail.com> wrote: >> >> >> >> >> >> >&g

Re: Django Admin completely empty

2012-01-31 Thread Joel Goldstick
On Jan 30, 5:14 pm, darwin_tech wrote: > hmmm. I am the superuser, but I went ahead and tried the createuser > command to make another. Still the same in the admin. No models or > user/privilege options. The strange thing is there are boxes where you > would expect

Re: admin login fails

2011-04-19 Thread Joel Goldstick
t; django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > Have you checked your caps-lock setting on your keyboard? -- Joel Goldstick -- You received this message because you are subscribed to the

Re: how to find if a record changed

2011-04-17 Thread Joel Goldstick
t; -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For mo

Re: base.html (extended by others) has to be in project (not app) root?

2011-04-15 Thread Joel Goldstick
up, send email to > > django-users+unsubscr...@googlegroups.com. > > For more options, visit this group at > > http://groups.google.com/group/django-users?hl=en. > > > > -- > You received this message because you are subscribed to the Google Groups > "Django u

Re: Method to restrict user to certain records

2011-04-14 Thread Joel Goldstick
l model so that I know whose data to populate the form with. > -- > Gladys > http://blog.bixly.com > > > On Apr 15, 1:49 am, Joel Goldstick <joel.goldst...@gmail.com> wrote: > > I'm new to Django. I've done the djangoproject tutorial and some others, &g

Method to restrict user to certain records

2011-04-14 Thread Joel Goldstick
a field to the user model, then select the correct form to show for editing based on that field when the user logs in. Am I thinking correctly? If so, how do I add to the user model? -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django

Re: simple friends template help

2011-03-28 Thread Joel Goldstick
> "Django users" group. > To post to this group, send email to django-users@googlegroups.com. > To unsubscribe from this group, send email to > django-users+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en.

Re: Posted Screen Text Field Manipulation

2011-03-18 Thread Joel Goldstick
jquery) and show only the first field. When the user leaves the field and if it isn't blank, unhide the second field. Or in clean, if first is blank, copy second to first, third to second, then empty third. -- Joel Goldstick -- You received this message because you are subscribed to the Google Group

Re: "DatabaseError: no such table:" in tests

2011-03-07 Thread Joel Goldstick
; "/home/diogo/Envs/danielbaeder/lib/python2.6/site-packages/django/db/backen > ds/sqlite3/base.py", > > line 234, in execute > > return Database.Cursor.execute(self, query, params) > > DatabaseError: no such table: gear_togopage > > > > Any ideas? Shoul

Re: python mysqldb installation problem

2011-02-28 Thread Joel Goldstick
ers+unsubscr...@googlegroups.com. > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > Have you created access to mysql with the username and password in your settings file? You need to do this in mysql I believe -- Joel Goldstick -- Yo

Re: conditional fields

2011-02-10 Thread Joel Goldstick
the server. For this people use AJAX. You need to use the change in a form field to send a message to the server (javascript) which will wait until the server sends back new data which you then use to repopulate your form. -- Joel Goldstick -- You received this message because you are subscribed t

Re: Calling out for Help!

2011-02-09 Thread Joel Goldstick
ore options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > As far as getting errors on the development server, you need to look in settings.py. The values in this file will be different for development than for the production machine. Find the development

Re: Calling out for Help!

2011-02-09 Thread Joel Goldstick
t' be 2 or 3 times different. That could get you from 2 hours to 1/2 hour. The amount of memory available might also be larger, and that would help. But wouldn't you be better off reviewing the model that creates the report? Have you run that report on the local development server? If you haven't, I'd s

Re: Filtering List based on a custom dropdown

2011-02-07 Thread Joel Goldstick
> This topic has come up recently under different specifics. When you change your filter (by selecting a specific class) you need to requery with that condition. This can be done by submitting the form to get a new dataset, or by using AJAX style to have the data retrieved on the fly to repopu

Re: Is there any way to get the ip address of the user in the post_save signal?

2011-02-07 Thread Joel Goldstick
st object: http://docs.djangoproject.com/en/dev/ref/request-response/#quick-overview -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To uns

Re: model names

2011-02-06 Thread Joel Goldstick
ass Meta, like so: class Ox(models.Model): horn_length = models.IntegerField() class Meta: ordering = ["horn_length"] verbose_name_plural = "oxen" -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "

Re: Django Admin select boxes

2011-01-31 Thread Joel Goldstick
> I just ran across this article from a delicious feed: Its a little tutorial about using Django and ajax to do just what you are asking. http://www.nerdydork.com/dynamic-filtered-drop-down-choice-fields-with-django.html -- Joel Goldstick -- You received this message because you are subscribed

Re: Django - Verfication of runserver vs browser

2011-01-24 Thread Joel Goldstick
works!' along with some other instructions. If you get that far, you know that you can create a django project and you know that the steps you are using to see it in your browser (all in your debian environment) are correct. Doing this exercise might help you discover if you have misstepped some

Re: Expert help needed --LINUX on virtualBox using Windows 7 machine

2011-01-21 Thread Joel Goldstick
tions, visit this group at > http://groups.google.com/group/django-users?hl=en. > > While I am sure we can all sympathize with confronting a technical problem that we don't understand, this OP has the flavor of trolling perhaps. At any rate this is the wrong list for these pleadings. I don

Re: Need help with Django tutorial

2011-01-16 Thread Joel Goldstick
; > So, I looked over at stackoverflow, and in the end you say you fixed your problem. What did you find that caused it? -- Joel Goldstick -- 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: django cms without django admin

2011-01-10 Thread Joel Goldstick
gt; http://groups.google.com/group/django-users?hl=en. > admin is turned off by default. You need to uncomment several things to even have it work. -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
ration/auth_views.py exists for something, not? 2010/10/7 Joel Klabo <joelkl...@gmail.com> > Awesome, that fixed it. All I had to do was change "from registration > import auth_views" to "from django.contrib.auth import views as auth_views" > > Thank you so muc

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
lso bears mentioning that name spacing registration can cause a > similar set of errors. > > Let me know if that worked, > Ted > > On Oct 7, 10:59 am, Joel Klabo <joelkl...@gmail.com> wrote: > > I am just using it as is. I haven't modified any of the code from >

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
s version), sounds > like you writing custom admin views? Or you just copied admin/views.py > locally? > > You already tried to resolve via name of url? > Else, if you writing custom admin views, isn't right to reference this > custom views? > > (anyway, tonight I'll check t

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
Also, all my code is on Github if you would like to see something else: http://github.com/joelklabo/brooski I really appreciate your help, thank you. On Thu, Oct 7, 2010 at 9:43 AM, Joel Klabo <joelkl...@gmail.com> wrote: > My version is: VERSION = (0, 8, 0, 'alpha', 1) > &g

Re: Django Registration password reset problem

2010-10-07 Thread Joel Klabo
). > > Take a look at this line: http://1l.to/bf1/ ... so you don't need to add > it (again) to your urls. > > I don't have this error with password_reset_complete view , but I'm using > my clone of original repo with some useful patches (additions). What is > version that you are

Re: Django Registration password reset problem

2010-10-06 Thread Joel Klabo
e: > I just took a cursory look at this but did you make sure to add > something like the following to your urlpatterns in urls.py? > > urlpatterns=patterns('', >     ... >     (r'^accounts/', include('django.contrib.auth.urls')), >     ... > ) > > > > > > On

Re: Django Registration password reset problem

2010-10-06 Thread Joel Klabo
So now I am redirecting to the named url in the URL conf. That is now giving me the error: The included urlconf registration.auth_urls doesn't have any patterns in it ... http://dpaste.org/OOw5/ any ideas would be greatly appreciated On Oct 5, 5:56 pm, Joel Klabo <joelkl...@gmail.com> wrote

Re: Django Registration password reset problem

2010-10-05 Thread Joel Klabo
the ones that come with django- registration... Here is the view where the error first pops up, this is where post_reset_redirect is as well: http://dpaste.org/gatU/ Thanks for your time On Oct 5, 1:56 pm, Steve Holden <holden...@gmail.com> wrote: > On 10/5/2010 4:45 PM, Joel Klabo wro

Re: Django Registration password reset problem

2010-10-05 Thread Joel Klabo
Need to bump this, sorry. I don't get it. On Oct 5, 1:04 pm, Joel Klabo <joelkl...@gmail.com> wrote: > This is the error and location of the problem:http://gist.github.com/612210, > I can't see what it's looking for. It seems like I could hard code the > arguments it wants i

Django Registration password reset problem

2010-10-05 Thread Joel Klabo
This is the error and location of the problem: http://gist.github.com/612210, I can't see what it's looking for. It seems like I could hard code the arguments it wants into the reverse() but that doesn't seem like the correct way to do it. Any advice? -- You received this message because you are

Re: Image Upload question

2010-09-23 Thread Joel Klabo
The problem was no PIL and libjpeg... On Sep 23, 2:43 pm, Joel Klabo <joelkl...@gmail.com> wrote: > from the django docs: > > inherits all attributes and methods from FileField, but also validates > that the uploaded object is a VALID IMAGE. > > what does valid image mean

<    1   2   3   4   >