On Thu, May 6, 2010 at 7:50 PM, zinckiwi wrote:
>> I was hoping for an elegant solution for when I know there's going to
>> be several thousand plus instances (or hundreds of thousands after a
>> year or two of deployment). So in the end, I guess I can work with it,
>> but mostly I was hoping to
Hi,
I am working my way through Practical Django Projects, 2nd addition,
and I am having troubles getting the weblog permalink url to function.
>From my urls.py:
===
entry_info_dict = {
'queryset': Entry.objects.all(),
'date_field': 'pub_date',
}
...
...
(r'^(?P\d{4}
Hi all,
I want to create my own "field" type for a model, this essentially
will be a relationship to another model via a generic link model
(using GenericForeignKey etc).
As en example I basically want to do the following in models.py:
class Pizza(models.Model):
toppings = IngredientsField()
On May 9, 4:35 am, nameless wrote:
> I have:
>
> * created translation strings in the template and in the
> application view.
> * run this command: django-admin.py makemessages -l it and the
> file it/LC_MESSAGES/django.po has been created
> * translated strings in the django.po file.
On May 5, 10:12 pm, Daniel Roseman wrote:
> On May 5, 9:30 pm, Paul wrote:
>
>
>
> > I have the following model (stripped of comments and __unicode__ for
> > brevity) which defines a comment in my Django app (I'm not using the
> > comment module provided with Django for various reasons):
>
> > c
On May 9, 4:58 am, nih wrote:
> I've got a python program that starts up a django web app, I'm trying
> to figure out how to pass values from the program to the web app so
> some fields in the admin add page are automatically populated with
> values from the program, is the only way via url parame
See the notes about "commit = False" and its effects on many-to-many tables.
http://docs.djangoproject.com/en/1.1/topics/forms/modelforms/#the-save-method
Shawn
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
Hi,
If you've ever missed it on Windows and you can use Powershell, you
might want to take a look at this port of virtualenvwrapper:
http://bitbucket.org/guillermooo/virtualenvwrapper/wiki/Home
Regards,
Guillermo
--
You received this message because you are subscribed to the Google Groups
"Dj
Hi everybody,
I'm writing an open source asset,resource and project manager for animation
and vfx studios. And I want to use Django's database api to handle all the
db stuff. In my system every project is going to have its own database
(probably sqlite3 files in project root folder). So what is th
Hi all,
I've read through the Django tutorial and it makes a lot of sense to
me. Does anyone have the full version of the poll application
available for download? I think it would be a good reference for me as
I develop my own site.
Thank you,
Chuck
--
You received this message because you are
Are there any django forum applications available which come packaged
with polling functionality?
Cheers
Simon
--
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 f
Hi all
I've got a python program that starts up a django web app, I'm trying
to figure out how to pass values from the program to the web app so
some fields in the admin add page are automatically populated with
values from the program, is the only way via url parameters?, I sense
its a lot more c
I have:
* created translation strings in the template and in the
application view.
* run this command: django-admin.py makemessages -l it and the
file it/LC_MESSAGES/django.po has been created
* translated strings in the django.po file.
* run this command: django-admin.py compile
On May 9, 12:49 am, Nick Taylor wrote:
> Hi all,
>
> I'm pretty new to Django so bare with me if this is a simple question.
>
> Basically, I have an Article model which is simply title, body, status
> etc. Now, I want to add an additional TextBox to the admin for the
> model, but I don't want to a
14 matches
Mail list logo