You can define your Custom User Model in your models.py (
https://docs.djangoproject.com/en/1.6/topics/auth/customizing/#substituting-a-custom-user-model
)
and then in your settings specify with AUTH_USER_MODEL = 'myapp.MyUser'
On Tuesday, March 26, 2013 9:51:21 PM UTC+1, frocco wrote:
>
> Hello
>
I got that you are executing a raw sql query every time you insert a new
OrderDetail record. But can I ask why are you doing this?
I think you should really need to redesign your models..
On Thursday, November 7, 2013 10:04:33 AM UTC+1, vittorio wrote:
>
> I made an effort to simplify my app an
I think the problem here is that when you create the superuser, the related
field will not be created.
You should add sistema = models.ForeignKey('Sistema', null=True) or sistema
= models.ForeignKey('Sistema', default=1) where 1 is a placeholder
'Sistema' object that you have created.
I suggest
Hello Paolo,
I really don't get your question. The templates are still used in Django.
You should be aware of the Model View Controller philosophy. Actually in
Django is Model Templates (as View) View (as Controller).
PS: If you are going to use Python 3 be sure to start with Django 1.6
(releas
'bus.certs.listing' is this entry in your installed apps referring to the
"Listing" models perhaps? We can't really help you with much more info btw.
On Friday, November 8, 2013 4:55:04 PM UTC+1, Keith Edmiston wrote:
>
> Hi,
>
> I am building a new site in Django 1.4 and I'm using the South migr
ction
>
> So, in answer to your question Vincenzo, bus.certs.listing does not make a
> call to any model just yet. Thanks for suggesting I look though.
>
> Keith
>
>
> On Fri, Nov 8, 2013 at 10:39 AM, Vincenzo Prignano
>
> > wrote:
>
>> 'bus.certs.list
You can follow the tutorial on Django's website
https://docs.djangoproject.com/en/dev/intro/tutorial01/
On Saturday, November 9, 2013 8:15:53 AM UTC+1, Suvankar Roy wrote:
>
> Hii All,
>
> I am new to django please help me i want to an example project in this
> funtionality insert ,edit ,update
Sorry but I still can’t see the problem here. You are by the way using an old
Django version and an old Python version. That’s the only thing I can think
about right now.
--
Vincenzo Prignano
Sent with Sparrow (http://www.sparrowmailapp.com/?sig)
On Saturday, November 9, 2013 at 6:53 PM
8 matches
Mail list logo