Django 对我来说是最好的解决方案吗,如果是的话请帮助我

发布于 2024-08-24 17:57:51 字数 924 浏览 2 评论 0原文

将简单的数据驱动的“应用程序”迁移(+-)到为我完成大部分工作(如表单、添加、删除)的框架的最简单(也是最快)的方法是什么。

我有一个简单的 Excel 2003 用于库存管理。

非常简单,3 个表:

  • 1 用于产品的 **信息 **。

  • 1 包含产品代码移动类型(IN 或 OUT)、数量由谁< /p>

  • < p>1 包含产品代码和该产品的实际库存

    (我知道它可以更优化......但我认为这不值得)

我正在考虑使用 DJANGO,但我对此事没有太多背景(有没有办法自动化该过程??)。

Django 更适合我吗?或者PINAX(如果是PINAX,什么应用程序??)

Ps,这只能在局域网中使用,而不能在网络中使用。

Evolution:

我尝试安装 InstantDjango,但收到此错误:

回溯(最近一次调用最后一次):
文件 “C:\ django \ Python26 \ Lib \ site-packages \ django \ bin \ django-admin.py”,第1行4,在 从 django.core 导入管理 ImportError:没有命名的模块 django.core

如果有人知道如何解决这个问题......

What is the easiest (and fastest) way to migrate (+-) a simple data driven "app" to a Framework that does most of the work for me (like forms, add , remove).

What I have is a simple Excel 2003 for Stock managemment.

Quite simple, 3 tables:

  • 1 for **Information **on the product.

  • 1 with product code, type of movemment (IN ou OUT), quantity and by who

  • 1 with product code and the actual STOCK on that product

    (I know it could be more optmised.... but I don't think it's worth it)

I was think about using DJANGO, but I don't have a lot of background on the matter(are there ways automate the process??).

Is Django better for me? Or maybe PINAX(if PINAX, what apps ?? )

P.s this will only be available in a LAN, not the web.

Evolution:

I tried to install InstantDjango, but I get this error:

Traceback (most recent call last):
File
"C:\django\Python26\Lib\site-packages\django\bin\django-admin.py", line 1 4, in
from django.core import management ImportError: No module named
django.core

If anyone knows how to solve this....

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

情定在深秋 2024-08-31 17:57:51

我认为 django 非常适合这个。该文档非常好,这对学习它有巨大的推动作用。 Django 有一个几乎自动的管理界面,它可以完成您想要的大部分操作。

除了管理界面之外,Django 不会为您“做这些工作”,但它使它变得异常简单。您可能必须定义您的表单,但它确实能够根据您的模型(表)创建表单。

我短暂尝试过 Pinax,但它不太适合我的项目。我认为这可能会给你的小项目增加比你想要的更多的复杂性。其他人可能对 Pinax 的使用有更多的了解。

昨晚我试图在 Windows 上安装 Django,但没有成功。所以我不能帮你。

I think django would be great for this. The documentation is very good which is a huge boost in trying to learn it. Django has an almost-auto admin interface which may do most of what you want.

Other than the admin interface Django doesn't "do the work" for you, but it makes it incredibly simple. You may have to define your forms, but it does have the ability to create forms based on your models(tables).

I tried Pinax briefly but it wasn't quite right for my project. I think it may add more complexity than you want for your small project. Others might have more insight into using Pinax.

I was trying to get django setup on windows last night with no luck. So I can't help you there.

稀香 2024-08-31 17:57:51

设置一个简单的 DJango 服务器相对容易,并且文档丰富。如果您熟悉 PYthon(即使您不熟悉),那么应该不需要花费大量的精力来完成某些事情。如果您想学习或了解 DJango 的易用性,The Django Book 是一个很好的资源。

我没有使用 PINAX 的经验,但根据我的经验,DJango 绝对是一个很好的解决方案。

Setting up a simple DJango server is relatively easy and well documented. If you're familiar with PYthon (and even if you're not) it shouldn't take a huge amount of effort to get something going. The Django Book is an excellent resource if you want to learn or get a glimpse of how easy DJango is to use.

I've no experience with PINAX, but DJango is definitely a good solution in my experience.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文