hi Yasar,
create_dic_of_searchterm = {'searchabletext_id':1,'term':'this'}
SearchTerm.objects.create(**create_dic_of_searchterm)
you can do like above
On Sat, Oct 29, 2016 at 9:33 PM, Yaşar Arabacı wrote:
> Hi,
>
> I am trying to migrate my mysql application into django orm. I need help
> co
try to to get all the checked objects using getlist from request store it
in a textfield.this is better when you have 20 check boxes then code become
too complex and messy
On Sun, Oct 30, 2016 at 10:55 AM, M Hashmi wrote:
> Form ModelForm if you need to check a single field then you set it as
>
Hi,
Please I need an advice on the best approach to take on the following
issues.
I have create a form to save user details like first name,last
name,email,mobile number etc...
1.Now I need to show error message (In Models i gave email and mobile no
field as unique = True) when user enter a email
gt; success message that will get added to whatever page you're redirecting to
> (as long as you make sure your template is rendering messages) ->
> https://docs.djangoproject.com/en/1.10/ref/contrib/
> messages/#adding-a-message
>
> On Mon, Oct 31, 2016 at 1:55 AM, pradam prog
and send a
> reply with yes or no.
>
> 2016-11-01 3:30 GMT+01:00 pradam programming >:
> > Thank you sir for the reply..
> > But I am using HTML forms then what should I do...? I want error message
> > should display instantly when user enter existing mail id..!
hi,
I am new to SqlAchemy.My questions are as follows:
1.When i write tables in sql achemy format i can't able to do
makemigrations and migrate..?
2.In SqlAchemy Explicitly i need to specify database whenever i do CRUD
operations ?
3.Whats the main advantage over SQLAchemy vs Django OMR.?
--
You
Hi Guys,
Please I need an advice on the best approach to take on the following
issues.
How can i Implement Swagger for CBV and FBV in rest framework ...?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop r
Hi Tom,
I have Implemented Swagger for CBV but i dont know how to do it for FBV..?
Please Help me out..!!
On Mon, Nov 7, 2016 at 4:14 PM, Tom Christie wrote:
> https://github.com/marcgibbons/django-rest-swagger
>
>
> On Saturday, 5 November 2016 16:17:10 UTC, pradam.programming wrote:
>>
>> Hi G
hi Guys,
1.I have Created an API which store images into database just giving image
path but issue is when i remotely upload image using API i will get the
following error show no such file or Directory eg:
[
{'name':'foo','date':'2016-11-21','organization_name':'buzz','description':'Abhilash','im
gt; 2016-11-21 14:09 GMT+01:00 pradam programming <
> pradam.programm...@gmail.com>:
> > hi Guys,
> > 1.I have Created an API which store images into database just giving
> image
> > path but issue is when i remotely upload image using API i will get the
> &
e an error, like no such file, django should
> print a stacktrace in the log. It's a list of all the function that
> django called before getting the error. That help a lot when dealing
> with error.
>
> 2016-11-22 12:15 GMT+01:00 pradam programming <
> pradam.progra
Hi,
Please refer this link.
http://stackoverflow.com/questions/34473323/typeerror-int-argument-must-be-a-string-a-bytes-like-object-or-a-number-not
On 23 Nov 2016 9:55 pm, "adonis simo" wrote:
> Thanks for looking
> This is the whole stack trace :
> Operations to perform:
> Apply all migration
hi Hogstad,
Before doing app migrate please python manage.py migrate auth ==>I hope
this will solve the issue
On Thu, Nov 24, 2016 at 3:54 PM, odd hogstad
wrote:
> I have two databases in my project, db1, which changes quite frequently,
> and db2, which seldom changes. The app was original writt
Yes do the same.
On Thu, Nov 24, 2016 at 11:16 PM, odd hogstad
wrote:
> db1 holds the auth stuff already. Do I need to also have it in db2 for the
> migrations to work?
>
> torsdag 24. november 2016 12.22.14 UTC+1 skrev pradam.programming følgende:
>>
>> hi Hogstad,
>> Before doing app migrate p
Hi,
1.Check any other file in directory by same name.
2.check __init__.py file is their in Root Project folder..
On 4 Dec 2016 8:04 pm, wrote:
> I started a new project in Django today (actually my first django
> project). Strangely when I run python manage.py runserver it does
> absolutely noth
15 matches
Mail list logo