Dear all.
I got some very important suggestions from members of this list on using
Django for an accounting and inventory system, including Point of Sale.
After the POS topic was discussed,
OUr team decided to write a RESTfull server with all the business logic
in API.
We plan to do this using
Hello,
I have my ModelForm... and I need to filter my products with Current User..
if a change my modelform init, doesn't show me any error, but when I use
in my inlineformset, show me on error..
Here is my code:
View:
ofertasinlineformset = inlineformset_factory(Assinatura, Ofertas,
form=Ofe
The "create" method (as in Question.objects.create) saves the object to the
database
On Thu, Oct 15, 2015 at 6:08 AM, Shun Liang
wrote:
> Dear All,
>
> In the 5th part of the Django Tutorial (
> https://docs.djangoproject.com/en/1.8/intro/tutorial05/#testing-our-new-view
> ), there is a helper f
>
> I solved it myself... looks like I forgot to create the initial migrations
> for the app. After running
>
python manage.py makemigrations club300
python manage.py migrate --fake-initial
python manage.py test club300
appears to work fine. Sorry for the noise & thanks for your help!
Uwe
-
Dear All,
In the 5th part of the Django Tutorial (
https://docs.djangoproject.com/en/1.8/intro/tutorial05/#testing-our-new-view
), there is a helper function "create_question" in polls/test,py, which
creates a question instance and returns it. However the created question
instance does not see
Here's some more info in case it helps:
The "manage.py test" call seems to get as far as creating the table
"django_migrations", then things break. The production DB has several more
tables (25 in all) I'm not seeing in the output below, so I guess this
issue must be related to the migrations
>
> Hi Mike,
>
thanks for your quick reply.
I tried deleting the test database, but that didn't help either (actually I
tried this several times before I posted here, I even set up a "fresh"
production database on my test machine and re-imported the live data in
order to solve the problem).
Hi,
Your table myauth_myuser is used to store your users. But Django create
additional custom tables for groups and user_permissions related to the custom
user model and which are useless and I don't uderrstand why. If somebody have
an explanation or could tell me how to avoid the creation of t
8 matches
Mail list logo