Hi!
In our project, we have south 0.7.3 and django 1.2.5. After updating
django, to version 1.2.7 I have got strange south migration, with
equal backwards and forwards content.
Models and migrations listed here: https://gist.github.com/2069316
Can anyone describe, why did it happend? Thanks!
--
Andrew Godwin answered for this question in South mailing-list:
http://groups.google.com/group/south-users/t/e0f228eb09a11ec9
2012/3/18 shiva :
> Hi!
>
> In our project, we have south 0.7.3 and django 1.2.5. After updating
> django, to version 1.2.7 I have got strange south mig
Hello!
In our apps (that use Django 1.2.7) we use following models:
class BaseRegistration(models.Model):
exhibition = models.ForeignKey(...)
year = models.IntegerField(...)
user = models.ForeignKey('auth.User')
class BarcodeRegistration(BaseRegistration):
class M
Jani, thank you.
2012/4/4 Jani Tiainen :
> Hi,
>
> You'ew hitting limitation of Django ORM which prohibits overriding fields.
>
> https://docs.djangoproject.com/en/1.3/topics/db/models/#field-name-hiding-is-not-permitted
>
>
> 4.4.2012 6:34, shiva kirjoitti:
>
&
I recently updgraded to django 1.3. After the upgrade, I get the
following error whenever I used request.POST:
Traceback (most recent call last):
File "/usr/lib/python2.4/site-packages/django/core/handlers/base.py",
line 86, in get_response
response = None
File "/public/gdp/trunk/src/ukl/lis/pr
Hello I am new in Django users group. I am using Django and faching a
problem when i do any changes in existing models after run makemigrations.
This is problem :-It is impossible to add a non-nullable field 'logo' to
jobdetails without specifying a default. This is because the database needs
Thank You everyone for help me
On Friday, September 16, 2022 at 4:25:44 AM UTC+5:30 fortu...@gmail.com
wrote:
> In the new added field “logo” set default = None or specify a default
> value
>
> On Thu, Sep 15, 2022 at 8:38 PM shiva singh
> wrote:
>
>> Hello I am n
Hi everyone
anyone give solution for this problem:
AttributeError: 'SessionStore' object has no attribute 'id'
[16/Sep/2022 19:28:16] "POST /jobpostsubmit/ HTTP/1.1" 500 66025
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from
hello everyone please help me how can solve this problem:-[image:
image.jpeg]
--
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...@googlegr
hello everyone please help how can solve this problem?
this is session code:-
if user.password==password and user.role=="Company":
com=Company.objects.get(user_id=user)
request.session['id']=user.id
request.session['role']=user.role
t; On 20/09/2022 08.21, shiva singh wrote:
> > hello everyone please help how can solve this problem?
> >
>
> I suggest you ignore all the replies you've already gotten and then post
> the exact same question a third time.
>
> Kind regards,
> Kasper Laudrup
>
hello Everyone can anyone give a idea to how can send multistape form data
into data base with validation
--
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 djang
shortcut and a convenient popup that lists commonly
entered times." But i am not getting these Pop-up ,so i am unable to change
the date .
Please Suggest Something .
Thank you,
-Shiva
--
You received this message because you are subscribed to the Google Groups
"Dja
I have a model with two fields as below
**models.py**
class Publisher(models.Model):
name = models.CharField(max_length=200)
slug = models.SlugField(max_length=150, unique=True)
def save(self, *args, **kwargs):
if not self.id and not self.slug:
I have an django and i am trying to store an object in django session
varaible, and trying to access that in the redirected view, but its showing
`keyerror` as below
def payment(request):
if request.method == 'POST':
form = CardForm(request.POST)
if form.is_v
As i am new to django i dont know about pop-up forms.
can you give an overview of it please.
On Tue, Jan 8, 2019 at 7:34 PM DrTen wrote:
> Hi Did you ever solved this issue, its 2019 and I still can't find a
> working solution.
>
> On Monday, October 9, 2006 at 3:31:19 PM UTC-5, hernan43 wrote:
can you explain it indetail
On Wed, Jan 9, 2019 at 7:18 PM Stodge wrote:
> Is there a way to get the maximum value that an ID can be for a model that
> uses AutoField for its primary key? For example, in PostgreSQL I could do:
>
> SELECT maximum_value FROM information_schema.sequences WHERE
> s
Can you explain what are django translation
On Thu 10 Jan, 2019 11:59 pm Ashutosh Das I am using django 2.1 , here is all the settings related to translation:
>
>
> MIDDLEWARE = [
> 'corsheaders.middleware.CorsMiddleware',
> 'django.middleware.security.SecurityMiddleware',
> 'django.c
Can you put your project file structure.
On Fri 11 Jan, 2019 5:46 pm NAveeN Kumar Reddy <
knaveenkumarredd...@gmail.com wrote:
> Check the link before pattern in path function
>
> On Fri 11 Jan, 2019, 4:43 PM tribhuvan kishor <
> tribhuvankishor...@gmail.com wrote:
>
>> URL
>> path('//',views.po
once post your setting.py file content . i will try to figure it out.
On Sat, Jan 12, 2019 at 11:16 AM tribhuvan kishor <
tribhuvankishor...@gmail.com> wrote:
> this is my directory structure
>
> On Fri, Jan 11, 2019 at 9:19 PM Martin K wrote:
>
>> TEMplate DIrectory
>>> PROJECT/APP/template/bl
jango.db.backends.mysql',
>> 'HOST': 'localhost',
>> 'PORT':'3306',
>> 'USER': 'root',
>> 'PASSWORD': 'root',
>> }
>> }
>>
Can you tell which os ur using.
On Fri 18 Jan, 2019 12:48 am Django Geek Aditya Shell Output after entering command is
> PS E:\todo> . \Scripts\activate
> . : The term '\Scripts\activate' is not recognized as the name of a
> cmdlet, function, script file, or operable
> program. Check the spelling
I think you want to load the data from view to html using jQuery.
I hope ajax concepts will used. Once try it.
On Tue 22 Jan, 2019 6:13 pm Ricardo Cataldi Hy guys, you all right?
>
> I have a problem that it seems not to be any answer in Stack Overflow.
>
> I need to load three views inside a te
-- Forwarded message -
From: shiva kumar
Date: Tue 29 Jan, 2019 11:21 pm
Subject: data sharing with multiple clients by server simultaneously
To:
Hi guys. I have a doubt regrading communication b\w client and server.
consider an example there are 20 clients continuously
Can anyone explain to which applications asyncio used for.
--
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
getting error saying page not found when using re_path for defining our own
url pattern.
re_path(r'^home/(?p[0-9]{4})/$',views.home1),
this was how i used the function and it showing error at ?p.
is there any mistake suggest a solution.
--
You received this message because you are subscribed
og/')
else :
form=loginform()
form1=modelform()
return render(request,'login.html',{'form':form,'form1':form1})
def hidemehtml(request):
print("shiva")
return render(request,'index.html',{})
model file
from djang
Try this
Replace 'input_'.a with
'input_'+str(a)
I think it will work
On Mon 26 Nov, 2018 9:43 pm Thibaud MONTAGNON Hi,
>
> I got 3 differents input named input_1, input_2, input_3 and I want to
> make a loop to put them in the ddb.
>
> I try to use this code but it dosent work...
>
> row=[
i am defining my own custom user model using AbstractBaseUser class and
BaseUserManager class.
and i got no error when doing 'python manage.py makemigrations'
but it is showing that db not created while running 'python manage.py
migrate' .
Any suggestions?
--
You received this message because y
Can you explain what ur problem briefly.
On Tue 27 Nov, 2018 8:54 am Mike Dewhirst In the Admin I would like to provide the user with checkboxes against a
> list of options not stored in the database.
>
> Specifically, I want to retrieve a comma separated list of integers from a
> model field cho
import polls in mysite/mysite/urls.py
i think it will work
On Tue, Nov 27, 2018 at 3:00 PM Sanjay Malviya wrote:
> What modification to codes required, pls in project
> mysite/mysite/polls(app)
> polls/views.py
> from django.http import httpresponse
> def index(request):
> return httprespo
I am new to django and i am learning it slowly. I worked on forms but i
have one doubt,
what forms.FORM indicate.
i know we are inheriting forms in to our class but i dont understand
specifically what it is. how FORM will be used
could anyone please explain what it is
--
You received this me
I have one doubt regarding django. That, can we use ml concepts and
packages in django as our backend technology
That is by using ml concepts like numpy, tensor flow can we make data
present in database more functional to use like predictions etc.
Any suggestions will be helpful.that makes me some
Use
in place of number
An add extra parameter in views which u will relate this to
On Thu 6 Dec, 2018 2:18 am Sourajit Mohanty I want to extract the number from this url 'music/6/newsongs/' so that I
> can use that number to redirect it to another page..
> How can I do that??
>
> --
> You rec
Yes static files need a url path. But that path should be mentioned in
setting.py file. That makes django, when there is use of css or js files it
refers to that path
On Tue 11 Dec, 2018 4:32 am I am using the documentation to learn Django. When I started creating
> static files, I started to get
Once post ur forms.py file. Check views and url files. There are errrors
On Tue 11 Dec, 2018 7:55 pm Tosin Ayoola getting this error when i click on a new link i just added please can
> anyone help out below is my codes, views, url
>
>
> ##url
>
> from django.urls import path
> from . import view
Hai guys, I am getting error when installing channels using pip.
These is the error ' need Microsoft visual c++ 14.0'
Can anyone suggest how to download and get it done. I tried to do it. I am
unable to understand how to do and what to do.
Pls respond to my issue.
--
You received this message
I think use inline div elements in place of block. Block elements makes u
to start elements in next line.
On Thu 3 Jan, 2019 7:41 pm valentin jungbluth I used UploadField so I just have to use
> {{ object.fieldname.url }}
>
> and it works.
>
> But my question is : How I can gather all documents a
Hello
I am currently working on a microservices project using Django and have
encountered an issue.
i am facing issue when create microservice project using django i am
created 2 difrent django project in one common folder and one project name
is authentication and second project name is repairm
> *sunnexaj...@gmail.com *
>
>
>
> On Mon, Oct 14, 2024 at 1:18 AM Konstantinos Dimitropoulos <
> cdemetropou...@gmail.com> wrote:
>
>> Hello, why don't you create a project with two apps? Authenticate and
>> repaire
>>
>> Le ven. 11 oct. 2024,
unnexaj...@gmail.com *
>>
>>
>>
>> On Mon, Oct 14, 2024 at 1:18 AM Konstantinos Dimitropoulos <
>> cdemetropou...@gmail.com> wrote:
>>
>>> Hello, why don't you create a project with two apps? Authenticate and
>>> repaire
>>>
>>
2.mention custom apps in settings.py file in installed apps
>> 3.try like
>> from authenticate.models import #modelnames
>>
>> On Fri, Oct 11, 2024, 14:31 shiva singh wrote:
>>
>>> Hello
>>> I am currently working on a microservices project using
.gmail.com.
Shiva Singh -1.pdf
Description: Adobe PDF document
Interested. My WhatsApp number is 8309025511
On Wed, Feb 21, 2024 at 6:33 PM yavoucko lye wrote:
> interesting. My number is +221778399425
>
> On Sun, Feb 18, 2024 at 5:48 PM SURAJ TIWARI
> wrote:
>
>> 🚀 Join Our Django WhatsApp Bulk Messaging Project!
>>
>> 👋 Hello everyone,
>>
>> Are you look
STATIC_URL = '/static/' if not DEBUG: STATIC_ROOT = '/home/django/www-data/
example.com/static/' STATICFILES_DIRS = [ os.path.join(BASE_DIR, 'static/'),
]
Try this I Collected it from Django Documentation.
On Thu, Feb 29, 2024 at 11:54 AM Ram wrote:
> Hi,
>
> We are able to deploy our pre-produc
45 matches
Mail list logo