uming the initial attribute makes sense for the 'c' field. You can
can dynamically reset field attributes (and even dynamically add
fields) to a form.
conrad
On Aug 29, 5:50 am, Karen Tracey wrote:
> 2009/8/29 hao he
>
> > thanks for your reply。
>
> > yes,i want t
Thanks for the reply. I don't quite understand yet. Let's see how close I am.
I have a Python application directory (on my machine,
C:\apps\Python25\). Inside that directory I have
\Lib\site-packages\django, which is currently v0.96.
Right now, the PYTHONPATH environment variable is not set at
2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>:
>
> Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate
> environments for each django version.
Thanks Jarek. I will try the directory based approach first, but also
keep this in mind.
Matt
--~--~-~--~~~--
On Fri, Sep 12, 2008 at 11:15 AM, Jeff Anderson
<[EMAIL PROTECTED]> wrote:
> You can influence what this list is, by setting the PYTHONPATH
> environmental variable. All you need to do is set your PYTHONPATH
> appropriately, and point it to the appropriate place, depending on which
> Django insta
On Fri, Sep 12, 2008 at 11:15 AM, Steve Holden <[EMAIL PROTECTED]> wrote:
>
> Matt Conrad wrote:
>> 2008/9/12 Jarek Zgoda <[EMAIL PROTECTED]>:
>>> Use virtualenv (http://pypi.python.org/pypi/virtualenv) with separate
>>> environments for each django ve
On Fri, Sep 12, 2008 at 1:58 PM, Kevin Teague <[EMAIL PROTECTED]> wrote:
> Finally, you could patch a Python program such as manage.py so that
> you do something like:
>
> import sys
> sys.path[0:0] = [
> '\somelocation-for-django-1.0\',
> ]
> import django
>
> This would pick up your Django 1.
I wrote a little concentration game in Django and put it up on Google
App Engine:
http://matt-scratch.appspot.com/
I'm sure there are some awkward places in the code where I could
leverage Django better. If anyone is curious and would like to
comment or make suggestions, the source code (Django
On Fri, Oct 29, 2010 at 11:58 AM, Bill Brigham wrote:
> On a questionnaire, you have one or more questions which will require
> either an essay answer or multiple choice answers. When creating a new
> questionnaire, I would like to show a textarea for the Question.text
> common to both types, a r
I notice that the conversation is mostly about IIS vs Apache.
You'll also want to think about the database. Django doesn't have
built in support for MSSQL. You could run Postgres or MySQL on
Windows, or there are some adapters for Django that will let it talk
to SQL Server. Either way, you'll prob
NULL,
>>`contact_fax` varchar(30) NOT NULL,
>>`contact_address` longtext NOT NULL,
>>`contact_city` varchar(50) NOT NULL,
>>`contact_zipcode` integer NOT NULL,
>>`contact_country` varchar(2) NOT NULL
>>
>>Any idea ?
>>
>>Reg
eb server running without database, but
>>did not succeed.
>>I modified settings.py, DATABASE_ENGINE = ''
>>But this did not work.
>>Any ideas?
>>ThanksAnja
>>
>>
>>
>
>
--
Alexandre CONRAD
--~--~-~--~~~---
mailing lists should have this link inserted into every mail:
http://www.catb.org/~esr/faqs/smart-questions.html
Regards,
--
Alexandre CONRAD - TLV
Research & Development
tel : +33 1 30 80 55 05
fax : +33 1 30 80 55 06
6, rue de la plaine
78860 - SAINT NOM LA BRETECHE
FRANCE
--~--~-~-
someway to reuse the admin code for
autogenerating forms in my own application.
I have looked into this page:
http://www.djangoproject.com/documentation/forms/
But it explains I have to write every field into my template.
Any idea ?
Regards,
--
Alexandre CONRAD - TLV
Research & Developmen
al useful:
> http://www.postneo.com/2005/08/17/django-generic-views-crud
Yeah, generic views is probably what I want and I'm having a hard time
with the tutorial which is "underdocumented" as the post says.
Thanks for the ressources, it's all good.
Regards,
>
>
>
> On
0.24)
I can't help you on this one.
Regards,
--
Alexandre CONRAD - TLV
Research & Development
tel : +33 1 30 80 55 05
fax : +33 1 30 80 55 06
6, rue de la plaine
78860 - SAINT NOM LA BRETECHE
FRANCE
--~--~-~--~~~---~--~~
You received this message because yo
t Explorer (version: 6.0.2900.2180.xpsp_sp2_gdr.050301-1519).
Regards,
--
Alexandre CONRAD - TLV
Research & Development
tel : +33 1 30 80 55 05
fax : +33 1 30 80 55 06
6, rue de la plaine
78860 - SAINT NOM LA BRETECHE
FRANCE
--~--~-~--~~~---~--~~
You received this mes
Answering my own question from a few days ago, this:
choice_vals = scene.begin_scene.all().values()
ChoiceFormFactory = formset_factory(ChoiceForm)
formset = ChoiceFormFactory(initial=choice_vals)
is all wrong. I needed to be using a modelformset_factory, not a
formset_factory, with a
phpmyadmin and other such mysql db design/maintain tools do too much, too
complicated.
I'm looking for a python or django web app that allows non-tech users to
add/delete/search records.
thanks
Len
--
You received this message because you are subscribed to the Google Groups
"Django users"
Hi All. I wonder if anyone can point me in the right direction. I am
building a web api using django and FilterSets and wish to allow consumers
to perform a query along the lines of
Manufacturer =x OR manufacturer = y etc etc
Is this achievable out of the box and how would you specify this wit
Hi,
sorry for the newbie question!
In the admin I cannot create a user without a username, but on the shell it
is possible:
>>> from django.contrib.auth.models import User
>>> u = User()
>>> u.save()
>>> u.id
2
I am trying to understand why this is possible. Does this mean model
constraints i
Hi,
I have an issue with regard to exposing a RESTful interface using
filtersets and HyperLinkedModelserialisers. I have two model classes
defined thus:
class Manufacturer(CommonExtendedIcon):
WebSite=models.CharField(max_length=1024)
StandardList=models.BooleanField(default=False)
that would allow
me to load this data using only the 1 queries bringing in all of the
related fields in the original query.
Thanks again for your help.
Kind regards
Conrad
On Thursday, 10 April 2014 14:58:36 UTC+1, Javier Guerra wrote:
>
> On Thu, Apr 10, 2014 at 8:29 AM, Conrad Ro
) with
the ManufacturerViewSet. I'm guessing this could be achieved by overriding
get_queryset in my ManufacturerViewSet though I don't know what to do from
there?
On Friday, 11 April 2014 14:17:11 UTC+1, Javier Guerra wrote:
>
> On Fri, Apr 11, 2014 at 3:51 AM, Conrad Rowlands
&
ility.
I am using a browser and I am using the DebogToolbar which I would be
totally lost without!
On Friday, 11 April 2014 15:01:22 UTC+1, Javier Guerra wrote:
>
> On Fri, Apr 11, 2014 at 8:31 AM, Conrad Rowlands
> > wrote:
> > As you can see the queryset is loading all from the
rer','url','SeriesStartDate','SeriesEndDate','SourceUrl','LastChecked')
On Friday, 11 April 2014 15:01:22 UTC+1, Javier Guerra wrote:
>
> On Fri, Apr 11, 2014 at 8:31 AM, Conrad Rowlands
> > wrote:
> > As you can see the
Call me boring but I like the simple elegance of the django admin panel.
I was wondering is there a way use this layout thorough my project.
All the tutorials I have read so far shows how to build your own navbar
using the various third-party bootstraps and css.
But none shows how use the built-i
ication you will
> need to do a lot of backwards engineering - but it should be possible,
>
> Regards,
>
> Andréas
>
> 2018-08-04 4:27 GMT+02:00 Conrad Lawes >:
>
>>
>> Call me boring but I like the simple elegance of the django admin panel.
>> I was
27 matches
Mail list logo