super thanks! i hoped for that answer!
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to django-users+unsubscr...@googlegroups.com.
To post to this group, send
Hello,
I have a sqlite db that already holds important production data.
Well same time I am developing that application adding functions while I need
them.
Well I know not exactly best practice.
Now I need to add two fields to a model (boolean and char),
I want to makemigrations, git add, git
only be populated from a POST.
>
> So you would do:
> if request.method=='DELETE':
> MyModel.objects.get(id=request.GET['id']).delete()
>
> (assuming, based on your code, that your client software is genuinely
> doing an HTTP DELETE request and that you have an id in the que
well the answer is "no" yes?:
On Jun 14, 11:48 am, kalinski <kalin...@amei.se> wrote:
> Hi Djangos,
>
> is this working like expected with recent django version:?
>
> def myview(request):
> if request.is_ajax:
> if request.DELETE #or alt
and for example hidden form fields?
thanks
kalinski
--
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 from this group, send email to
django-users+unsubscr...@google
o
On Jun 2, 8:34 pm, kalinski <kalin...@amei.se> wrote:
> Hi Djangos,
>
> i am attaching a UserProfile to my Users
> by using a post_save signal:
>
> class UserProfile(models.Model):
> user = models.ForeignKey(User, unique=True)
> address = models.ForeignKey(Addr
is there another way of creating UserProfiles this way without having
to
fill them with infos already?
mange tak
kalinski
--
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...@google
hi djangos,
i switched from symfony to django :)
its fun, thanks!
but i am stuck with my database/model design.
now it gets OT (sorry)
but i need an opinion on how to design
a typical order process:
class Order(models.Model):
user = models.ForeignKey(User, verbose_name=_("Customer"),
8 matches
Mail list logo