Re: Internship and job in python and Django related

2023-07-21 Thread Emmanuel Seth
Svp parlez en français 🙏🙏🙏 Le ven. 21 juil. 2023 à 15:14, Opeyemi Ajayi < opeyemichristiana.aj...@gmail.com> a écrit : > I am Christiana Ajayi from Nigeria, but I am currently based in Rwanda and > Nigeria. I have just concluded development of a realtime dashboard using > Django, Reactjs, HTML,

Plugging in Require.js

2015-09-09 Thread Christos Jonathan Seth Hayward
I asked how to plug in Require.js at: http://stackoverflow.com/questions/32483810/how-do-i-think-and-act-in-require-js-if-i-have-a-script-src-background-a ​What should I be doing, and what packages should I be using, to be able to use Require.js? Thanks,​ -- [image: Christos Jonathan Seth

django-ckeditor noop?

2014-12-05 Thread Christos Jonathan Seth Hayward
At http://stackoverflow.com/questions/27321396/how-can-i-get-my-django-ckeditor-installation-to-recognize I asked what I could do to get a RichTextField() to be displayed with a CKeditor widget. Any advice for what I should change? Thanks, -- [image: Christos Jonathan Seth Hayward] <h

Re: How do I supply an appropriate application.wsgi to Gunicorn?

2014-11-24 Thread Christos Jonathan Seth Hayward
And with that, I'm off and running! Thank you for your help. On Mon, Nov 24, 2014 at 4:05 PM, Carl Meyer wrote: > On 11/24/2014 03:00 PM, Carl Meyer wrote: > > On 11/24/2014 02:56 PM, Christos Jonathan Seth Hayward wrote: > >> Thanks so much! > >> >

Re: How do I supply an appropriate application.wsgi to Gunicorn?

2014-11-24 Thread Christos Jonathan Seth Hayward
On 11/24/2014 02:38 PM, Christos Jonathan Seth Hayward wrote: > > Ok; wonder if I should upgrade Django. > > > > I just ran a startproject earlier today (I can re-create it; I was just > > trying to get it running and see the start page in my browser before > going

Re: How do I supply an appropriate application.wsgi to Gunicorn?

2014-11-24 Thread Christos Jonathan Seth Hayward
x27;shortcuts', 'template', 'templatetags', 'test', 'utils', 'views'] >>> django.VERSION (1, 6, 5, 'final', 0) >>> ​Further suggestions? Thanks, On Mon, Nov 24, 2014 at 3:24 PM, Carl Meyer wrote: &

How do I supply an appropriate application.wsgi to Gunicorn?

2014-11-24 Thread Christos Jonathan Seth Hayward
-- [image: Christos Jonathan Seth Hayward] <http://jonathanscorner.com/> Christos Jonathan Seth Hayward, an Orthodox Christian author. Amazon / Kindle <http://amazon.com/author/cjshayward> • *Author <http://cjshayward.com/>* • Author Bio <http://jonathanscorner.com/author/&

How can I set up Debian x86_64 so a Django project sees django.contrib.staticfiles?

2014-04-23 Thread Christos Jonathan Seth Hayward
n? Thanks, -- [image: Christos Jonathan Seth Hayward] <http://jonathanscorner.com/> Christos Jonathan Seth Hayward, an Orthodox Christian author. Amazon / Kindle <http://amazon.com/author/cjshayward> • *Author <http://cjshayward.com/>* • Author Bio <http://jonathanscorner.com/

Creating JSON file

2013-04-08 Thread Seth Gordon
You want to output a list of one dict per object, and you want that dict to contain another dict inside it. So you don’t need dict2. Instead f = file('report.json','a+') sys.stdout = f result = [] objects = game_objects.objects.all() for obj in objects: time = time_

Re: Django setup with elsatic beanstalk

2012-10-09 Thread Seth Alves
If you name your top-level wsgi file to "application.py", does it do any better? -seth On Monday, October 8, 2012 10:22:51 AM UTC-7, shlomi oberman wrote: > > I'm trying without succes to setup a simple application using django with > elastic beanstalk from my

Re: Django Development environment

2011-08-28 Thread Seth
On Aug 22, 3:07 pm, Stephen Jackson wrote: > I am new to the world of Django. I would like to hear from other django > developers describe their dev environment (tools, os, editors, etc.). OS: Mac OS X (Snow Leopard) Editor: TextMate with ProjectPlus plugin, Eclipse+PyDev for debugging ONLY (and

Re: removing the source of a OneToOneField relationship

2011-05-04 Thread Seth Gordon
On 05/04/2011 12:43 AM, Andy McKay wrote: > > On 2011-05-03, at 2:05 PM, Seth Gordon wrote: >> I get an exception, complaining that Target.source does not allow >> null values. > > You'll probably want to allow null values on your OneToOne field then: > > h

removing the source of a OneToOneField relationship

2011-05-03 Thread Seth Gordon
I have one Django model that points to another one with a OneToOneField, sort of like this: class Target(models.model): # stuff class Source(models.Model): target = models.OneToOneField(Target) Sometimes, given an object that is an instance of Target, I want to navigate to its Source and

Re: Japanese Text Sort Order

2011-01-05 Thread Seth Gordon
On 01/05/2011 07:57 AM, James Hancock wrote: > I think it does the same thing, but I was talking about how you cant set > 'ordering' under the Meta class in a model. > http://docs.djangoproject.com/en/1.2/ref/models/options/#django.db.models.Options.ordering > >

Re: django test framework with no models.py

2010-12-30 Thread Seth Gordon
On 12/27/2010 09:58 AM, Henrik Genssen wrote: > Hi, > > I wanted to write a test for an app, that does not have a models.py itself. > Doing so I get: > django.core.exceptions.ImproperlyConfigured: App with label service could not > be found > > if I create a models.py with just a "pass" in it ev

Odd behavior with reverse()

2010-08-04 Thread Seth
bit of documentation wouldn't have helped my in my case, since the error originated in a 3rd party app (I was looking through my own code to see what I did wrong). Anybody else been bitten by this? Is there a way to make errors like this easier to track down (especially in templates, where you d

Re: issue with django.views.generic.date_based.archive_index's date_list

2009-07-01 Thread Seth Buntin
Karen, That makes total sense. I really missed the verbiage there. Thanks. On Jun 30, 10:34 pm, Karen Tracey wrote: > On Tue, Jun 30, 2009 at 1:55 PM, Seth Buntin wrote: > > > I'm having an issue with the date_based generic views archive_index. > > I am expecting

issue with django.views.generic.date_based.archive_index's date_list

2009-06-30 Thread Seth Buntin
I'm having an issue with the date_based generic views archive_index. I am expecting the context to return a date_list with datetime instances of the years specified in my queryset. The problem is my queryset doesn't return what I am expecting. The queryset only has one instance and it has a date

Target anchor on div's id (/account/#divid ) + Redirection after a POST = ascii encode problem

2009-01-26 Thread Seth Kaïne
Here's my problem. I want to redirect my urls by the name of its model, like this: urls.py: (r'^(?P\w+)/$', 'urlCatcher'), (r'^(?P\w+)/(?P\w+)/$', 'urlCatcher'), (r'^(?P\w+)/(?P\w+)/(?P\w+)/$', 'urlCatcher'), here's the function in the views.py: def urlCatcher(r

Re: Django ORM and phpMyAdmin

2008-11-26 Thread Seth Kaïne
haps a solution to explore. If you have other informations about ORM or a way to bind the whole thing together. Thanks for your response. Seth On Nov 24, 6:04 pm, "Travis Veazey" <[EMAIL PROTECTED]> wrote: > Seth, > The reason that you don't see the values in u3 chang

Django ORM and phpMyAdmin

2008-11-24 Thread Seth Kaïne
I want to have some more, please. When I do that: >>> python manage.py shell >>> from httpbackend.models import Unit >>> Unit.objects.all() [, , , ] >>> u3 = Unit.objects.filter(id=3)[0] >>> u3.status --- I change the status for an ONLINE statement with phpmyadmin in my Table Unit to test i

Re: IE7, IE6, and Safari session save issue

2008-05-14 Thread Seth Buntin
This is also not allowing me to log into the admin interface so it is definitely site wide. On May 14, 10:35 am, Seth Buntin <[EMAIL PROTECTED]> wrote: > I don't know if this helps but I am using mod_wsgi 1.3. I have > noticed some issues with mod_php but I don't have t

Re: IE7, IE6, and Safari session save issue

2008-05-14 Thread Seth Buntin
I don't know if this helps but I am using mod_wsgi 1.3. I have noticed some issues with mod_php but I don't have that installed on the server. On May 13, 10:07 pm, Seth Buntin <[EMAIL PROTECTED]> wrote: > Okay I am going to try to explain this the best I can. The issue I

IE7, IE6, and Safari session save issue

2008-05-13 Thread Seth Buntin
Okay I am going to try to explain this the best I can. The issue I am having is only with IE7, IE6, and Safari. I believe it is a way the session information isn't being saved. This issue doesn't happen with r7020 but is happening with r7526. The problem doesn't occur when running from Django'

IE6/Safari not keeping cookie after closing browser

2008-04-28 Thread Seth Buntin
Firefox works great! Wish everyone used it! When setting a cookie in my application it sets correctly and the site works correctly. It will allow whoever to the places they need to go and force a login otherwise. When browsing to another site and back the cookie stays which is good. When clos

Re: Data truncated error

2007-07-17 Thread Seth Buntin
I figured it out, sorry. I had an hidden character somewhere. I just retyped it instead of copy/paste and everything is fine. Seth On Jul 17, 11:29 am, Seth Buntin <[EMAIL PROTECTED]> wrote: > I am getting a Data truncated error and I don't know if it is because > of the da

Data truncated error

2007-07-17 Thread Seth Buntin
I am getting a Data truncated error and I don't know if it is because of the data I am inserting into the DB or what. I am putting this in a TextField and here is the message I am getting: Warning at /admin/cabedge_silo/page/2/ Data truncated for column 'bodytext' at row 1 Request Method:

Re: Weird session

2007-03-14 Thread Seth Buntin
Well this didn't work: request.session["order_items"] = request.session["order_items"] + [order_item.id] Any other ideas? Is it how Django is implementing sessions or how mod_python and Apache have their child

Re: Weird session

2007-03-14 Thread Seth Buntin
Well this didn't work: request.session["order_items"] = request.session["order_items"] + [order_item.id] Any other ideas? Is it how Django is implementing sessions or how mod_python and Apache have their child

Re: Common models between two apps

2007-03-03 Thread Seth Buntin
Sorryhit enter too soon. from blog.models import Category class Image(models.Model): category = model.ForeignKey(Category) ... This way you only have to keep up with the Blog Category model and it can be used in both apps. Is that what you mean? Seth On Mar 3, 9:36 pm, &qu

Re: Common models between two apps

2007-03-03 Thread Seth Buntin
I haven't tried this but what if you import the model you need and use it as a foreign key. I don't know what you are doing but we'll see... gallery model.py: from blog.model import Category class Image(models.Model): On Mar 3, 9:36 pm, "nn" <[EMAIL PROTECTED]> wrote: > My site runs on two ap

Re: Weird session

2007-03-02 Thread Seth Buntin
I would love to tackle this issue, since it is to my advantage, but really don't know where to start. Any ideas? Seth On Mar 1, 10:59 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > On Thu, 2007-03-01 at 20:17 -0800, Graham Dumpleton wrote: > > [...] > > > >

Re: Weird session

2007-03-01 Thread Seth Buntin
What type of debug code could I use? Seth On Mar 1, 10:17 pm, "Graham Dumpleton" <[EMAIL PROTECTED]> wrote: > On Mar 2, 2:57 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote: > > > That probably isn't too far off. One time it did work and it was

Re: Weird session

2007-03-01 Thread Seth Buntin
That probably isn't too far off. One time it did work and it was weird so I might have actually got one of the threads to fire correctly. Is there a way to limit the amount of threads mod_python uses? Seth On Mar 1, 9:48 pm, Malcolm Tredinnick <[EMAIL PROTECTED]> wrote: > Hi Se

Re: Weird session

2007-03-01 Thread Seth Buntin
te are being updated correctly (they don't rely on the session variable) and are receiving the variables I send via AJAX. It is acting like the session variable is just being passed over. Kinda like the session isn't being saved but I have SESSION_SAVE_EVERY_REQUEST = True in my settings

Re: Weird session

2007-03-01 Thread Seth Buntin
aren't working...sorry On Mar 1, 6:55 pm, "Seth Buntin" <[EMAIL PROTECTED]> wrote: > I am running Apache 2.0.59 and mod_python on Windows. When I run the > application it looks like the session variables are being set. If I > go straight in to the development ser

Weird session

2007-03-01 Thread Seth Buntin
I am running Apache 2.0.59 and mod_python on Windows. When I run the application it looks like the session variables are being set. If I go straight in to the development server everything is great! What am I missing? Thanks. Seth --~--~-~--~~~---~--~~ You

Re: session variable

2007-02-23 Thread Seth Buntin
WowI just needed to read a little bit further. Thanks. Seth --~--~-~--~~~---~--~~ 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@googlegro

Re: session variable

2007-02-23 Thread Seth Buntin
So I can have for instance: request.session["order_items"] = [] and then in different view I can have: request.session["order_items"].append(1) and that append to the session variable? --~--~-~--~~~---~--~~ You received this message because you

session variable

2007-02-22 Thread Seth Buntin
Can I have a list as a session variable? I want to add potential products to a session list and if an order is placed iterate over that list and add them to an order. Or are there better ways to do this? Thanks. Seth --~--~-~--~~~---~--~~ You received this

Ordering problems

2006-08-25 Thread Seth Buntin
I have this in my model: class Syllabus(models.Model): program = models.ForeignKey(SyllabusProgram) course_number = models.IntegerField() def __str__(self): return "%s %s" %(self.program, self.course_number) class Meta: ordering = ['program', 'course_number', ] It orders correc

Change App name in Django Admin

2006-08-22 Thread Seth Buntin
Can you change the displayed name of the app in the Django admin? --~--~-~--~~~---~--~~ 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 unsubscri

Re: Reproduce admin search functionality

2006-08-21 Thread Seth Buntin
So how will I get the queries if more than one word is used to search? The only reason I am using the way I am is in case people search multiple words. Can I run queries and add them together or something? --~--~-~--~~~---~--~~ You received this message because y

Re: Reproduce admin search functionality

2006-08-21 Thread Seth Buntin
I got it!: def search(request): keywords = request.GET['keyword'].split() sql = "" first = True for word in keywords: if first: sql += "(title LIKE '%%" + word + "%%' OR description LIKE '%%" + word + "%%')"

Reproduce admin search functionality

2006-08-21 Thread Seth Buntin
I am trying to reproduce the admin search functionality tell me what you think and how I can 1) fix it because it isn't working 2) improve it. Here is my view: keywords = request.GET['keyword'].split() sql = "" first = True for word in keywords: if first: sql += "(title LIKE '%" + wor

Re: Click the back button messes me up...

2006-08-17 Thread Seth Buntin
Now I really feel stupid. Thanks James. --~--~-~--~~~---~--~~ 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

Re: Click the back button messes me up...

2006-08-17 Thread Seth Buntin
So how would I send my context with that redirect? Or am I thinking about it the wrong way. The problem is I have a search field and in the results there are links. If someone clicks a link it displays the page but when they click back it give the "Page expired" message. --~--~-~--~--

Re: Click the back button messes me up...

2006-08-17 Thread Seth Buntin
So I need to redirect to another page and send the contents of the POSTed data somehow? --~--~-~--~~~---~--~~ 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@googleg

Click the back button messes me up...

2006-08-17 Thread Seth Buntin
Can I solve the IE back button issue (pages needing to be refreshed with the posted data) with a simple cache system? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send

Re: Issue with template tags...

2006-08-16 Thread Seth Buntin
Your right. My bad. I must have read it here in the newsgroup. --~--~-~--~~~---~--~~ 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: Issue with template tags...

2006-08-16 Thread Seth Buntin
Thanks Adrian. That was it. I think I got that from the documentation. Should it be changed? --~--~-~--~~~---~--~~ 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@

Issue with template tags...

2006-08-16 Thread Seth Buntin
I have created a custom template tag that gets specific information from the database: linkroll.py: from django.core import template from seth_blog.blog.models import Linkroll register = template.Library() def linkroll(): links = Linkroll.objects.all()[:5] return {'links': links} # Here

Secret Key

2006-08-15 Thread Seth Buntin
This might be a stupid question (and maybe off topic) but what does the secret key do and why is it there? --~--~-~--~~~---~--~~ 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: Site-Wide views

2006-08-15 Thread Seth Buntin
Yeah I just want dynamic data on every page, so I guess the custom template tag will do it. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-

Site-Wide views

2006-08-15 Thread Seth Buntin
Is possible to have a view (and correct me if I am using my teminology wrong) that is accessible site-wide? For example: I have a blog that on the sidebar lists links that I put into the system when I find them. Is it possible to fill that block in the site.html file (base template file) without

Re: Multiple applications One server Big problem.

2006-08-15 Thread Seth Buntin
Not a problem. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED]

Re: Multiple applications One server Big problem.

2006-08-15 Thread Seth Buntin
Thanks Joseph. That was it. Seth Joseph Kocherhans wrote: > On 8/15/06, Seth Buntin <[EMAIL PROTECTED]> wrote: > > > > When I restart my server, and go to /ncate/manager I get the right > > application. But if I log out of that application and go to > > /ka

Re: Multiple applications One server Big problem.

2006-08-15 Thread Seth Buntin
What?! --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] For mor

Multiple applications One server Big problem.

2006-08-15 Thread Seth Buntin
I am having an issue with my implementation of Django. First of my DjangoAppz file directory is outside of the webroot directory. That folder contains two application folders, "tick", "ncate". I have these two declaratives in my httpd.conf file: SetHandler mod_python PythonHa

Re: Trouble with view and for loop

2006-08-11 Thread Seth Buntin
The indention is right. I figured out the issue but still have the problem. It is the for loop around levels and the for loop around content area. Can a for loop be within another for loop. I would think so but I have never done it before. --~--~-~--~~~---~--~

Trouble with view and for loop

2006-08-11 Thread Seth Buntin
Here is my view: def search(request): results = Resource.objects.filter(title__icontains=request.POST['keyword'], description__icontains=request.POST['keyword']) keyword = request.POST['keyword'] return render_to_response('tick/base_search.html', {'results': results, 'keyword': key

Re: Admin Manipulators

2006-08-08 Thread Seth Buntin
Ok. Thanks. --~--~-~--~~~---~--~~ 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 [EMAIL PROTECTED] F

Re: Admin Manipulators

2006-08-08 Thread Seth Buntin
Can this be done? I just can't seem to find any documentation on extending the admin module this way. --~--~-~--~~~---~--~~ 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: manage.py syncdb error

2006-08-08 Thread Seth Buntin
Are you trying to insert initial data into you db when running this script? --~--~-~--~~~---~--~~ 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

Admin Manipulators

2006-08-07 Thread Seth Buntin
Can I extend the admin manipulator? I want to change one ManyToMany select box to a text field. Seth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, sen

Re: Tagging.

2006-08-07 Thread Seth Buntin
Can I extend the form Manipulator or something that will allow me to change the ManyToMany select field with a text field? I think I have seen some examples but I don't quite know how to extend it. --~--~-~--~~~---~--~~ You received this message because you are s

Re: Tagging.

2006-08-07 Thread Seth Buntin
Thanks Eric. I have one question though. If I have a model named Resources how do I get a field in that that will allow me to define my tags? I put: tags = models.GenericRelation(ObjectTag) But when I go to the admin I get a Formfield not found or something like that. Seth nkeric wrote

Tagging.

2006-08-07 Thread Seth Buntin
I have a Django project (almost complete) that needs to implement tagging. In a previous framework I used a plugin that made this really easy. I don't need much. What was implemented in the framework that "must not be named" was a simple text field. The tags where separated by a space and grou

Re: Problem with serializers

2006-08-04 Thread Seth Buntin
Thanks Jacob. I copied that text off of a webpage and the quotes messed me up. I guess I should have realized that when TextMate didn't color them correctly. Seth Jacob Kaplan-Moss wrote: > On Aug 4, 2006, at 12:05 PM, Seth Buntin wrote: > > DeprecationWarning: Non-ASCII chara

Re: Problem with serializers

2006-08-04 Thread Seth Buntin
I just realized that I am also getting an error in my console: /Users/sethbuntin/django_src/django/core/urlresolvers.py:118: DeprecationWarning: Non-ASCII character '\xe2' in file /Users/sethbuntin/django_projects/kate/tick/ajax_views.py on line 6, but no encoding declared; see http://www.python.

Problem with serializers

2006-08-04 Thread Seth Buntin
r Exception Value:invalid syntax (ajax_views.py, line 7) Line 7 being the "data = ..." lin in the ajax_views.py file. I think I am doing this right. I just created this view so I could get data for an AJAX request. What is the issue? Thanks. Seth --~--~-~--~~-

Re: Ordering by __str__

2006-07-28 Thread Seth Buntin
It is the same model. Seth --~--~-~--~~~---~--~~ 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, sen

Ordering by __str__

2006-07-28 Thread Seth Buntin
I have a model class that returns the string as below: def __str__(self): return "%s %s" % (self.program, self.course_number) In the list_display I have: list_display = ('__str__', 'uploaded') I want to be able to order by my __str__ value, but I don't know how. Can this be done? I ha

FieldDoesNotExist

2006-07-27 Thread Seth Buntin
I keep on getting "FieldDoesNotExist" errors. They are saying that a field, in this case "p", doesn't exist. I don't know what it is talking about because I am not trying to call "p". Any ideas? --~--~-~--~~~---~--~~ You received this message because you are su

__str__ concatenation

2006-07-27 Thread Seth Buntin
ell me. I am new to python and want to learn it more and I will just find it out. Thanks. Seth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

Re: Trying to get app working with Apache with mod_python

2006-07-26 Thread Seth Buntin
I figured it out. I should have had: (r'admin/', include('django.contrib.admin.urls')), not: (r'^admin/', include('django.contrib.admin.urls')), --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" gro

Trying to get app working with Apache with mod_python

2006-07-26 Thread Seth Buntin
Here is the error and apache conf. I don't know what the problem is, it is the first time I have tried to setup an app through Apache and not running the development server. Do I need to modify my urls.py? Error: Using the URLconf defined in ncate.urls, Django tried these URL patterns, in this

Re: Select Box filter

2006-07-25 Thread Seth Buntin
You know...after I posted the second reply...i thought a second and realized this would be the solution. Thanks. Seth --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to

Re: Select Box filter

2006-07-24 Thread Seth Buntin
I guess what I don't understand is the "hook" part. How do I change the onChange event for the auto-generated field in the admin area? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post t

Select Box filter

2006-07-24 Thread Seth Buntin
I was wondering if anyone has found a way to filter a select box depending on the value of another select box. This is really easy with javascript but I want to use the admin module. Any suggestions? --~--~-~--~~~---~--~~ You received this message because you ar

How customizable is admin?

2006-07-22 Thread Seth Buntin
I was wondering how customizable the admin module is (without changing admin for other applications). I want to have an AJAX'ed drill-down for some drop-down boxes. Has anyone done this and is it easily done without have to "repeat" myself? --~--~-~--~~~---~--~~

Re: Create default data at syncdb

2006-07-21 Thread Seth Buntin
Just what I needed. Thanks again. --~--~-~--~~~---~--~~ 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

Create default data at syncdb

2006-07-21 Thread Seth Buntin
Is there a way to create data from a model when running syncdb or something? I have a couple of tables that hold the same data and when I during development I sometime reset my data can I put this in the model or something and it create the data when the tables are created? --~--~-~--~-

Re: Users in Django admin

2006-07-21 Thread Seth Buntin
Thanks Adrian. BTW nice framework!!! I have thouroghly enjoyed working with it. --~--~-~--~~~---~--~~ 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.

Users in Django admin

2006-07-21 Thread Seth Buntin
I am new to Django (Rails convert) and I have a quick question. I am trying to build a basic CMS for my company. For each entry into the system I want to align the user that is logged in to the entry. I have a foreign key for the user which works because when I go to the admin I get a drop-down