Django bases blog solutions

2010-02-04 Thread Joel Stransky
g installs go a la wordpress. Any input is appreciated. -- --Joel Stransky stranskydesign.com -- 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

Re: Django bases blog solutions

2010-02-04 Thread Joel Stransky
: > > On Feb 4, 2010, at 10:02 AM, Joel Stransky wrote: > > > Hi all, > > I'm brand new to Django/Python but not software development. I just to > say hi and ask for your understanding on my newbish questions. > > I realize Django, when used correctly makes it stupidl

strip html tags

2010-02-15 Thread Joel Stransky
I have a piece of data coming back from a model that is wrapped in tags. How do I remove these in the template? For instance I have something like: {{ data.from.model }} and it will render like this *some text from the model* -- --Joel Stransky stranskydesign.com -- You received this

Re: strip html tags

2010-02-15 Thread Joel Stransky
nm, found it. :) just data.from.model|striptags. How cool. On Mon, Feb 15, 2010 at 9:16 PM, Joel Stransky wrote: > I have a piece of data coming back from a model that is wrapped in > tags. How do I remove these in the template? > > For instance I have something like: > {{

django template blocks and jquery

2010-02-16 Thread Joel Stransky
r(function() { /* do stuff */ }); {% endblock jquery %} How do I achieve something to that effect? -- --Joel Stransky stranskydesign.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django

Re: django template blocks and jquery

2010-02-16 Thread Joel Stransky
gt; }); > {% block additional_js }%}{% endblock %} > > > child template that extends base template: > > {% block additional_domready %} > function3() { ... } > {% endblock %} > > {% block additional_js %} > //js that runs outside of document.ready > {% endblock %

custom template tags used in an included template

2010-02-16 Thread Joel Stransky
ck to making the tag global or pointing to the base from my included template when using the tag? Thanks. -- --Joel Stransky stranskydesign.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send ema

Re: custom template tags used in an included template

2010-02-16 Thread Joel Stransky
Sorry, I meant custom filters, myModel.image|my_media_path On Tue, Feb 16, 2010 at 4:57 PM, Joel Stransky wrote: > I have a base.html template which includes a mainContent.html template. > mainContent reads a relative image path from the model passed to it but has > a custom template

Re: custom template tags used in an included template

2010-02-17 Thread Joel Stransky
Good to know. Thanks. On Wed, Feb 17, 2010 at 3:44 AM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > On Feb 16, 10:57 pm, Joel Stransky wrote: > > The problem is that if I load the tag inside base via {% load > my_custom_tag > > %} it breaks but if I

Re: django template blocks and jquery

2010-02-17 Thread Joel Stransky
Ok thanks. I never actually tried it, just assumed it wouldn't work. I'll give it a shot next time I run into this. On Wed, Feb 17, 2010 at 3:49 AM, bruno desthuilliers < bruno.desthuilli...@gmail.com> wrote: > > > On Feb 16, 10:50 pm, Joel Stransky wrote: > >

what is the name of your super class?

2010-02-19 Thread Joel Stransky
know if there is a method that would work to the effect of: b = superclassname(c) which would return MySuperClass Thanks. -- --Joel Stransky stranskydesign.com -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group

fixtures getting created with terminal message prefixed

2010-02-26 Thread Joel Stransky
: manage.py dumpdata > path/to/my/fixtures/myFixture.json I have to open the file and delete that text before I can run: manage.py loaddata myFixture. Anything I can do to prevent that text from getting saved into my fixture? Thanks. -- --Joel Stransky stranskydesign.com -- You received t

Re: PyAMF nogo, try DjangoAMF

2008-01-06 Thread Joel Hooks
There was a couple bugs in pyAMF that they have squished as of yesterday. Great guys. http://joelhooks.com/?p=5 I'm still using the S2Flex2 RemotingService, but just because it works. On Jan 5, 8:56 am, akaihola <[EMAIL PROTECTED]> wrote: > DjangoAMF almost worked for us except for two problems

Re: Overwriting the delete() Method in a Model

2008-06-17 Thread Joel Bernstein
The main issue here is that there are two types of batch deletes in Django: 1. You can query for the models you want to delete, loop through the queryset, and delete them each individually. Your custom delete methods (if any) will get called, and you'll get pre_delete and post_delete signals. Tha

Re: Overwriting the delete() Method in a Model

2008-06-17 Thread Joel Bernstein
My fault, I must have skipped right over that part. It seems that it *does* send pre_delete and post_delete signals, but does not call custom delete methods On Jun 17, 9:51 am, Daniel Hepper <[EMAIL PROTECTED]> wrote: > > It isn't very clear from that sentence which of the two methods Django > >

Re: iterate over alphabet in template

2008-06-17 Thread Joel Bernstein
For an easy (but locale-dependent) way to get a list of the uppercase characters in Python, try string.uppercase http://www.python.org/doc/2.3/lib/module-string.html Just add that list to your context, and you should be ready to go. On Jun 17, 12:03 pm, "Richard Dahl" <[EMAIL PROTECTED]> wrote:

Re: Dictionaries, templates and best practices

2008-06-17 Thread Joel Bernstein
I could be completely mistaken, but can't you replace 'post.0.title' and 'post.0.post' with 'x.title' and 'x.post', respectively? On Jun 17, 1:50 pm, "Juan Hernandez" <[EMAIL PROTECTED]> wrote: > Hey there > > I've been practicing for a while with the template system and I have some > questions:

Re: Media variables confusion

2008-06-17 Thread Joel Bernstein
Generally, Django could not care less where you put most of your static media files. There are two main exceptions, though: 1. Django needs to know the URL to the media files for its admin application (ADMIN_MEDIA_PREFIX) 2. Django needs to know where in the server's filesystem it should put newl

Re: Dictionaries, templates and best practices

2008-06-17 Thread Joel Bernstein
le': 'My First Title'}, 1: {'post': 'My > Second Post', 'title': 'My Second Title'}} > > and it goes on and on > > If I could iterate over it, like post.0.title, then post.1.title and so > forth, it would be perfect > > Thank

Re: Multiple fields without manytomanyfield?

2008-06-25 Thread Joel Bernstein
I don't suppose a CommaSeparatedIntegerField would work, would it? You'd lose some querying options that you'd have with a foreign key relationship, but that may not be important to you. On Jun 25, 10:37 am, Xan <[EMAIL PROTECTED]> wrote: > sorry models.list(integer, max=unlimited) > > On Jun 25

Re: No module named managers

2007-06-04 Thread Joel Watts
site -- problem solved. http://code.google.com/p/django-tagging/ -Joel On Jun 3, 10:00 pm, akonsu <[EMAIL PROTECTED]> wrote: > hello, > > this problem repro's even on an empty application freshly created > using manage.py. i do think that someone forgot to add a f

Search returns every object

2007-10-27 Thread Joel Hooks
It doesn't seem to matter what I put in the search_fields, it always returns every object in the list. My guess is that I am doing something incorrectly, but I can't figure it out after much searching. Would anybody have an idea as to what I am doing wrong? --~--~-~--~~~-

Re: Search returns every object

2007-10-27 Thread Joel Hooks
> > It's rather hard to speculate without some specifics. search_fields > worksforme just fine. What's your model look like? What are you putting in > search_fields? What do you enter in the search box and what entries are > returned that seem like they should not be there? > > Karen Below is

Re: Search returns every object

2007-10-27 Thread Joel Hooks
> if you are searching on foreignkey field called city, it will not > work if you put 'city' in the search field, you have to put 'city__name' > That's cool, that answers a totally different question I was wrestling with, but I am searching the local properties and not returning any results. --

Re: Search returns every object

2007-10-27 Thread Joel Hooks
On Oct 27, 10:57 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On 10/27/07, Joel Hooks <[EMAIL PROTECTED]> wrote: > > But firm is a ForeignKey. I think firm, by itself, without any __fieldname > appended, is causing the whole search attempt to fail. The e=1 i

Strip Illegal Characters - Django Admin

2007-11-15 Thread Joel Hooks
n the Django admin change form to be whatever kind of box this is as to disallow users from breaking the system with bad characters? Alternatively, can I strip the bad characters somehow when they hit save? Best regards, Joel --~--~-~--~~~---~--~~ You received this me

Re: Is there a HTML table widget for Django?

2007-12-19 Thread Joel Bernstein
I've always wanted a widget like that to replace the current many-to- many selection widgets with a simple list of checkboxes. On Dec 19, 10:15 am, Jonathan Buchanan <[EMAIL PROTECTED]> wrote: > shabda wrote: > > Is there a widget which can generate HTML tables from within django? > > > My requir

Re: Automatic subdomain for each user

2021-12-30 Thread Joel Tanko
Check out the django-hosts package, the docs are pretty explanatory and easy to use. You'd also want to add '.yourdomain' to the allowed_hosts list and it doesn't work with '127.0.0.1' as its harder for if to figure out the sub-domain, if you want to use it on your development server use localhost,

Re: Not sure if I am doing django-paypal correctly

2021-12-30 Thread Joel Tanko
The code is really simple to implement, but I don't think the explanation was intuitive enough. You would need to create a signal like so #hooks.py from django.dispatch import Signal success_signal = Signal(providing_args=[]) #views.py from .hooks import success_signal ... # after payment succ

Re: Allow scroll on jQuery fancy Table

2021-12-30 Thread Joel Tanko
A simple tweak I would use is to find the elements id using DEV tools and set the element{ overflow: auto } using css On Wed, Dec 8, 2021, 1:10 PM Eugene TUYIZERE wrote: > Dear Team, > > I am using jquery fancyTable in the django app but I searched everywhere > and I did not find how to allow t

Re: hcaptcha module implementation with django.

2022-02-26 Thread Joel Goldstick
...@googlegroups.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 "D

Re: How to create dynamic models in django??

2022-03-14 Thread Joel Tanko
If I understand correctly you're trying to give the user the power to create tables from the front end by saving his params to the database and using that data to create a table in another or the same database, I tried doing the same with forms here's a tweak, hope it's what you're looking for or

Re: How to add object to users unique list?

2022-03-14 Thread Joel Tanko
What do you mean by click of a button? Are you using Ajax or a frontend framework? You most likely aren't handling the post request on the view that's supposed to add the anime to the user's list On Tue, Mar 1, 2022, 10:20 AM raf sandwich Hi Antonis, > > Yes I saw that stackoverflow post also,

Re: Django, Docker & SaaS Multi-Tenant Architecture

2022-03-14 Thread Joel Tanko
This is a micro service issue, you should use webhooks to notify your main Django app with the one you're building, that way you'll know when something happens and can handle that event. On Sun, Mar 6, 2022, 4:24 PM 炉边史话 great job! > > 在2022年1月15日星期六 UTC+8 00:56:12 写道: > >> >> A official discord

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: upgrading from 1.11 and ran into builtin permission clash

2022-07-01 Thread Joel Goldstick
orry, I can't answer your question. 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

Re: Erro em uma consulta Sqlite3

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

Re: Django app deployment on Heroku

2022-09-18 Thread Joel Wembo
Seem like to get to have root certificate from your computer On Friday, September 16, 2022 at 5:29:55 PM UTC+8 shodza...@gmail.com wrote: > Good day. > > l need help on how to deploy my django project on Heroku > > l am getting the below error when l push heroku master > > Processing > /C:/Windo

Re: Digest for django-users@googlegroups.com - 22 updates in 10 topics

2022-09-18 Thread Joel Wembo
Where do you want to deploy it ? aws, gcp or azure ? are you using docker and kubernetes ? On Sunday, September 18, 2022 at 3:54:50 AM UTC+8 kouamou@gmail.com wrote: > hello how to deploy django project > > 2022-09-17 14:01 UTC+01:00, django...@googlegroups.com > : > > > =

Re: makemigrations

2022-09-19 Thread Joel Wembo
Django can't add a new field by itself without null values being allowed here, especially when you have unique=True set on this field. To solve that issue, you have to perform it in steps: 1. Add a column with null=True or without unique=True and with some default value 2. Make sure th

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 apps/models top be, but they a

Re: Django Admin completely empty

2012-02-01 Thread Joel Goldstick
is really perplexing me. > > Sam > > On Jan 31, 2:42 pm, Joel Goldstick wrote: >> On Jan 30, 5:14 pm, darwin_tech wrote: >> >> >> >> >> >> >> >> >> >> > hmmm. I am the superuser, but I went ahead and tried the createuse

Re: template error in html forms

2012-02-01 Thread Joel Goldstick
ade <http://twitter.com/yati_itay> >>> >>> (@yati_itay <http://twitter.com/yati_itay>) >>> >>> >>> -- >>> You received this message because you are subscribed to the Google >>> Groups "Django users" group. >>

Re: Foreign Key + Primary key

2012-02-08 Thread Joel Goldstick
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 unsubscribe from this

Problem creating foreign key on a model created by inspectdb

2012-02-28 Thread Joel Goldstick
;Unknown column 'land_landoffer.landsupplierid' in 'field list'") 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 rathe

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 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_column='LandSupplierId

many2many error

2012-03-08 Thread Joel Goldstick
Field name made 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 be

Re: output form html

2012-03-08 Thread Joel Goldstick
o 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 received this m

Re: many2many error

2012-03-09 Thread Joel Goldstick
On Thu, Mar 8, 2012 at 3:42 PM, Joel Goldstick 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 the same exact thing going on in my

Re: overlay feature in django

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

Re: built-in-views trouble

2012-03-12 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. Did you remember to put those lo

Re: output form html

2012-03-12 Thread Joel Goldstick
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 followed the documentation, y

Re: problem with south and UTC

2012-03-12 Thread Joel Goldstick
a_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, > 974152, tzinfo=

Re: Django making box

2012-03-13 Thread Joel Goldstick
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 mailing list -- Joel Goldstick -- Y

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

Re: coping source code templates

2012-03-15 Thread Joel Goldstick
om. > 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.djangoproject.com/en/dev/intro/tu

Re: extends base.html error

2012-03-15 Thread Joel Goldstick
ups.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 template? Do you repeat the {% ext

Re: django admin login

2012-03-15 Thread Joel Goldstick
> intended >>>>>>> recipient, please notify the sender immediately by return e-mail, delete >>>>>>> this communication and destroy all copies. >>>>>>> >>>>>>> -- >>>>>>> You received this me

Re: extends base.html error

2012-03-15 Thread Joel Goldstick
> On Mar 15, 2012, at 11:31 AM, Joel Goldstick wrote: > >> On Thu, Mar 15, 2012 at 10:39 AM, dpbklyn wrote: >>> Hello and thank you in advance... >>> >>> In Django I have a child template that updates a base.html template. I >>> keep getting an error

Re: Satchmo store as an app of a django project

2012-03-15 Thread Joel Goldstick
DIA_PREFIX = '/static/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,

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 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 differently >> >> Below is a snippet fro

Re: Add customize app filed to add user page

2012-03-16 Thread Joel Goldstick
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-about-users Apparently thi

Re: Djano if statement help

2012-03-16 Thread Joel Goldstick
"Enabled"  %} Enabled  {% else %} Disabled {% endif > %} > > This always prints out 'Disabled' even when the EnableLogUpload is > "Enabled". > > Am I doing something incorrect?? > Try printing the value before you do the test to see if it is wha

Re: Djano if statement help

2012-03-16 Thread Joel Goldstick
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 "Djan

Re: starting django

2012-03-19 Thread Joel Goldstick
go0) 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.com. To unsubscrib

Re: Django/Python version compatibility

2012-03-19 Thread Joel Goldstick
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 django-users@goo

Re: calculated form field

2012-03-19 Thread Joel Goldstick
ital' : 1000, tax_rate : .07} >    ) > return render_to_response('focus_areas.html', {'form' : form}) > > > html in template: >    >   >   {{ form.as_table }} >   &g

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

2012-03-22 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. You can't add the many to many relationship after you already have the model with django.

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

2012-03-29 Thread Joel Goldstick
ooglegroups.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 group, send email to django-

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 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:06 am, Joel Goldstick wrote: &g

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

2012-03-29 Thread Joel Goldstick
> do, let alone Django. > > On Mar 30, 12:32 am, Joel Goldstick wrote: >> On Thu, Mar 29, 2012 at 7:13 AM, Hemebond 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

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

2012-04-04 Thread Joel Goldstick
p, 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" group.

Can't display DateField on form with auto_now = True

2012-04-05 Thread Joel Goldstick
dated_date = 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 for

Re: Where to load global static data?

2012-04-05 Thread Joel Goldstick
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 in one of your apps and import it to the other apps t

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 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) >    fe_created_date = models.DateTimeField(verbos

Re: external css and javascript files

2012-04-17 Thread Joel Goldstick
d 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. It will be easier to help you if you post your settings.py

Re: external css and javascript files

2012-04-17 Thread Joel Goldstick
On Tue, Apr 17, 2012 at 12:50 PM, dummyman dummyman 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, 2012 at 10:13 PM, Joel G

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

2012-04-20 Thread Joel Goldstick
ibited. If you received this in error > please contact the sender immediately by return electronic transmission and > then immediately delete this transmission including all attachments without > copying distributing or disclosing same. > -- > You received this message because you are sub

Re: New to Jdango - What IDE to use?

2012-04-23 Thread Joel Goldstick
, 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 group, send email to django-users@googlegroups.com. > To unsubs

Re: restarting a django development server

2012-04-23 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. python manage.py runserver -- Joel Goldstick -- Y

Re: restarting a django development server

2012-04-23 Thread Joel Goldstick
On Mon, Apr 23, 2012 at 9:16 AM, Joel Goldstick wrote: > On Mon, Apr 23, 2012 at 6:10 AM, dummyman dummyman wrote: >> how to restart a django development server programmatically in python ? >> >> -- >> You received this message because you are subscribed to the Goo

Re: Import from local ftp server

2012-04-30 Thread Joel Goldstick
t 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 users" group.

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

2012-05-02 Thread Joel Goldstick
> > > > > -- > > Gerald Klein DBA > > contac...@geraldklein.com > > www.geraldklein.com > > j...@zognet.com > > 708-599-0352 > > > Linux registered user #548580 > > > > -- > You received this message because you a

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 this grou

Re: Problemas con syncdb

2012-05-03 Thread Joel Goldstick
er/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 unsubscr

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: Django AJAX forms and views

2012-05-16 Thread Joel Khan
t 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 wrote: > >> I have a form that is used to add an

Re: 404 message

2012-05-31 Thread Joel Goldstick
ango-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 g

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

2012-07-23 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 group

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

2012-09-21 Thread Joel Goldstick
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 >>> do the same with multiple databases? >>> >>> Thanks

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

2012-09-21 Thread Joel Goldstick
> 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? >> >> Thanks >> Rohit Banga >> http://iamr

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

2012-09-24 Thread Joel Goldstick
/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 Google Gro

Re: Regarding Template rendering

2012-09-27 Thread Joel Goldstick
> button > > > > > > > > > > > > You need to put your javascript file in 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

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

2012-09-28 Thread Joel Goldstick
ps > "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-us

Re: Newbie Looking for Starter Plugin

2012-10-05 Thread Joel Goldstick
r (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

Re: Bug with collapse fieldsets?

2012-10-05 Thread Joel Goldstick
ic.com/b88pxg.png and second is when i use name "Example" > 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 langua

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

2012-10-06 Thread Joel Goldstick
. >> > >> > After all this, when 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

Re: A simple LinkedIn site with django

2012-10-09 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. -- Joel Goldstick -- You

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

2012-10-09 Thread Joel Goldstick
generic view functions are deprecated in favor of generic class views. So, if you are using 1.4 and following along with the book there will be disconnects. However, I find I keep going back to the book to understand this or that aspect of how django works. Its well written. Just find newer a

Re: Sub-arguments to arguments in management commands

2012-10-14 Thread Joel Goldstick
egroups.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 subscribed to the Google

<    1   2   3   4   >