Hi Everyone,
I m developiing a pastebin site for my LAN and i had follow all steps
of following site:
http://docs.djangoproject.com/en/dev/intro/tutorial01/
http://docs.djangoproject.com/en/dev/intro/tutorial02/#intro-tutorial02
But i m getting following Error after loading admin module in
set
Sub-module mean file like views.py or models.py
On Sun, 28 Aug 2022, 14:21 Paul serubombwe, wrote:
> Elaborate more bro, what do you mean by sub model
>
> On Sat, Aug 27, 2022, 23:56 देव Hingu wrote:
>
>> Please check here for my problem
>>
>> https://stackoverflow.com/questions/73499743/cant-
I guess it might be changed by postgres. Have you checked postgres
documentation ?
On Fri, 2 Sep 2022, 18:45 Manasvi Dobariya, wrote:
> I have default primary key in the model which is being referenced as
> foreign key in another model. Now, when I change this primary key type from
> AutoField t
Hi Markus, I was thinking same.
On Sat, 3 Sep 2022, 14:02 Markus Holtermann,
wrote:
> This is expected and by design. Because in the model where you define the
> foreign key, you also don't define its type. The type is automatically
> resolved through the column type from the target model.
>
> C
Follow this website https://www.cdrf.co/
It has all cheat sheet.
If you you want to implement login and signup please use either rest-auth
or dj-rest-auth package
On Fri, 25 Nov 2022, 22:39 M Adnan, wrote:
> Message in the group if no body will help than I will guide you in group I
> am in admin
You can include navigation base template code under djnago block and
in your template make that block empty.
example:
base.html
{% block navigation %}
some code
{% endblock navigtion%}
child.html
{% extends "base.html %}
{% block navigation %}{% endblock navigation %}
-Devang.
On 8/
R VIEW FUNCTION THAT REDIRECT TO
DOWNLOAD URL))):
return HttpResponseRedirect(reverse(YOUR VIEW FUNCTION THAT
REDIRECT TO DOWNLOAD URL))
elif (request.method == 'POST'):
-Devang.
On 8/29/09, orschiro wrote:
>
> Hello guys,
>
> I've set up a Single-P
I am getting the same error on Django v1.8.2 after migrating from v1.7.7
The underlying error is this-
django.db.utils.IntegrityError: null value in column "name" violates not-
> null constraint
> DETAIL: Failing row contains (39, null, app_name, model_name).
>
>
On Friday, April 17, 2015 at 1:25
me) is being
> marked as applied but not actually run in the database, that will help
> determine if this is a bug in Django or a problem elsewhere.
>
>
> On Wednesday, June 10, 2015 at 7:11:48 AM UTC-4, Devang Mundhra wrote:
>>
>> I am getting the same error on Django v
).
>
>
> Where app is the django app name and listing is the model name. So that
> sounds to me like I'm seeing what everyone else is, the migration is just
> not applied on the database for some reason, but shows as being applied OK.
>
> // Chris
>
>
> On Wednesda
10 matches
Mail list logo