10 Solved Topics

Remove Filter
Member Avatar for
Member Avatar for massivefermion

I want to associate a REST API end point to two urls, "manager" and "manager/". So I added two path entries in the urlpatterns with these urls. But it seems something that can be handled with some kind of configuration. Is there such a configuration with django? thanks

Member Avatar for rproffitt
0
328
Member Avatar for lewashby

[Linux Mint] Linux Mint I'm following a book on Django and it has this -> https://hellowebapp.com/setup/ accompanying website. Take a look below at what I'm getting when I get to the "Start your Django project" section of the link. Here's a peak at my terminal input and feedback. (venv) user@mothership …

Member Avatar for lewashby
0
544
Member Avatar for Niloofar24

Hello. With running this command: `python manage.py validate` I faced with this error: `Unknown command: 'validate'` What should I do now? For more explanations: - Linux - Virtualenv - Python 3.4.3+ - Django (1, 9, 2, 'final', 0)

Member Avatar for Niloofar24
0
314
Member Avatar for NightOwl19

Heya guys, i've been learning python for few weeks now and it's one of the best decisions i have made in my life so far..it's quite an interesting language and very helpful for beginners, i must say..now i tried to do some tickling with django and somehow managed to install …

Member Avatar for Manjunath_3
0
360
Member Avatar for MasterHacker110

I'm trying to write a search enigne. Nothing fancy like google or so, just a simple one for educational purposes. I have done a little research and I know that Google uses Python, Java and C++. I on the other hand know C++, PHP, some Java and C# and even …

Member Avatar for kindo
0
243
Member Avatar for WHchaz1027

Hello Guys, Good Day. I have this kind of error `OperationalError: no such table: table_name` when I make a query like `modelname.objects.all()` in **manage.py shell**. But I already did the ff: 1. settings.py > Databases > django.db.backends.postgresql_psycopg2 DATABASES = { 'default': { 'ENGINE': 'django.db.backends.sqlite3', 'NAME': os.path.join(BASE_DIR, 'db.sqlite3'), }, 'db_foo': { …

Member Avatar for WHchaz1027
0
692
Member Avatar for amweasel

If I make a website using Django, is there any need to use Javascript? Can Django work in place of Javascript itself?

Member Avatar for amweasel
0
279
Member Avatar for 4evrmrepylrning

I have been asked to look into getting a web framework up and running here at work. I come from a PHP background and have developed a few tools various people use around the office. I have recently become part of a small team of developers who only use Python, …

0
110
Member Avatar for ste_a47

[CODE]class InspectionGroup(models.Model): group = models.CharField(max_length=50) class InspectionItem(models.Model): group = models.ForeignKey(InspectionGroup) item = models.CharField(max_length=50) class InspectionQuestion(models.Model): item = models.ForeignKey(InspectionItem) question = models.CharField(max_length=200) question_pass = models.BooleanField() class InspectionResult(models.Model): question = models.ForeignKey(InspectionQuestion) vehicle = models.ForeignKey(Vehicle) result = models.BooleanField() submitted_by = models.ForeignKey(User, editable=False) date_time_submitted = models.DateTimeField(default=datetime.today, editable=False)[/CODE] From the above structure, I'd like to …

Member Avatar for ste_a47
0
188
Member Avatar for Kruptein

I do php coding for some time and want to learn something new. After some researsh I ended up with 2 languages/frameworks but I can't choose between them. I'm a python programmer so python Django might be easier to start with. But I don't know a well-known website which is …

Member Avatar for Kruptein
0
514

The End.