ent framework).
> * As you mentioned, you don't need to use Angular with SwampDragon.
> * It's another layer of complexity.
> * The blog post I linked to pretty much covers the basis for doing real
> time notifications, and isn't using Angular, so you could more or less just
Have you tried something like *user = User.objects.get(username="username")*
On Saturday, 17 January 2015 00:00:32 UTC+8, joulumaa wrote:
>
> Hi,
>
> If user = auth.authenticate(username,password) results None, I would like
> to create new user and login it.
> But I cannot find a way to dete
I'm using Swampdragon to provide real time updates to the system since I
don't want users to keep refreshing their page to get them. I used the
*ModelPublisherRouter* which causes me to get any updates to a particular
model.
I currently have an Events model with the following attributes:
class
Hi group,
This is my first time asking, so bear with me if I'm missing anything. I
have an app in my project called *Users*, under *Users* currently I have
classes - *Customer, Location, ContactNumber. *I added foreign keys in both
*Location
*and *ContactNumber* to point to *Customer.*
Everyt
f to use __unicode__ instead of
> __str__
>
> On Sat, Nov 15, 2014 at 7:55 AM, Shazwi Suwandi > wrote:
>
>> Hi group,
>>
>> This is my first time asking, so bear with me if I'm missing anything. I
>> have an app in my project called *Users*, under *User
+1 to what Jorge mentioned. You can find books online but most of them (the
ones I found) cover up till Django 1.6 and if you wanna use Django 1.7,
some things won't apply. For example, things like South is already
integrated into Django 1.7.
All the best :)
On Monday, 15 December 2014 05:49:5
from django.db import models
from django.contrib.auth.models import User
# CORE APPLICATION
# Create your models here.
class Member(models.Model):
user = models.OneToOneField(User)
description = models.CharField(max_length=250)
date_of_birth = models.DateField()
location = models.C
I've added 'core' to settings.py file under INSTALLED_APPS too.
On Monday, 15 December 2014 15:10:12 UTC+8, Shazwi Suwandi wrote:
>
> from django.db import models
> from django.contrib.auth.models import User
>
> # CORE APPLICATION
> # Create your models
roblem from the failures you should get.
> Best,
>
> David
>
> 2014-12-15 8:15 GMT+01:00 Shazwi Suwandi >:
>
> > I've added 'core' to settings.py file under INSTALLED_APPS too.
> >
> >
> > On Monday, 15 December
My bad! Apologies..
Thanks for the clarification :)
On Monday, 15 December 2014 17:06:44 UTC+8, Russell Keith-Magee wrote:
>
>
>
> On Mon, Dec 15, 2014 at 2:57 PM, Shazwi Suwandi > wrote:
>
>> +1 to what Jorge mentioned. You can find books online but most of them
>&g
apps in settings
> this should totally work. The default name for the table will be
> appname_modelname. Do you get an error when accessing the model? How are
> you checking the db for tables?
> On 15/12/2014 11:00 pm, "Shazwi Suwandi" >
> wrote:
>
>> Hey David,
>
Hey guys,
I figured it was a problem with the app I'm using for the db. I went to use
another app and now the tables are showing. Silly me. Thanks Mario and
David for your helpful advice. :)
On Tuesday, 16 December 2014 13:33:36 UTC+8, Shazwi Suwandi wrote:
>
> Hey Mario,
>
>
Do the demos on the main site work for any of you?
On Tuesday, 16 December 2014 12:22:06 UTC+8, Aaron Reabow wrote:
>
> the thing i am trying to figure out is how this works with my existing
> setup.
>
> I get that you need to install redis. but how does the rest of the stack
> change
>
> mine i
Hi group,
I'd like to get some guidance on how to go about thinking about the
structure of the web app I'm trying to build.
>From a high level perspective, I'm trying to make a web app that
facilitates a small business doing camera rentals.
To give a use case, if a user makes a rental booking
Michiel: Ah, that's myopic on my part. Both sides are important.
Jonas: I see I see. I keep thinking that libraries will make my life a bit
easier but maybe what I currently need now does not require the use of
them. And are you the author of
the article? (I'm assuming it's the same Jonas) Tha
15 matches
Mail list logo