NVM i read loaddata documentation
Le vendredi 9 décembre 2016 19:49:50 UTC-5, Sylvain Dégué a écrit :
>
> Thanks guy!!But how do I reload the my previous data to the new database
> if the model changed??
>
> Le vendredi 9 décembre 2016 13:39:50 UTC-5, Sylvain Dégué a écrit :
>>
>> Im about to lau
Thanks guy!!But how do I reload the my previous data to the new database if
the model changed??
Le vendredi 9 décembre 2016 13:39:50 UTC-5, Sylvain Dégué a écrit :
>
> Im about to lauch a project that uses django for the api. So im only using
> the admin side for now. Ive been having problem con
I need 4 forms to: sign up for an event (1), un-sign up for an event (2),
type in a passcode to manage an event (3) which then shows a modal box that
allows that person to check in everyone that shows up at the event (4). I'm
using a (ListView, FormView) to allow looping through the numerous e
(My English is not so good so I'll just try to be simple, sorry guys)
So I have a model TopList which has a slug field so I can look up its
object by slug.
class TopList(models.Model):
name = models.CharField(max_length=200)
slug = models.SlugField(max_length=200, default='')
def __
I'm building a Django server for data collection. However, the program
seems not capable when the sensing network expands. As time goes on, the
program doesn't even enter the code piece and report broken pipe/connection
reset by peer/too many open files errors:
Exception happened during proce
I have created a simple page a sort of announcement and I doubt that I put
my text smart enogh. Would love to hear comment of more experienced users.
Where are several blocks of text. One of it I've put directly into html
template (using "p" tag for each line). For another one (a list) I have
c
Missing comma on you urlpatterns
urlpatterns = [
url(r'^polls/', include('polls.urls'))* ,*
url(r'^admin/', admin.site.urls),
]
On Fri, Dec 9, 2016 at 4:10 PM, shah wrote:
> Hi, I am facing the same issue with the tutorial.
>
> I have got my program correct. But after running the se
Hi, I am facing the same issue with the tutorial.
I have got my program correct. But after running the sever. It shows an
error on chrome.
Page not found (404)
Request Method: GET
Request URL: http://localhost:8000/polls/
Using the URLconf defined in mysite.urls, Django tried these URL patterns
Hello Sylvain,
I think you have two concerns here,
On Friday, December 9, 2016 at 1:39:50 PM UTC-5, Sylvain Dégué wrote:
> SO im thinking about reset completly my production database and remove all
> the migrations to start fresh. I dont have much data in the production
> database so its proba
If you made any of your customizations to the migrations files, then you will
lose that information.
You may want to consider using Django’s dumpdata management command to save all
the data on your production database (and loaddata to restore it).
https://docs.djangoproject.com/en/1.10/ref/djang
Im about to lauch a project that uses django for the api. So im only using
the admin side for now. Ive been having problem concerning the database and
forms.
Ive made many mistake while updating the database, when certain field
didnt allow null. It caused IntegrityError, which I was able to fix
Hello guys, we are currently looking for a way to migrate our previous
django application to a full multi-tenant application, currently the way
we are handling our client is by giving each client a docker container and
using nginx to do the routing, through sub-domain mapping. But after
resea
I have an app that is deployed at 15 sites and has been running for 6
years. All these deployments are with django 1.5, python 2.6, CentOS6,
and apache, and they all work perfectly. I just deployed the app at a
new site, but this one is django 1.9, python 2.7, CentOS7, and
nginx/uwsgi. Only at this
Sure, if translations are contributed by the community. Turkish is
currently at 2%. The language is typically added to docs.djangoproject.com
when the translations for the intro materials are completed.
https://www.transifex.com/django/django-docs/
On Friday, December 9, 2016 at 7:05:38 AM UTC-
Hello,
on django 1.8.17 i'm trying to convert a model Format away from inheriting
from a concrete model DryModel and i get this running a migration that adds
the id field:
django.core.exceptions.FieldError: Local field u'id' in class 'Format'
clashes with field of similar name from base class
*Will there be a Turkish translation for Django? It becomes difficult to
learn a new language and programming language. Thanks.*
--
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, s
16 matches
Mail list logo