Re: Admin UI Improvements for Ordered List Using Through Inline?

2012-12-02 Thread Joni Bekenstein
Check out grappelli: http://www.grappelliproject.com/ On Saturday, December 1, 2012 6:24:49 AM UTC-3, Andrew Brown wrote: > > Greetings, > > I'm hopeful someone can point me in the right direction to improve the > admin UI for my app. I need to allow for the creation and display of an > ordered

Re: Location of non-app-specific static files?

2012-11-05 Thread Joni Bekenstein
Check this out: https://docs.djangoproject.com/en/dev/ref/contrib/staticfiles/#staticfiles-dirs I put a static folder in my project root where I put all the project specific (ant not app specific) static files. The folder's path is then added to STATICFILES_DIRS. But note that this static fold

Re: Choosing a JS framework to go together with Django

2012-11-05 Thread Joni Bekenstein
By writing a custom serialization for your models you have a good place to handle variations to those models. You don't really have to dump all of your fields, you can even create a custom field specifically for the frontend, but doesn't really exists in your backend model. Besides, If and whe

Re: Announcement of GUI for Creating Models

2012-09-08 Thread Joni Bekenstein
This could be very useful for generating dynamic forms. You create the model and then just have some views that generate and process a ModelForm that uses the created model with this interface. Also having a "simple" mode for the client who will actually use this would be helpful. For example,

Re: setting up Django Compressor

2012-09-02 Thread Joni Bekenstein
url(r'', include('django.contrib.staticfiles.urls')), > ) + urlpatterns > *** > > > > On Saturday, September 1, 2012 3:09:42 PM UTC+1, Joni Bekenstein wrote: >> >> The generated css file seems to be in your media directory. If you c

Provide editable single text field (through admin) w/o using a whole model

2012-09-01 Thread Joni Bekenstein
There are 2 answers to your question here: https://groups.google.com/forum/m/?fromgroups#!topic/django-users/0uU1zYH_yOw -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/d

Re: Provide a single text field (editable through admin panel) w/o using a whole model

2012-09-01 Thread Joni Bekenstein
How about https://github.com/comoga/django-constance ? -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups.google.com/d/msg/django-users/-/ECCuEvzTJbIJ. To post to this group, send email to dj

setting up Django Compressor

2012-09-01 Thread Joni Bekenstein
The generated css file seems to be in your media directory. If you copy that URL, can you see the css file? Are you using Django's dev server (runserver)? If so, did you add to your urls.py a view to serve the media files? (and that view should only exist when DEBUG is true since in production y

Re: How to perform a simple search ignoring characters with accents (á, é, í, ó, ú)

2012-06-06 Thread Joni Bekenstein
django-haystack seemed overkill for me. django-unaccent looks pretty good, since I'm using PostgreSQL. I'll take a look into that, thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To view this discussion on the web visit https://groups

Re: django 1.4, wsgi, flex deploy best practices

2012-06-05 Thread Joni Bekenstein
lashContent", > > "${width}", "${height}", > > swfVersionStr, xiSwfUrlStr, > > flashvars, params, attributes); > > > > > > *From:* django-users@googlegroups.com [mailto: > djang

How to perform a simple search ignoring characters with accents (á, é, í, ó, ú)

2012-06-01 Thread Joni Bekenstein
I need to do a simple search ignoring some characters with accents. The idea would be that "hola" matches the search term "holá". What I'm currently doing is adding a CharField to my model to store the searchable term. For example: class Book(models.Model): title = models.CharField(max_length

Re: django 1.4, wsgi, flex deploy best practices

2012-06-01 Thread Joni Bekenstein
You can configure a basePath through flashvars as you said, but you don't have to make django serve the index.html to set that dynamically. You can put it by hand, allowing you to deploy on different servers in a decoupled manner. Maybe I'm missing something here but I don't see anything wrong