Re: Erro em uma consulta Sqlite3

2022-08-04 Thread Joel Goldstick
g emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/bb9c8102-c7d8-4ec3-9fed-5e78aa84b13en%40googlegroups.com. -- Joel Goldstick -- You received this message because

Re: upgrading from 1.11 and ran into builtin permission clash

2022-07-01 Thread Joel Goldstick
on. But, I am wondering why you are upgrading to a very out of date version of Django that is no longer supported. I think 3.2 is the oldest supported version. Why not upgrade to 4? -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django users

Re: how to convert xlsx file into jpg

2022-06-10 Thread Joel Goldstick
o django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKVvSDCVVXhsagbGdmant-0-BONrXp8zu0jh5303O1%2BVOMu9Sw%40mail.gmail.com. Just print it to a pdf file. There are lots of free apps to convert to jpg. Google that -- Joel

Re: hcaptcha module implementation with django.

2022-02-26 Thread Joel Goldstick
groups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/CAKMTbHVZZwBX8BvCm8B_OZUKUh%2Br8yS%3DGfM5t-M016M1HjQ%3DTg%40mail.gmail.com. -- Joel Goldstick -- You received this message because you are subscribed to the Google Groups "Django user

Re: Django Tutorial Part 3 Error for Django 3.1

2021-03-16 Thread Joel Goldstick
Kig%2BdrHMuHQfUNng%40mail.gmail.com > <https://groups.google.com/d/msgid/django-users/CAOPBWLc8Af0TtufUiV08m9djKhaodzWW35Kig%2BdrHMuHQfUNng%40mail.gmail.com?utm_medium=email_source=footer> > . > You haven't entered any url patterns in urls.py -- Joel Goldstick http://joelgoldstick.

Re: django adding element to list

2020-11-12 Thread Joel Goldstick
emails from it, send an > email to django-users+unsubscr...@googlegroups.com. > To view this discussion on the web visit > https://groups.google.com/d/msgid/django-users/a603090f-676e-4608-83f5-ed3f85995dd0n%40googlegroups.com. -- Joel Goldstick http://joelgoldstick.com/blog http://c

Re: python / django demand

2015-04-23 Thread Joel Goldstick
ated in the south west USA so thats my direct market area. >>> >>> >>> >>> any comments appreciated. >>> >>> Thanks. >>> I'm in New York City. I've seen a great rise in python/django job postings here in the past 5 years -- Joel Goldstick http

Re: Modify Installed_Apps settings

2015-02-18 Thread Joel Goldstick
orce the TestCase class to apply the migration file > override/migrations/0001_initial.py to the test database? > > Thanks, > Andrew > > -- In the book "Two Scoops of Django" there is a section about setting up different settings files. That may help you out http://twosco

Re: Trying out django your first app.

2015-01-01 Thread Joel Goldstick
aceback in your message. What steps exactly did you do to get this message? What was the last successful part of the tutorial that you were able to perform? -- Joel Goldstick http://joelgoldstick.com -- You received this message because you are subscribed to the Google Groups "Django users&

Re: Retrieving other fields along with ValueQueryset

2014-11-02 Thread Joel Goldstick
Using v1.6 On Sun, Nov 2, 2014 at 2:18 PM, Joel Goldstick <joel.goldst...@gmail.com> wrote: > I have a model with a year field and a score field, as well as other > fields. I want to get the highest score for each year. I can do that > with this: > > Batting.objects.va

Retrieving other fields along with ValueQueryset

2014-11-02 Thread Joel Goldstick
. The name is in a table that is linked by a foreign key. My results contain only the year and the Max value. How can I get the name in my queryset but still group by year only? -- Joel Goldstick http://joelgoldstick.com -- You received this message because you are subscribed to the Google Groups

Can I use a calculated value for a key to a dictionary?

2014-09-18 Thread Joel Goldstick
': [, , , , , ], u'ALE': [, , , , , ], 'divisions': [u'E', u'W']} -- 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, sen

problem importing blank date using https://github.com/edcrewe/django-csvimport

2014-08-27 Thread Joel Goldstick
ithub page making me think this should work for me, but it doesn't Any ideas? -- 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 fr

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: 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: 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